invoice items table base ready

This commit is contained in:
nurmuhammet committed 2024-11-10 15:42:19 +05:00
1 parent 607a916cff
commit 123cd1face
2 files changed
+5 -1

No files matched your search

@@ -138,7 +138,11 @@ protected function fillTheCells(): void
$this->worksheet->getCell('G' . $itemCellNumber)->setValue($item->vat_excluded);
$this->worksheet->getCell('H' . $itemCellNumber)->setValue($item->vat_percentage);
$this->worksheet->getCell('I' . $itemCellNumber)->setValue($item->vat_tmt);
$this->worksheet->getCell('J' . $itemCellNumber)->setValue($item->total);
$this->worksheet->setCellValue(
'J' . $itemCellNumber,
"=D{$itemCellNumber}*E{$itemCellNumber}"
);
// Set font-family, alingment, and borders for all of them...
$this->worksheet->getStyle('A' . $itemCellNumber . ':J' . $itemCellNumber)->applyFromArray([
BIN
View File
Binary file not shown.