Update resit tebus tawarruq following resit tebus ujrah format

This commit is contained in:
Amir
2023-12-06 05:43:47 +08:00
parent 9850cc5aa6
commit c1bf0d0dea
+98 -80
View File
@@ -368,59 +368,58 @@ hr.new5 {
color: black;
padding:4px;
}
.header-style{
display: flex;
justify-content: space-between;
align-items: center
}
.header-style span {
font-family: Arial, Helvetica, sans-serif;
text-align: right;
background-color: #d9deda;
color: black;
padding: 2px;
font-size: 10px;
border: 1px solid black;
}
</style>
<table>
<td rowspan="4" style="width:50px;"> <img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center" > </td>
<td rowspan="4" style="width:50px;"><img src="{{ asset('img/pkb.png') }}" style="width:50px" alt="User Image" class="center" > </td>
<td></td>
</table>
<table id="cust">
<tr>
<th style="width:5px;"> Salinan Pelanggan</th>
</tr>
<tr>
<td style="width:5px;"> RESIT BAYARAN </td>
</tr>
</table>
<div class="header-style">
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center" >
<div>
<span><strong>Salinan Pelanggan</strong></span>
</div>
</div>
<br>
<table id="inside">
<tr>
<td colspan="3">Marhun</td> <td>: {{ $gadai['marhun'] }} </td> <td colspan="3"> </td> <td> </td><td> </td><td> No SAG</td><td>: {{ $gadai['norujukan'] }} </td>
<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">Nama</td> <td>: {{ $customers_info['nama'] }} </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>
<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">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><b> Tempoh Simpan</b></td><td>:<b> {{ $gadai['tempoh'] }} </b></td>
<td colspan="3">Nama Wakil </td> <td>: @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td>Tempoh Simpan</td><td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
<td colspan="3">Nama Wakil </td> <td>: @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td> </td><td> </td>
<td colspan="3">No K/P Wakil </td> <td>: @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td>Masa Bayaran </td>
@php
$masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']);
$masa = date('H:i:s', $masa_bayaran);
@endphp
<td>: {{ $masa }}</td>
</tr>
<tr>
<td colspan="3">No K/P Wakil </td> <td>: @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td> </td><td> </td>
</tr>
</table>
<br>
@@ -444,11 +443,24 @@ hr.new5 {
<td style="width:10px">: RM {{ number_format($penebusan['rebate'],2) }} </td>
</tr>
<tr>
<td style="width:10px"><b>Tebus Keseluruhan</b></td>
<td style="width:10px">:<b> RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} </b></td>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td style="width:10px; font-size:17px"><b>Tebus Keseluruhan</b></td>
<td style="width:10px; font-size:17px">:<b> RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} </b></td>
</tr>
</table>
<table id="payment" style="border: none; margin-top:20px; width:60%">
<tr>
<td>Marhun: {{ $gadai['marhun'] }}</td>
</tr>
</table>
<br>
@@ -457,23 +469,18 @@ hr.new5 {
<table id="semakan">
<tr>
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
</tr>
<tr>
<td colspan="3">DiSemak </td>
<td></td>
<td colspan="3"> Cagaran Di Keluarkan</td>
<tr>
<td colspan="3"> {{ $khazanah_user->name }}</td>
<td></td>
<td colspan="3">Cagaran Diterima </td>
<td colspan="3"> {{ $customers_info['nama'] }} </td>
<td></td>
<td colspan="3"> Ar-Rahn <br> <b>{{ Auth::user()->name }}</b></td>
<td colspan="3">{{ Auth::user()->name }}</td>
</tr>
@@ -483,45 +490,37 @@ hr.new5 {
<hr class="new2"></hr>
<br>
<br>
</table>
<table id="cust">
<tr>
<th style="width:5px;"> Salinan Pejabat</th>
</tr>
<tr>
<td style="width:5px;"> RESIT BAYARAN </td>
</tr>
</table>
<div class="header-style">
<img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px" alt="User Image" class="center" >
<div>
<span><strong>Salinan Pejabat</strong></span>
</div>
</div>
<br>
<table id="inside">
<tr>
<td colspan="3">Marhun</td> <td>: {{ $gadai['marhun'] }} </td> <td colspan="3"> <t/d> <td> </td><td> </td><td> No SAG</td><td>: {{ $gadai['norujukan'] }} </td>
<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">Nama</td> <td>: {{ $customers_info['nama'] }} </td> <td colspan="3"> <t/d> <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>
<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">No K/P </td> <td>: @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp </td> <td colspan="3"> <t/d> <td> </td><td> </td><td><b> Tempoh Simpan</b></td><td>:<b> {{ $gadai['tempoh'] }} </b></td>
<td colspan="3">Nama Wakil </td> <td>: @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td>Tempoh Simpan</td><td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
<td colspan="3">Nama Wakil </td> <td>: @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp </td> <td colspan="3"> <t/d> <td> </td><td> </td><td> </td><td> </td>
</tr>
<tr>
<td colspan="3">No K/P Wakil </td> <td>: @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp</td> <td colspan="3"> <td> </td><td> </td><td> </td><td> </td>
<td colspan="3">No K/P Wakil </td> <td>: @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp </td> <td colspan="3"> </td> <td> </td><td> </td><td>Masa Bayaran </td>
@php
$masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']);
$masa = date('H:i:s', $masa_bayaran);
@endphp
<td>: {{ $masa }}</td>
</tr>
</table>
<br>
@@ -546,21 +545,32 @@ hr.new5 {
<td style="width:10px">: RM {{ number_format($penebusan['rebate'],2) }} </td>
</tr>
<tr>
<td style="width:10px"><b>Tebus Keseluruhan</b></td>
<td style="width:10px">:<b> RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} </b></td>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td style="width:10px; font-size:17px"><b>Tebus Keseluruhan</b></td>
<td style="width:10px; font-size:17px">:<b> RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }} </b></td>
</tr>
</table>
<table id="payment" style="border: none; margin-top:20px; width:60%">
<tr>
<td>Marhun: {{ $gadai['marhun'] }}</td>
</tr>
</table>
<br>
<table id="semakan">
<tr>
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
@@ -569,15 +579,23 @@ hr.new5 {
</tr>
<tr>
<td colspan="3">DiSemak </td>
<td></td>
<td colspan="3"> Cagaran Di Keluarkan</td>
<td colspan="3"> {{ $khazanah_user->name }}</td>
<td></td>
<td colspan="3">Cagaran Diterima </td>
<td colspan="3">{{ $khazanah_user->name }}</td>
<td></td>
<td colspan="3"> Ar-Rahn <br> <b>{{ Auth::user()->name }}</b></td>
<td colspan="3">{{ Auth::user()->name }}</td>
</tr>
</table>
<br>
<table id="semakan">
<tr style="visibility: hidden">
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
<td></td>
<td colspan="3">.................................................... </td>
</tr>
</table>