block sag
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
}
|
||||
|
||||
#header td, #customers th {
|
||||
|
||||
|
||||
padding:4px;
|
||||
font-size:10px;
|
||||
}
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
|
||||
#scan td, #scan th {
|
||||
|
||||
|
||||
padding: 8px;
|
||||
font-size:11px;
|
||||
}
|
||||
@@ -91,7 +91,7 @@
|
||||
}
|
||||
|
||||
#details td, #details th {
|
||||
|
||||
|
||||
padding: 8px;
|
||||
font-size:11px;
|
||||
}
|
||||
@@ -169,7 +169,7 @@
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th><b> Tarikh Cetak:</b>
|
||||
@php
|
||||
@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
|
||||
$formattedweddingdate = $myDateTime->format('d-m-Y');
|
||||
echo($formattedweddingdate)
|
||||
@@ -208,9 +208,9 @@
|
||||
<td>{{$item['norujukan']}}</td>
|
||||
<td>
|
||||
@php
|
||||
$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();
|
||||
|
||||
$gadai_detail = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/gadai/norujukan/'. $item['norujukan'])->json();
|
||||
$customer_detail = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/customers/' . $gadai_detail[0][0]['nokp'])->json();
|
||||
|
||||
echo $customer_detail['nama'] . '<br>' . $gadai_detail[0][0]['nokp'] . '<br>' . $customer_detail['alamat1'] . '<br>' . $customer_detail['alamat2'];
|
||||
@endphp
|
||||
</td>
|
||||
@@ -223,7 +223,7 @@
|
||||
<td>{{$item['hargaasas']}}</td>
|
||||
<td>{!!$item['nama'] . '<br>' . $item['nokp'] . '<br>' . $item['alamat1']. '<br>' . $item['alamat2'] !!}</td>
|
||||
</tr>
|
||||
@php $counter++;
|
||||
@php $counter++;
|
||||
if ($item['baki'] > 0)
|
||||
$totalbakilelong += $item['baki'];
|
||||
else if($item['baki'] < 0)
|
||||
|
||||
Reference in New Issue
Block a user