total + $invoice->total_setup; $gross_total = $invoice->total_gross + $invoice->total_setup_gross; $is_credit = $net_total < 0; $this->setReturnValue(['filename' => $invoice->invoice_number . ".pdf"]); //die(json_encode($invoice->positions)); ?>
| Dienstleistung | Zeitraum | Preis | Menge | Netto € | Ust. % | Brutto € |
|---|---|---|---|---|---|---|
| =$p->product_name?> | = $p->billing_period > 1 ? $start_date->format("m.Y") . " - " . $end_date->format("m.Y") : $start_date->format("d.m.Y") . " - " . $end_date->format("d.m.Y") ?> | =$price?> € | =$amount?> | =$price_total?> € | =$vatrate?>% | =$price_gross?> € |
| =$p->matchcode?> | ||||||
| Gesamt Netto: | =number_format($net_total, 2, ",","."). " €"?> | |||||
| USt. =$rate?>%: | =number_format($vat_total, 2, ",","."). " €"?> | |||||
| Gesamt Brutto: | =number_format($gross_total, 2, ",","."). " €"?> | |||||