aboutsummaryrefslogtreecommitdiff
path: root/nav.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 21:36:56 +0200
committerCamil Staps2016-07-27 21:36:56 +0200
commitae7e885619c0a3112765d9e32df2b3dd68a35d6a (patch)
treea25eb564998b9b68027f2758b6f90d7be22dd7b1 /nav.php
parentOffer: use Model (diff)
Move SUBTOTAL, VAT and TOTAL to Calculatable
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 027b4b1..22875cb 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(offer::SUBTOTAL)
+ 'price' => Constants::invoice_valuta . $offer->calculate(Calculatable::SUBTOTAL)
);
}
krsort($list, SORT_STRING);