invoice items table base ready

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

View File

@@ -138,7 +138,11 @@ class GenerateInvoiceExcell
$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([

Binary file not shown.