pdf installation

This commit is contained in:
Peter Papp
2021-04-26 08:15:11 +02:00
parent e65e3e88d7
commit 644fbaede4
12 changed files with 525 additions and 297 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class InvoiceResource extends JsonResource
'customer' => $this->customer,
'total' => $this->total(),
'currency' => $this->currency,
'created_at_formatted' => format_date($this->date(), '%d. %B. %Y'),
'created_at_formatted' => format_date($this->date(), '%d. %B %Y'),
'created_at' => $this->created,
'order' => $this->number,
'user_id' => $user->id ?? null,
@@ -30,7 +30,7 @@ class OasisClientResource extends JsonResource
'totalNet' => format_to_currency($total_net, 'CZK'),
'totalInvoices' => $total_invoices,
'type' => 'client',
'created_at' => format_date($this->created_at, '%d. %B. %Y'),
'created_at' => format_date($this->created_at, '%d. %B %Y'),
];
}
}