From 69ffbcac4474404c413aceaecc96117691fd801a Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 21:40:10 +0200 Subject: Traits cannot have constants --- include/offers-overview.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/offers-overview.php') diff --git a/include/offers-overview.php b/include/offers-overview.php index 1118793..6c5135a 100644 --- a/include/offers-overview.php +++ b/include/offers-overview.php @@ -46,10 +46,10 @@ require_once('./login.php'); {$offer->getContact()->name} "; foreach ($offer->getAssignments() as $assignment) { - echo "{$assignment->title}
(".Constants::invoice_valuta."{$assignment->calculate(Calculatable::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(Calculatable::TOTAL)} incl. VAT)

{$assignment->getHTMLDescription()}

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

{$assignment->getHTMLDescription()}

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

{$discount->description}

"; + echo "{$discount->title}
(".Constants::invoice_valuta."{$discount->calculate(CALCULATABLE_SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$discount->calculate(CALCULATABLE_TOTAL)} incl. VAT)

{$discount->description}

"; } echo " @@ -82,15 +82,15 @@ require_once('./login.php'); - + - + - +
Subtotal:".Constants::invoice_valuta."{$offer->calculate(Calculatable::SUBTOTAL)}".Constants::invoice_valuta."{$offer->calculate(CALCULATABLE_SUBTOTAL)}
VAT:".Constants::invoice_valuta."{$offer->calculate(Calculatable::VAT)}".Constants::invoice_valuta."{$offer->calculate(CALCULATABLE_VAT)}
Total:".Constants::invoice_valuta."{$offer->calculate(Calculatable::TOTAL)}".Constants::invoice_valuta."{$offer->calculate(CALCULATABLE_TOTAL)}
-- cgit v1.2.3