Create client frontend

This commit is contained in:
Peter Papp
2021-04-29 08:57:53 +02:00
parent 13ec1257e1
commit 19bce195b4
22 changed files with 462 additions and 43 deletions

View File

@@ -26,7 +26,7 @@ class OasisClientResource extends JsonResource
'id' => $this->id,
'name' => $this->name,
'email' => $this->email,
'avatar' => url('/assets/images/default-avatar.png'),
'avatar' => $this->avatar,
'totalNet' => format_to_currency($total_net, 'CZK'),
'totalInvoices' => $total_invoices,
'type' => 'client',