From e73a0078128cc3154c8c70d57fd3c9c8112087b9 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 18:46:36 +0200 Subject: Assignment: use Model --- include/offers-overview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/offers-overview.php') diff --git a/include/offers-overview.php b/include/offers-overview.php index 9c0a706..09c6e12 100644 --- a/include/offers-overview.php +++ b/include/offers-overview.php @@ -46,7 +46,7 @@ require_once('./login.php'); {$offer->getContact()->getName()} "; foreach ($offer->getAssignments() as $assignment) { - echo "{$assignment->getTitle()}
(".Constants::invoice_valuta."{$assignment->calculate(assignment::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(assignment::TOTAL)} incl. VAT)

{$assignment->getDescription()}

"; + echo "{$assignment->title}
(".Constants::invoice_valuta."{$assignment->calculate(assignment::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(assignment::TOTAL)} incl. VAT)

{$assignment->getHTMLDescription()}

"; } foreach ($offer->getDiscounts() as $discount) { echo "{$discount->getTitle()}
(".Constants::invoice_valuta."{$discount->calculate(discount::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$discount->calculate(discount::TOTAL)} incl. VAT)

{$discount->getDescription()}

"; -- cgit v1.2.3