regenerate invoices for 2023

This commit is contained in:
Omair Saleh
2023-08-16 17:05:23 +08:00
parent e082da92a5
commit 5d2108b40d
3 changed files with 18 additions and 3 deletions
@@ -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>
+6 -1
View File
@@ -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>