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/home.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'include/home.php')
diff --git a/include/home.php b/include/home.php
index 43cfeb1..3903ab2 100644
--- a/include/home.php
+++ b/include/home.php
@@ -167,8 +167,8 @@ require('./header.php');
'id' => $offer->id,
'contactClientName' => $offer->getContact()->getClient()->name,
'percentage' => $percentage,
- 'price_excl' => Constants::invoice_valuta . $offer->calculate(Calculatable::SUBTOTAL),
- 'price_incl' => Constants::invoice_valuta . $offer->calculate(Calculatable::TOTAL)
+ 'price_excl' => Constants::invoice_valuta . $offer->calculate(CALCULATABLE_SUBTOTAL),
+ 'price_incl' => Constants::invoice_valuta . $offer->calculate(CALCULATABLE_TOTAL)
);
}
krsort($list, SORT_STRING);
@@ -285,8 +285,8 @@ require('./header.php');
'assignments_header' => ''
);
foreach ($offer->getAssignments() as $assignment) {
- $temp['assignments'] .= "{$assignment->title}
(".Constants::invoice_valuta."{$assignment->calculate(Calculatable::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(Calculatable::TOTAL)} incl. VAT)
{$assignment->getHTMLDescription()}
"; - $temp['assignments_header'] .= "{$assignment->title}{$assignment->getHTMLDescription()}
"; + $temp['assignments_header'] .= "{$assignment->title}