From a9c5778232079a09000c519a414563a1e04e112d Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 28 Jul 2016 09:05:20 +0200 Subject: Split Calculatable in trait and interface --- 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 6c5135a..1118793 100644 --- a/include/offers-overview.php +++ b/include/offers-overview.php @@ -46,10 +46,10 @@ require_once('./login.php');
{$assignment->getHTMLDescription()}
"; + echo "{$assignment->title}{$assignment->getHTMLDescription()}
"; } foreach ($offer->getDiscounts() as $discount) { - echo "{$discount->title}{$discount->description}
"; + echo "{$discount->title}{$discount->description}
"; } echo "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)} |