total; $gross_total = $invoice->total_gross; $is_credit = $net_total < 0; $invoice_date = new DateTime($invoice->invoice_date); $this->setReturnValue(['filename' => $invoice->invoice_number . ".pdf"]); //die(json_encode($invoice->positions)); ?>
=$invoice->head_text?>
| Pos | Artikel | Leistung / Produkt | Menge | Einheit | Preis € | Gesamt € | |
|---|---|---|---|---|---|---|---|
| =$i+1?> | =$p->article_number?> | =$p->article_name?> | =$amount?> | =$p->unit?> | =$price?> € | =$price_total?> € | |
| Gesamt Netto: | =number_format($net_total, 2, ",","."). " €"?> | ||||||
| + USt. =number_format($rate, 0, ",", ".")?>%: | =number_format($vat_total, 2, ",","."). " €"?> | ||||||
| Gesamt Brutto: | =number_format($gross_total, 2, ",","."). " €"?> | ||||||
=$invoice->tax_text?>
Zahlungsziel 14 Tage.