Export Excel Invoice & Imporve Invoice

This commit is contained in:
ivan-sim
2025-12-18 09:53:01 +07:00
parent 9976e8e438
commit e178682fcf
13 changed files with 622 additions and 80 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Exports;
use App\Exports\Sheets\Invoices\VOPSheet;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
use App\Exports\Sheets\UsersSheet;
use App\Exports\Sheets\OrdersSheet;
class ReportExport implements WithMultipleSheets
{
protected array $filters;
public function __construct(array $filters = [])
{
$this->filters = $filters;
}
public function sheets(): array
{
return [
new VOPSheet($this->filters),
];
}
}