diff --git a/resources/views/pages/pdfs/invoice.blade.php b/resources/views/pages/pdfs/invoice.blade.php
index 4dfdb99c..880f9306 100644
--- a/resources/views/pages/pdfs/invoice.blade.php
+++ b/resources/views/pages/pdfs/invoice.blade.php
@@ -106,7 +106,7 @@
|
Subtotal |
- {{ number_format($subtotalWithDiscount, 2) }} |
+ {{ number_format($subtotal, 2) }} |
|
@@ -138,7 +138,7 @@
|
Adjustment |
- {{ number_format($discrepancy, 2) }} |
+ {{ number_format(($total - (((float) number_format($subtotal, 2)) + ((float) number_format($transaction->service_charge, 2)) + ((float) number_format($voucherDiscount, 2)) + ((float) number_format($transaction->tax, 2)))), 2) }} |
|