fix customer api
This commit is contained in:
@@ -29,7 +29,7 @@ class PenebusanController extends Controller
|
||||
$marhundetail = Http::get(config('api.url') . '/api/marhun/'. $norujukan)->json();
|
||||
|
||||
$marhun = $marhundetail[0];
|
||||
$nama = $customerdetail[0]['nama'];
|
||||
$nama = $customerdetail['nama'];
|
||||
|
||||
$gadai = $gadaidetail[0][0];
|
||||
|
||||
@@ -945,7 +945,7 @@ class PenebusanController extends Controller
|
||||
$marhundetail = Http::get(config('api.url') . '/api/marhun/'. $norujukan)->json();
|
||||
|
||||
$marhun = $marhundetail[0];
|
||||
$nama = $customerdetail[0]['nama'];
|
||||
$nama = $customerdetail['nama'];
|
||||
|
||||
$gadai = $gadaidetail[0][0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user