Fix resit tebus ujrah following new format

This commit is contained in:
Amir
2023-12-06 05:56:23 +08:00
parent c1bf0d0dea
commit 9165d18031
@@ -410,20 +410,29 @@
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>
</table>
<table id="cust">
<tr>
<th style="width:5px;"> Salinan Pelanggan</th>
</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">
@@ -470,7 +479,7 @@
<td> </td>
<td> </td>
<td>Tempoh Simpan</td>
<td>: {{ $transaction_tebus['beza_tempoh'] }}</td>
<td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
@@ -507,7 +516,9 @@
</tr>
<tr>
<td style="width:10px">(-) Rebat Untung</td>
<td style="width:10px">: RM {{ number_format(($transaction_tebus['onepercent'] - $transaction_tebus['onepercent_rebet']), 2) }} </td>
<td style="width:10px">: RM
{{ number_format($transaction_tebus['onepercent'] - $transaction_tebus['onepercent_rebet'], 2) }}
</td>
</tr>
<tr>
<td style="width:10px">Ujrah</td>
@@ -515,7 +526,8 @@
</tr>
<tr>
<td style="width:10px">(-) Rebat Ujrah</td>
<td style="width:10px">: RM {{ number_format(($transaction_tebus['ujrah'] - $transaction_tebus['ujrah_rebet']), 2) }} </td>
<td style="width:10px">: RM
{{ number_format($transaction_tebus['ujrah'] - $transaction_tebus['ujrah_rebet'], 2) }} </td>
</tr>
<tr>
<td></td>
@@ -527,13 +539,15 @@
<td></td>
</tr>
<tr>
<td><strong>Jumlah Perlu Dibayar</strong></td>
<td><strong>: RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}</strong></td>
<td style="font-size:17px"><strong>Jumlah Perlu Dibayar</strong></td>
<td style="font-size: 17px"><strong>: RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}</strong></td>
</tr>
</table>
<table id="payment" style="border: none; margin-top:20px; width: 60%">
<tr>
<td>Marhun: {{ $gadai['marhun'] }}</td>
</tr>
</table>
<p style="display: flex; margin: 20px 80px" id="inside">
Marhun: {{ $gadai['marhun'] }}
</p>
<table id="semakan">
<tr>
<td colspan="3">.................................................... </td>
@@ -543,33 +557,26 @@
<td colspan="3">.................................................... </td>
</tr>
<tr>
<td colspan="3"> Cagaran Di Keluarkan</td>
<td colspan="3"> {{ $khazanah_user->name }}</td>
<td></td>
<td colspan="3">Pelanggan </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>
</table>
<br>
<br>
<hr class="new2">
</table>
<table>
<td rowspan="4" style="width:50px;"> <img src="{{ asset('img/ARRAHN1.png') }}" style="width:50px"
alt="User Image" class="center"> </td>
</table>
<table id="cust">
<tr>
<th style="width:5px;"> Salinan Pejabat</th>
</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">
@@ -615,7 +622,7 @@
<td> </td>
<td> </td>
<td>Tempoh Simpan</td>
<td>: {{ $transaction_tebus['beza_tempoh'] }}</td>
<td>: {{ $gadai['tempoh'] }}</td>
</tr>
<tr>
@@ -653,7 +660,9 @@
</tr>
<tr>
<td style="width:10px">(-) Rebat Untung</td>
<td style="width:10px">: RM {{ number_format(($transaction_tebus['onepercent'] - $transaction_tebus['onepercent_rebet']), 2) }} </td>
<td style="width:10px">: RM
{{ number_format($transaction_tebus['onepercent'] - $transaction_tebus['onepercent_rebet'], 2) }}
</td>
</tr>
<tr>
<td style="width:10px">Ujrah</td>
@@ -661,7 +670,8 @@
</tr>
<tr>
<td style="width:10px">(-) Rebat Ujrah</td>
<td style="width:10px">: RM {{ number_format(($transaction_tebus['ujrah'] - $transaction_tebus['ujrah_rebet']), 2) }} </td>
<td style="width:10px">: RM
{{ number_format($transaction_tebus['ujrah'] - $transaction_tebus['ujrah_rebet'], 2) }} </td>
</tr>
<tr>
<td></td>
@@ -673,14 +683,16 @@
<td></td>
</tr>
<tr>
<td><strong>Jumlah Perlu Dibayar</strong></td>
<td><strong>: RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}</strong></td>
<td style="font-size:17px"><strong>Jumlah Perlu Dibayar</strong></td>
<td style="font-size: 17px"><strong>: RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}</strong></td>
</tr>
</table>
<p style="display: flex; margin: 20px 80px" id="inside">
Marhun: {{ $gadai['marhun'] }}
</p>
<table id="payment" style="border: none; margin-top:20px; width: 60%">
<tr>
<td>Marhun: {{ $gadai['marhun'] }}</td>
</tr>
</table>
<table id="semakan">
<tr>
<td colspan="3">.................................................... </td>
@@ -690,11 +702,11 @@
<td colspan="3">.................................................... </td>
</tr>
<tr>
<td colspan="3"> Cagaran Di Keluarkan</td>
<td colspan="3">{{ $khazanah_user->name }}</td>
<td></td>
<td colspan="3">Pelanggan </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>
@@ -713,4 +725,15 @@
<td>: RM {{ number_format($transaction_tebus['bakipelanggan'], 2) }}</td>
</tr>
</table>
<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>
</body>