aboutsummaryrefslogtreecommitdiff
path: root/nav.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 21:40:10 +0200
committerCamil Staps2016-07-27 21:40:10 +0200
commit69ffbcac4474404c413aceaecc96117691fd801a (patch)
tree65d1cd4997f23812fe9704f571fff2d5b5c9daf6 /nav.php
parentMove SUBTOTAL, VAT and TOTAL to Calculatable (diff)
Traits cannot have constants
Diffstat (limited to 'nav.php')
-rw-r--r--nav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/nav.php b/nav.php
index 22875cb..1cc43c1 100644
--- a/nav.php
+++ b/nav.php
@@ -59,7 +59,7 @@
'id' => $offer->id,
'contactClientName' => $offer->getContact()->getClient()->name,
'percentage' => $percentage,
- 'price' => Constants::invoice_valuta . $offer->calculate(Calculatable::SUBTOTAL)
+ 'price' => Constants::invoice_valuta . $offer->calculate(CALCULATABLE_SUBTOTAL)
);
}
krsort($list, SORT_STRING);