aboutsummaryrefslogtreecommitdiff
path: root/include/discounts-overview.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 21:41:47 +0200
committerCamil Staps2016-07-27 21:41:47 +0200
commitfd1ae6923001bfd8e7aa26d09c019fad61efc64e (patch)
tree29654b41b65b0117e9c49da29f8d4ccce4ab0414 /include/discounts-overview.php
parentTraits cannot have constants (diff)
Offer fixes
Diffstat (limited to 'include/discounts-overview.php')
-rw-r--r--include/discounts-overview.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/discounts-overview.php b/include/discounts-overview.php
index 4bf2b6f..b361ac3 100644
--- a/include/discounts-overview.php
+++ b/include/discounts-overview.php
@@ -40,11 +40,11 @@ require_once('./login.php');
foreach ($discounts as $discount) {
echo "<tr class='mix'
data-mixer-order-id='{$discount->id}'
- data-mixer-order-offer='{$discount->getOffer()->getId()}'
+ data-mixer-order-offer='{$discount->getOffer()->id}'
data-mixer-order-value='{$discount->value}'>
<td class='col-min-width'>{$discount->id}</td>
<td class='col-min-width'>
- <a href='".Constants::url_internal."/offers?id={$discount->getOffer()->getId()}'>#{$discount->getOffer()->getId()}</a> to
+ <a href='".Constants::url_internal."/offers?id={$discount->getOffer()->id}'>#{$discount->getOffer()->id}</a> to
<a href='".Constants::url_internal."/contacts?id={$discount->getOffer()->getContact()->id}'>{$discount->getOffer()->getContact()->name}</a>
(<a href='".Constants::url_internal."/clients?id={$discount->getOffer()->getContact()->getClient()->id}'>{$discount->getOffer()->getContact()->getClient()->name}</a>)
<td class='col-max-width'>