block sag

This commit is contained in:
Afiq
2022-02-27 23:59:16 +08:00
parent 04716a2a45
commit 955328c35e
46 changed files with 1567 additions and 1562 deletions
@@ -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:8px;
}
@@ -175,7 +175,7 @@
</tr>
<tr>
<td><b> Tarikh:</b></td>
<td style="text-align:left;"> @php
<td style="text-align:left;"> @php
$myDateTime = DateTime::createFromFormat('Y-m-d', $gadai_date);
$formattedweddingdate = $myDateTime->format('d-m-Y');
echo($formattedweddingdate)
@@ -183,12 +183,12 @@
</tr>
<tr>
<td style="width:10px"> <b>Tarikh Cetak</b></td>
<td style="text-align:left;">@php
<td style="text-align:left;">@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
$formattedweddingdate = $myDateTime->format('d-m-Y');
echo($formattedweddingdate)
@endphp</td>
<td style="width:50px">
<td style="width:50px">
</td>
<td> </td>
<td> </td>
@@ -230,9 +230,9 @@
<td>{{ $counter }}</td>
<td>
@php
$gadaidetail = Http::get($api_url . '/api/gadai/norujukan/' . $item['norujukan'])->json();
$customer_detail = Http::get($api_url . '/api/customers/' . $gadaidetail[0][0]['nokp'])->json();
$gadaidetail = 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/' . $gadaidetail[0][0]['nokp'])->json();
echo $customer_detail['nama'];
@endphp
</td>