diff options
author | Camil Staps | 2016-07-27 20:54:34 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-27 20:54:34 +0200 |
commit | ee7b6b8cc0cb8619c298f533a2ac791d7aa3b57c (patch) | |
tree | 21cdd4e07585887e72c2de08b8c235b1aa10d3ec /include/offers-overview.php | |
parent | Assignment: use Model (diff) |
Discount: use Model
Diffstat (limited to 'include/offers-overview.php')
-rw-r--r-- | include/offers-overview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/offers-overview.php b/include/offers-overview.php index 09c6e12..2c5b483 100644 --- a/include/offers-overview.php +++ b/include/offers-overview.php @@ -49,7 +49,7 @@ require_once('./login.php'); echo "<b>{$assignment->title}</b><br/><span class='smaller'>(".Constants::invoice_valuta."{$assignment->calculate(assignment::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(assignment::TOTAL)} incl. VAT)</span><br/><p>{$assignment->getHTMLDescription()}</p>"; } foreach ($offer->getDiscounts() as $discount) { - echo "<b>{$discount->getTitle()}</b><br/><span class='smaller'>(".Constants::invoice_valuta."{$discount->calculate(discount::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$discount->calculate(discount::TOTAL)} incl. VAT)</span><br/><p>{$discount->getDescription()}</p>"; + echo "<b>{$discount->title}</b><br/><span class='smaller'>(".Constants::invoice_valuta."{$discount->calculate(discount::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$discount->calculate(discount::TOTAL)} incl. VAT)</span><br/><p>{$discount->description}</p>"; } echo "</td> <td class='col-min-width'> |