diff --git a/app/Exports/LaporanKeseluruhan/PelangganaktifAllExportExcel.php b/app/Exports/LaporanKeseluruhan/PelangganaktifAllExportExcel.php index 853d0fa..96d8889 100644 --- a/app/Exports/LaporanKeseluruhan/PelangganaktifAllExportExcel.php +++ b/app/Exports/LaporanKeseluruhan/PelangganaktifAllExportExcel.php @@ -48,7 +48,7 @@ class PelangganaktifAllExportExcel implements FromCollection, WithHeadings, With $this->counter++, $row['kodcaw'] ?? '', $row['details_caw'] ?? '', - number_format($jumlah, 2), + $jumlah, ]; } public function startCell(): string @@ -80,7 +80,7 @@ class PelangganaktifAllExportExcel implements FromCollection, WithHeadings, With $event->sheet->mergeCells("A{$lastRow}:C{$lastRow}"); $event->sheet->setCellValue("A{$lastRow}", 'Jumlah Keseluruhan'); - $event->sheet->setCellValue("D{$lastRow}", number_format($this->total, 2)); + $event->sheet->setCellValue("D{$lastRow}", $this->total); $event->sheet->getStyle("A{$lastRow}:D{$lastRow}")->getFont()->setBold(true); $event->sheet->getStyle("A{$lastRow}:D{$lastRow}")->getAlignment()->setHorizontal('right'); },