fixing deletependser and mohon

This commit is contained in:
hafifierahman
2021-10-02 09:54:31 +08:00
parent 2e41e124e4
commit 0ed748a0cc
13 changed files with 421 additions and 124 deletions
+4 -3
View File
@@ -727,11 +727,12 @@ class GadaianController extends Controller
$berat = ($gadai_info[0][0]['berat']) ? $gadai_info[0][0]['berat'] : '-';
$percentpinj = ($gadai_info[0][0]['percentpinj']) ? $gadai_info[0][0]['percentpinj'] : '-';
$message = $pinjaman . '|' . $nilaimarhun . '|' . $berat . '|' . $percentpinj . '|';
$createlulus = Http::post(config('api.url') . '/api/CreateLulus/' . $auth_user['cawangan'] . '/' . $norujukan, [
'mohon' => $request->mohon,
'message' => $message,
'pinjaman' => $pinjaman,
'nilaimarhun' => $nilaimarhun,
'berat' => $berat,
'margin' => $percentpinj,
'teller' => $auth_user['name']
])->json();