fix skit2

This commit is contained in:
hafifierahman
2021-09-27 22:14:29 +08:00
parent f7d2430246
commit 2e41e124e4
4 changed files with 28 additions and 12 deletions
+10 -6
View File
@@ -2837,7 +2837,7 @@ class KhazanahController extends Controller
foreach($gadai as $index1=>$gad)
$customers = Http::get(config('api.url').'/api/customers/'.$gad[0]['nokp'])->json();
$kodnegeridandaerah = $request->negeriagh .'|' . $request->daerahagh;
// $kodnegeridandaerah = $request->negeriagh .'|' . $request->daerahagh;
$polis = Http::get(config('api.url').'/api/polis/get/',['norujukan' => $request->norujukanhidden,'kodcaw' => $auth_user['cawangan']])->json();
@@ -2852,10 +2852,12 @@ class KhazanahController extends Controller
'kodcaw' =>$auth_user['cawangan'],
'norujukan' => $request->norujukanhidden,
'komen1' => $request->alasan,
'komen2' => $kodnegeridandaerah,
'komen2' => 'Surat Dijana',
'tebus' => 0,
'teller' => $auth_user['name'],
'caj' => 0.00
'caj' => 0.00,
'kodnegeri' => $request->negeriagh,
'koddaerah' => $request->daerahagh
]);
@@ -2892,7 +2894,7 @@ class KhazanahController extends Controller
foreach($gadai as $index1=>$gad)
$customers = Http::get(config('api.url').'/api/customers/'.$gad[0]['nokp'])->json();
$kodnegeridandaerah = $request->negeriagh .'|' . $request->daerahagh;
// $kodnegeridandaerah = $request->negeriagh .'|' . $request->daerahagh;
$polis = Http::get(config('api.url').'/api/polis/get/',['norujukan' => $request->norujukanhidden,'kodcaw' => $auth_user['cawangan']])->json();
@@ -2903,8 +2905,10 @@ class KhazanahController extends Controller
'kodcaw' =>$auth_user['cawangan'],
'norujukan' => $request->norujukanhidden,
'komen1' => $request->alasan,
'komen2' => $kodnegeridandaerah,
'teller' => $auth_user['name']
'komen2' => 'Surat dikemaskini',
'teller' => $auth_user['name'],
'kodnegeri' => $request->negeriagh,
'koddaerah' => $request->daerahagh
]);