diff options
Diffstat (limited to 'include/home.php')
-rw-r--r-- | include/home.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/home.php b/include/home.php index 51d899b..a9dca1e 100644 --- a/include/home.php +++ b/include/home.php @@ -165,7 +165,7 @@ require('./header.php'); 'start' => $start, 'end' => $end, 'id' => $offer->getId(), - 'contactClientName' => $offer->getContact()->getClient()->getName(), + 'contactClientName' => $offer->getContact()->getClient()->name, 'percentage' => $percentage, 'price_excl' => constants::invoice_valuta . $offer->calculate(offer::SUBTOTAL), 'price_incl' => constants::invoice_valuta . $offer->calculate(offer::TOTAL) @@ -208,7 +208,7 @@ require('./header.php'); foreach ($offers as $offer) { echo "<tr>"; echo "<td>{$offer->getId()}</td>"; - echo "<td>{$offer->getContact()->getClient()->getName()}</td>"; + echo "<td>{$offer->getContact()->getClient()->name}</td>"; echo "<td>".BusinessAdmin::formatDate($offer->getEndDate(), false)."</td>"; echo "</tr>"; } @@ -249,7 +249,7 @@ require('./header.php'); foreach ($offers as $offer) { echo "<tr>"; echo "<td>{$offer->getId()}</td>"; - echo "<td>{$offer->getContact()->getClient()->getName()}</td>"; + echo "<td>{$offer->getContact()->getClient()->name}</td>"; echo "<td>".BusinessAdmin::formatDate($offer->getInvoiceDate(), false)."</td>"; echo "</tr>"; } |