aboutsummaryrefslogtreecommitdiff
path: root/nav.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 16:18:13 +0200
committerCamil Staps2016-07-27 16:18:13 +0200
commit08e6ca70604aff5169dbcbf5b74215628ae4097e (patch)
tree2fabea3a1bfd1ebf2d3ab3aa02a93aa8a51a779c /nav.php
parentInitial Model class (diff)
Reorganise to have client use Model
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 3b67dbb..caeb6e5 100644
--- a/nav.php
+++ b/nav.php
@@ -57,7 +57,7 @@
'start' => $start,
'end' => $end,
'id' => $offer->getId(),
- 'contactClientName' => $offer->getContact()->getClient()->getName(),
+ 'contactClientName' => $offer->getContact()->getClient()->name,
'percentage' => $percentage,
'price' => constants::invoice_valuta . $offer->calculate(offer::SUBTOTAL)
);