added config for redeemoptions and changes from 'tebus separuh to tebus sebahagian'

This commit is contained in:
Hafifie PKB
2024-04-22 11:14:14 +08:00
parent ad024eb40a
commit 96ca467dd1
9 changed files with 69 additions and 52 deletions
@@ -225,8 +225,8 @@
$totalduitmasuk += $item['duit_masuk'];
$totalkeuntungan += $item['bayaran_keuntungan'];
$totalpendahuluan += $item['bayaran_pembiayaan'];
$totalujrah += bcdiv(round($item['ansuranujrah'],2),1,1);
$totalonepercent += bcdiv(round($item['ansuranonepercent'],2),1,1);
$totalujrah += round($item['ansuranujrah'],2);
$totalonepercent += round($item['ansuranonepercent'],2);
@endphp
@if($index > 0)
@@ -267,8 +267,8 @@
<td>{{ $item['tempoh'] }}</td>
<td>{{ number_format($item['bakipjm'],2) }}</td>
<td>{{ number_format($item['bayaran_pembiayaan'],2) }}</td>
<td>{{ number_format(bcdiv(round($item['ansuranujrah'],2),1,1),2) }}</td>
<td>{{ number_format(bcdiv(round($item['ansuranonepercent'],2),1,1),2) }}</td>
<td>{{ number_format(round($item['ansuranujrah'],2),2) }}</td>
<td>{{ number_format(round($item['ansuranonepercent'],2),2) }}</td>
<td>{{ number_format($item['bayaran_keuntungan'],2) }}</td>
<td>{{ number_format($item['duit_masuk'],2) }}</td>
</tr>
@@ -277,8 +277,8 @@
$totaldmteller += $item['duit_masuk'];
$totalupahteller += $item['bayaran_keuntungan'];
$totalpendhteller += $item['bayaran_pembiayaan'];
$totalujrahteller += bcdiv(round($item['ansuranujrah'],2),1,1);
$totalonepercentteller += bcdiv(round($item['ansuranonepercent'],2),1,1);
$totalujrahteller += round($item['ansuranujrah'],2);
$totalonepercentteller += round($item['ansuranonepercent'],2);
@endphp
@if($index+1 < sizeof($tebus))