fix resit ansuran, tebus tawarruq, tebus ujrah, ps

This commit is contained in:
Amir
2024-01-10 09:19:16 +08:00
parent fbbb38a321
commit 0010de66a7
4 changed files with 824 additions and 374 deletions
@@ -222,7 +222,7 @@ hr.new5 {
#payment {
font-family: Arial, Helvetica, sans-serif;
border-collapse:collapse;
width: 45%;
width: 60%;
font-size:13px;
border: 1px solid black;
@@ -355,6 +355,18 @@ hr.new5 {
font-size: 10px;
border: 1px solid black;
}
.receipt-type-style {
position: absolute;
right: 0;
height: 100%;
width:40px;
display:flex;
justify-content:center;
align-items:end;
font-size: 45px;
font-weight: bold;
}
</style>
@@ -375,35 +387,69 @@ hr.new5 {
<br>
<div style="position: relative">
<div class="receipt-type-style">PS</div>
<table id="inside">
<tr>
<td colspan="3">Nama</td> <td>: {{ $customers_info['nama'] }} </td> <td colspan="3"> </td> <td> </td><td> </td><td> <b>No SAG</b></td><td>: <b>{{ $gadai['norujukan'] }}</b> </td>
</tr>
<tr>
<td colspan="3">No K/P </td> <td>: @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td> Tarikh Bayar</td><td>: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp</td>
</tr>
<tr>
<td colspan="3">Nama</td>
<td>: {{ $customers_info['nama'] }} </td>
<td colspan="3"> </td>
<td> </td>
<td> </td>
<td> <b>No SAG</b></td>
<td>: <b>{{ $gadai['norujukan'] }}</b> </td>
</tr>
<tr>
<td colspan="3">No K/P </td>
<td>: @php
if ($customers_info['kpbaru'] == '') {
echo $customers_info['kplama'];
} else {
echo $customers_info['kpbaru'];
}
@endphp </td>
<td colspan="3"> </td>
<td> </td>
<td> </td>
<td> Tarikh Bayar</td>
<td>: @php
$time = new DateTime($penebusan['t_tebus']);
$date = $time->format('d/m/Y');
echo $date;
@endphp</td>
</tr>
<tr>
<td colspan="3"></td> <td></td> <td colspan="3"> </td> <td> </td><td> </td><td>Tempoh Simpan</td><td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
<td colspan="3"></td>
<td></td>
<td colspan="3"> </td>
<td> </td>
<td> </td>
<td>Masa Bayaran </td>
@php
$masa_bayaran = strtotime($transaction_keuntungan['tarikh_bayaran']);
$masa = date('H:i:s', $masa_bayaran);
@endphp
<td>: {{ $masa }} </td>
</tr>
<tr>
<td colspan="3"></td> <td></td> <td colspan="3"> </td> <td></td><td> </td><td>Masa Bayaran </td>
@php
$masa_bayaran = strtotime($transaction_keuntungan['tarikh_bayaran']);
$masa = date('H:i:s', $masa_bayaran);
@endphp
<td>: {{ $masa }} </td>
</tr>
<tr>
<td colspan="3"></td>
<td></td>
<td colspan="3"> </td>
<td></td>
<td> </td>
<tr>
<td>Tempoh Simpan</td>
<td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
</table>
</div>
<br>
<h1 style="float:left;position:absolute;margin-left:100px;">PS</h1>
<table id="payment">
<tr>
<td style="width:10px">Pembiayaan</td>
@@ -487,32 +533,69 @@ hr.new5 {
</div>
<br>
<table id="inside">
<div style="position: relative">
<div class="receipt-type-style">PS</div>
<table id="inside">
<tr>
<td colspan="3">Nama</td> <td>: {{ $customers_info['nama'] }} </td> <td colspan="3"> </td> <td> </td><td> </td><td> <b>No SAG</b></td><td>: <b>{{ $gadai['norujukan'] }}</b> </td>
</tr>
<tr>
<td colspan="3">No K/P </td> <td>: @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td> Tarikh Bayar</td><td>: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp</td>
</tr>
<tr>
<td colspan="3">Nama</td>
<td>: {{ $customers_info['nama'] }} </td>
<td colspan="3"> </td>
<td> </td>
<td> </td>
<td> <b>No SAG</b></td>
<td>: <b>{{ $gadai['norujukan'] }}</b> </td>
</tr>
<tr>
<td colspan="3">No K/P </td>
<td>: @php
if ($customers_info['kpbaru'] == '') {
echo $customers_info['kplama'];
} else {
echo $customers_info['kpbaru'];
}
@endphp </td>
<td colspan="3"> </td>
<td> </td>
<td> </td>
<td> Tarikh Bayar</td>
<td>: @php
$time = new DateTime($penebusan['t_tebus']);
$date = $time->format('d/m/Y');
echo $date;
@endphp</td>
</tr>
<tr>
<td colspan="3"></td> <td></td> <td colspan="3"> </td> <td> </td><td> </td><td>Tempoh Simpan</td><td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
<td colspan="3"></td>
<td></td>
<td colspan="3"> </td>
<td> </td>
<td> </td>
<td>Masa Bayaran </td>
@php
$masa_bayaran = strtotime($transaction_keuntungan['tarikh_bayaran']);
$masa = date('H:i:s', $masa_bayaran);
@endphp
<td>: {{ $masa }} </td>
</tr>
<tr>
<td colspan="3"></td> <td></td> <td colspan="3"> </td> <td></td><td> </td><td>Masa Bayaran </td>
@php
$masa_bayaran = strtotime($transaction_keuntungan['tarikh_bayaran']);
$masa = date('H:i:s', $masa_bayaran);
@endphp
<td>: {{ $masa }} </td>
</tr>
</table>
<tr>
<td colspan="3"></td>
<td></td>
<td colspan="3"> </td>
<td></td>
<td> </td>
<td>Tempoh Simpan</td>
<td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
</table>
</div>
<br>
<h1 style="float:left;position:absolute;margin-left:100px;">PS</h1>
<table id="payment">
<tr>