This commit is contained in:
2024-11-11 00:41:24 +05:00
parent 123cd1face
commit 3b795bb696
2 changed files with 21 additions and 21 deletions

View File

@@ -75,7 +75,7 @@ class HomeController extends Controller
vat_percentage: null, vat_percentage: null,
vat_tmt: null, vat_tmt: null,
total: 200000, total: 200000,
) ),
] ]
)) ))
->handle() ->handle()

View File

@@ -149,7 +149,7 @@ class GenerateInvoiceExcell
'font' => [ 'font' => [
'bold' => false, 'bold' => false,
'size' => 10, 'size' => 10,
'name' => 'Times New Roman' 'name' => 'Times New Roman',
], ],
'alignment' => [ 'alignment' => [
'horizontal' => Alignment::HORIZONTAL_CENTER, 'horizontal' => Alignment::HORIZONTAL_CENTER,
@@ -167,7 +167,7 @@ class GenerateInvoiceExcell
'alignment' => [ 'alignment' => [
'horizontal' => Alignment::HORIZONTAL_LEFT, 'horizontal' => Alignment::HORIZONTAL_LEFT,
'vertical' => Alignment::VERTICAL_CENTER, 'vertical' => Alignment::VERTICAL_CENTER,
] ],
]); ]);
$this->worksheet->getCell('D'.$itemCellNumber)->getStyle()->applyFromArray([ $this->worksheet->getCell('D'.$itemCellNumber)->getStyle()->applyFromArray([