diff --git a/app/Exports/Purchases/Sheets/Bills.php b/app/Exports/Purchases/Sheets/Bills.php index 31ae588d6..63097e4fc 100644 --- a/app/Exports/Purchases/Sheets/Bills.php +++ b/app/Exports/Purchases/Sheets/Bills.php @@ -4,9 +4,10 @@ namespace App\Exports\Purchases\Sheets; use App\Abstracts\Export; use App\Models\Document\Document as Model; +use Maatwebsite\Excel\Concerns\WithColumnFormatting; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; -class Bills extends Export +class Bills extends Export implements WithColumnFormatting { public function collection() { diff --git a/app/Exports/Sales/Sheets/Invoices.php b/app/Exports/Sales/Sheets/Invoices.php index 81319c97f..9dd7c8165 100644 --- a/app/Exports/Sales/Sheets/Invoices.php +++ b/app/Exports/Sales/Sheets/Invoices.php @@ -4,9 +4,10 @@ namespace App\Exports\Sales\Sheets; use App\Abstracts\Export; use App\Models\Document\Document as Model; +use Maatwebsite\Excel\Concerns\WithColumnFormatting; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; -class Invoices extends Export +class Invoices extends Export implements WithColumnFormatting { public function collection() {