mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
regenerate invoices for 2023
This commit is contained in:
@@ -148,7 +148,12 @@
|
||||
<tr>
|
||||
<td colspan="4"></td>
|
||||
<td class="right middle">Adjustment</td>
|
||||
<td class="right middle">{{ ceil($discrepancy * 100) / 100 }}</td>
|
||||
<td class="right middle">
|
||||
@php
|
||||
$roundedDiscrepancy = ($discrepancy > 0) ? ceil($discrepancy * 100) / 100 : floor($discrepancy * 100) / 100;
|
||||
echo number_format($roundedDiscrepancy, 2);
|
||||
@endphp
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"></td>
|
||||
|
||||
@@ -137,7 +137,12 @@
|
||||
<tr>
|
||||
<td colspan="4"></td>
|
||||
<td class="right middle">Adjustment</td>
|
||||
<td class="right middle">{{ roundUp($discrepancy, 2) }}</td>
|
||||
<td class="right middle">
|
||||
@php
|
||||
$roundedDiscrepancy = ($discrepancy > 0) ? ceil($discrepancy * 100) / 100 : floor($discrepancy * 100) / 100;
|
||||
echo number_format($roundedDiscrepancy, 2);
|
||||
@endphp
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"></td>
|
||||
|
||||
@@ -154,7 +154,12 @@
|
||||
<tr>
|
||||
<td colspan="4"></td>
|
||||
<td class="right middle">Adjustment</td>
|
||||
<td class="right middle">{{ roundUpPo($discrepancy,2) }}</td>
|
||||
<td class="right middle">
|
||||
@php
|
||||
$roundedDiscrepancy = ($discrepancy > 0) ? ceil($discrepancy * 100) / 100 : floor($discrepancy * 100) / 100;
|
||||
echo number_format($roundedDiscrepancy, 2);
|
||||
@endphp
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"></td>
|
||||
|
||||
Reference in New Issue
Block a user