From efa2936ec538c236dcec71f419ad714524c7d2b9 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 1 Aug 2016 13:48:14 +0200 Subject: Removed BusinessAdmin::get* methods, added Model::search and Model::count --- include/offers-view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/offers-view.php') diff --git a/include/offers-view.php b/include/offers-view.php index 56359ae..cce5a66 100644 --- a/include/offers-view.php +++ b/include/offers-view.php @@ -37,7 +37,7 @@ $_offer = new Offer($_pdo, $_id); id}")); + $assignments = $_offer->getAssignments(); foreach ($assignments as $assignment) { echo " {$assignment->id} @@ -80,7 +80,7 @@ $_offer = new Offer($_pdo, $_id); id}")); + $discounts = $_offer->getDiscounts(); foreach ($discounts as $discount) { echo " {$discount->id} -- cgit v1.2.3