$this->id, 'name' => $this->client['name'] . ' ' . format_to_currency($this->total_net, $this->currency), 'invoiceNumber' => $this->invoice_number, 'total' => format_to_currency($this->total_net, $this->currency), 'file_url' => '', 'clientName' => $this->client['name'], 'mimetype' => 'pdf', 'created_at' => format_date($this->created_at, '%d. %B. %Y'), ]; } }