Update penawaran status to 'proposal-tender'
Changed the status filter from 'persetujuan-penawaran' to 'proposal-tender' in multiple controllers, ensuring consistency in status management throughout the application. Also corrected some trailing whitespaces and improved code readability.
This commit is contained in:
@@ -267,20 +267,15 @@ class ProsesPenawaranController extends Controller
|
||||
{
|
||||
DB::beginTransaction();
|
||||
try {
|
||||
$dataPenawaran = ['status' => 'persetujuan-penawaran',
|
||||
'updated_by' => Auth::id(),
|
||||
'updated_at' => now()
|
||||
];
|
||||
|
||||
$dataPermohonan = ['status' => 'persetujuan-penawaran',
|
||||
$_updatestatus = ['status' => 'proposal-tender',
|
||||
'updated_by' => Auth::id(),
|
||||
'updated_at' => now()
|
||||
];
|
||||
|
||||
$permohonan = Permohonan::where('nomor_registrasi','=', $penawaran->nomor_registrasi)->first();
|
||||
|
||||
$penawaran->update($dataPenawaran);
|
||||
$permohonan->update($dataPermohonan);
|
||||
$penawaran->update($_updatestatus);
|
||||
$permohonan->update($_updatestatus);
|
||||
|
||||
DB::commit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user