invoice items table base ready
This commit is contained in:
@@ -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([
|
||||
|
||||
BIN
public/write.xls
BIN
public/write.xls
Binary file not shown.
Reference in New Issue
Block a user