This commit is contained in:
Afiq
2021-01-11 17:59:07 +08:00
parent 73a0599841
commit 317ca2018d
22 changed files with 160 additions and 97 deletions
@@ -210,8 +210,8 @@
@foreach($batalgadai as $index=>$item)
<tr>
<td>{{ $counter }}</td>
<td>{{$item['noRujukan']}}</td>
<td>{{$item['namaTeller']}}</td>
<td>{{$item['norujukan']}}</td>
<td>{{$item['namateller']}}</td>
<td>{{$item['tarikh']}}</td>
<td>{{$item['masa']}}</td>
@@ -245,7 +245,7 @@
</td>
<td>{{$item['jbg']}}</td>
<td>{{$item['pinjaman']}}</td>
<td>{{$item['UpahAsal']}}</td>
<td>{{$item['upahasal']}}</td>
<td>{{$item['upahpercuma']}}</td>
<td>{{$item['upahdibayar']}}</td>
<td>{{$item['nilaimarhun']}}</td>
+6 -4
View File
@@ -402,8 +402,9 @@
<td> </td>
<td>
@php
$daerah = Http::get($api_url . '/api/daerah/'.$customer_detail['koddaerah'])->json();
$negeri = Http::get($api_url . '/api/negeri/'.$customer_detail['kodnegeri'])->json();
$poskod = Http::get($api_url . '/api/poskod/'.$customer_detail['poskod'])->json();
$daerah = Http::get($api_url . '/api/daerah/'.$poskod['koddaerah'])->json();
$negeri = Http::get($api_url . '/api/negeri/'.$poskod['kodnegeri'])->json();
echo ($customer_detail['poskod']. ', ' .$daerah['namadaerah'].', '.$negeri['negeri']);
@endphp
@@ -807,8 +808,9 @@
<td> </td>
<td>
@php
$daerah = Http::get($api_url . '/api/daerah/'.$customer_detail['koddaerah'])->json();
$negeri = Http::get($api_url . '/api/negeri/'.$customer_detail['kodnegeri'])->json();
$poskod = Http::get($api_url . '/api/poskod/'.$customer_detail['poskod'])->json();
$daerah = Http::get($api_url . '/api/daerah/'.$poskod['koddaerah'])->json();
$negeri = Http::get($api_url . '/api/negeri/'.$poskod['kodnegeri'])->json();
echo ($customer_detail['poskod']. ', ' .$daerah['namadaerah'].', '.$negeri['negeri']);
@endphp