Memperbaiki redirect ke halaman otorisasi penawaran ketika status nay bukan tender

This commit is contained in:
2024-12-06 14:35:07 +07:00
committed by Daeng Deni Mardaeni
parent bc8e618bda
commit a52c4a1bbd
28 changed files with 965 additions and 360 deletions

View File

@@ -12,15 +12,13 @@ class NilaiPlatformSeeder extends Seeder
*/
public function run(): void
{
NilaiPlafond::insert([
$nilai_platfond = [
[
'code' => 'NP001',
'name' => '5 M - 10 M',
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
'created_by' => 1,
'updated_by' => 1
],
[
'code' => 'NP002',
@@ -28,8 +26,6 @@ class NilaiPlatformSeeder extends Seeder
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
'created_by' => 1,
'updated_by' => 1
],
[
'code' => 'NP003',
@@ -37,9 +33,18 @@ class NilaiPlatformSeeder extends Seeder
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
'created_by' => 1,
'updated_by' => 1
],
[
'code' => 'NP004',
'name' => '> 10 M',
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
]
]);
];
foreach ($nilai_platfond as $np) {
NilaiPlafond::insert($np);
}
}
}