fix financial and certificates
This commit is contained in:
@@ -34,6 +34,11 @@ class InvoicePdfService
|
||||
return $this->renderPdfInvoice($data);
|
||||
}
|
||||
|
||||
public function previewData(int $invoiceId): array
|
||||
{
|
||||
return $this->prepareInvoiceData($invoiceId);
|
||||
}
|
||||
|
||||
private function prepareInvoiceData(int $invoiceId): array
|
||||
{
|
||||
$invoice = Invoice::query()->find($invoiceId);
|
||||
|
||||
Reference in New Issue
Block a user