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:
Daeng Deni Mardaeni
2024-11-04 17:04:44 +07:00
parent e8ff13ce6a
commit 19ad8fad76
3 changed files with 46 additions and 51 deletions

View File

@@ -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();