aboutsummaryrefslogtreecommitdiff
path: root/include/discounts-overview.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 21:29:57 +0200
committerCamil Staps2016-07-27 21:29:57 +0200
commit2acc7787e73c966c3fc1794d77dd758a3f56b566 (patch)
tree1def501ec9502dee79f0f54a470434a3b322f6a2 /include/discounts-overview.php
parentContact: use Model (diff)
Offer: use Model
Diffstat (limited to 'include/discounts-overview.php')
-rw-r--r--include/discounts-overview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/discounts-overview.php b/include/discounts-overview.php
index 5253fd2..4bf2b6f 100644
--- a/include/discounts-overview.php
+++ b/include/discounts-overview.php
@@ -83,7 +83,7 @@ require_once('./login.php');
<select name="offerId" class="form-control">
<?php
foreach (BusinessAdmin::getOffers($_pdo) as $offer) {
- echo "<option value='{$offer->getId()}'>#{$offer->getId()} to {$offer->getContact()->name} ({$offer->getContact()->getClient()->name})</option>";
+ echo "<option value='{$offer->id}'>#{$offer->id} to {$offer->getContact()->name} ({$offer->getContact()->getClient()->name})</option>";
}
?>
</select>