fix customer api
This commit is contained in:
@@ -237,10 +237,10 @@
|
||||
<td>
|
||||
@php
|
||||
$customer_detail = Http::get($api_url . '/api/customers/' . $item['nokp'])->json();
|
||||
echo $customer_detail[0]['nama'];
|
||||
echo $customer_detail['nama'];
|
||||
@endphp
|
||||
</td>
|
||||
<td>{{$customer_detail[0]['alamat1']}}</td>
|
||||
<td>{{$customer_detail['alamat1']}}</td>
|
||||
<td>{{ $item['nokp'] }}</td>
|
||||
<td>{{ $item['masa'] }}</td>
|
||||
<td>{{ number_format($item['berat'],2) }}</td>
|
||||
|
||||
Reference in New Issue
Block a user