Merge branch 'new-master' of https://gitlab.com/online-sistem1/kaunter into pipiv2

This commit is contained in:
MUHD HAFIFIE
2021-06-14 15:54:41 +08:00
19 changed files with 121 additions and 71 deletions
@@ -219,7 +219,7 @@
$gadai_detail = Http::get($api_url . '/api/gadai/norujukan/'. $item['norujukan'])->json();
$customer_detail = Http::get($api_url . '/api/customers/' . $gadai_detail[0][0]['nokp'])->json();
echo $customer_detail[0]['nama'];
echo $customer_detail['nama'];
@endphp
</td>
<td>{{ $gadai_detail[0][0]['nokp'] }}</td>
@@ -243,10 +243,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>
@@ -220,7 +220,7 @@
$gadai_detail = Http::get($api_url . '/api/gadai/norujukan/'. $item['norujukan'])->json();
$customer_detail = Http::get($api_url . '/api/customers/' . $gadai_detail[0][0]['nokp'])->json();
echo $customer_detail[0]['nama'] . '<br>' . $gadai_detail[0][0]['nokp'] . '<br>' . $customer_detail[0]['alamat1'] . '<br>' . $customer_detail[0]['alamat2'];
echo $customer_detail['nama'] . '<br>' . $gadai_detail[0][0]['nokp'] . '<br>' . $customer_detail['alamat1'] . '<br>' . $customer_detail['alamat2'];
@endphp
</td>
<td>{{$item['nilaimarhun']}}</td>
@@ -249,7 +249,7 @@
$gadai_detail = Http::get($api_url . '/api/gadai/norujukan/'. $item['norujukan'])->json();
$customer_detail = Http::get($api_url . '/api/customers/' . $gadai_detail[0][0]['nokp'])->json();
echo $customer_detail[0]['nama'];
echo $customer_detail['nama'];
@endphp
</td>
<td>{{$gadai_detail[0][0]['nokp']}}</td>