diff options
author | Camil Staps | 2016-07-27 18:46:36 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-27 20:48:46 +0200 |
commit | e73a0078128cc3154c8c70d57fd3c9c8112087b9 (patch) | |
tree | a2e0151c8c924af53b77115f53e964993cebe1f0 /include/offers-overview.php | |
parent | User: use Model (diff) |
Assignment: 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 9c0a706..09c6e12 100644 --- a/include/offers-overview.php +++ b/include/offers-overview.php @@ -46,7 +46,7 @@ require_once('./login.php'); <td class='col-min-width'><span title='{$offer->getContact()->getClient()->name}'>{$offer->getContact()->getName()}</span></td> <td class='col-max-width'>"; foreach ($offer->getAssignments() as $assignment) { - echo "<b>{$assignment->getTitle()}</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->getDescription()}</p>"; + 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>"; |