From 0fdab0e390c0f5525328f0adbabe5e1b82da898b Mon Sep 17 00:00:00 2001 From: Shikhar Date: Wed, 15 Feb 2023 17:22:31 +0530 Subject: [PATCH] Adherent removal --- composer.json | 2 +- src/FnacApiGui/src/FnacApiGui/Controller/OffersController.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 858069b..a38cd93 100755 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "ced/fnacapiclient", - "version": "6.6.6", + "version": "6.6.7", "description": "Simple PHP wrapper for FNAC API", "require": { "laminas/laminas-http" : ">=2.3.2", diff --git a/src/FnacApiGui/src/FnacApiGui/Controller/OffersController.php b/src/FnacApiGui/src/FnacApiGui/Controller/OffersController.php index 988ab0e..a6ef2a8 100755 --- a/src/FnacApiGui/src/FnacApiGui/Controller/OffersController.php +++ b/src/FnacApiGui/src/FnacApiGui/Controller/OffersController.php @@ -57,7 +57,6 @@ public function updateOffer($options) } - //Customize work public function updateOfferBulk($options) { extract($options); $offer = new Offer(); @@ -66,7 +65,6 @@ public function updateOfferBulk($options) { $offer->setQuantity($options['quantity']); $offer->setPrice($options['price']['price']); - $offer->setAdherentPrice($options['adherent_price']['special_price']); $offer->setPromotion($options['promotion_data']); $offer->setProductState($options['product_state']);