Memperbaiki redirect ke halaman otorisasi penawaran ketika status nay bukan tender
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user