Commit ceaed4fa by irul

update

1 parent f6698e2f
......@@ -25,7 +25,7 @@ class SamsatBantenNew
if (empty($token) || empty($nopol) || empty($kdpolda)) {
self::echo_text('Paramater harus lengkap dan diisi semua.');
} else if (!count($arr_nopol) || (count($arr_nopol) && !in_array($nopol, $arr_nopol))) {
} else if (count($arr_nopol) && !in_array($nopol, $arr_nopol)) {
self::echo_text('Data tidak ditemukan.');
} else {
$params = compact("token", "nopol", "kdpolda");
......@@ -74,7 +74,7 @@ class SamsatBantenNew
'jenis_kb' => '702',
'merek_kb' => 'VIAR',
'tipe_kb' => 'V 10 R',
'warna_kb' => $faker->randomElement(array('MERAH', 'KUNING', 'ABU-ABU', 'HIJAU', 'BIRU', 'HITAM')), ,
'warna_kb' => $faker->randomElement(array('MERAH', 'KUNING', 'ABU-ABU', 'HIJAU', 'BIRU', 'HITAM')),
'tahun_buatan' => '2019',
'no_rangka' => 'MGRVR10TAKL002430',
'no_mesin' => 'YX151FMG19002063',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!