diff options
Diffstat (limited to 'include/offers-overview.php')
-rw-r--r-- | include/offers-overview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/offers-overview.php b/include/offers-overview.php index 7fd2de2..a246190 100644 --- a/include/offers-overview.php +++ b/include/offers-overview.php @@ -43,7 +43,7 @@ require_once('./login.php'); echo "<tr> <td class='col-min-width'>{$offer->getId()}</td> - <td class='col-min-width'><span title='{$offer->getContact()->getClient()->getName()}'>{$offer->getContact()->getName()}</span></td> + <td class='col-min-width'><span title='{$offer->getContact()->getClient()->name}'>{$offer->getContact()->getName()}</span></td> <td class='col-max-width'>"; foreach ($offer->getAssignments() as $assignment) { echo "<b>{$assignment->getTitle()}</b><br/><span class='smaller'>(".constants::invoice_valuta."{$assignment->calculate(assignment::SUBTOTAL)} excl. VAT, ".constants::invoice_valuta."{$assignment->calculate(assignment::TOTAL)} incl. VAT)</span><br/><p>{$assignment->getDescription()}</p>"; @@ -120,7 +120,7 @@ require_once('./login.php'); <select name="contactId" class="form-control"> <?php foreach (BusinessAdmin::getContacts($_pdo) as $contact) { - echo "<option value='{$contact->getId()}'>{$contact->getName()} ({$contact->getClient()->getName()})</option>"; + echo "<option value='{$contact->getId()}'>{$contact->getName()} ({$contact->getClient()->name})</option>"; } ?> </select> |