1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00

Minor clean up

This commit is contained in:
David Bomba 2023-01-12 00:16:53 +11:00
parent 66571b1cbd
commit b60f0bc5dc

View File

@ -691,7 +691,7 @@ class PdfBuilder
} }
/** /**
* This method will help us decide either we show * This method will help us decide either we show
* one "tax rate" column in the table or 3 custom tax rates. * one "tax rate" column in the table or 3 custom tax rates.
* *
@ -858,7 +858,7 @@ class PdfBuilder
private function buildSections() :self private function buildSections() :self
{ {
return match ($this->service->document_type) { return match ($this->service->document_type) {
PdfService::PRODUCT => $this->getProductSections(), PdfService::PRODUCT => $this->getProductSections(),
PdfService::DELIVERY_NOTE => $this->getDeliveryNoteSections(), PdfService::DELIVERY_NOTE => $this->getDeliveryNoteSections(),
PdfService::STATEMENT => $this->getStatementSections(), PdfService::STATEMENT => $this->getStatementSections(),