From a67afdc0ff9b4d2b6b0e755dce092b4c13042568 Mon Sep 17 00:00:00 2001 From: Aqqil Azman Date: Thu, 1 Aug 2024 09:34:14 +0800 Subject: [PATCH] changed decimal points to 2 --- .../Modules/Exports/Services/ExportsPaymentTransactions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php b/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php index 6584a96a..7d24e9c5 100644 --- a/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php @@ -154,7 +154,7 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading $container->reference, 'CIEF', $detail->quantity, - $detail->price, + number_format($detail->price, 2), floatval($detail->tax_percentage) > 0 ? 'SV-6' : '', floatval($detail->tax_percentage) > 0 ? $detail->amount : '0', $detail->tax_percentage,