From 091e7f9f6467e20e90f5f84f96c3860c9130384d Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Sun, 4 May 2014 19:31:41 +0200 Subject: [PATCH] Re-added the html generatrion code in drawBackOfficeInputs() --- core/lib/Thelia/Coupon/Type/CouponAbstract.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/lib/Thelia/Coupon/Type/CouponAbstract.php b/core/lib/Thelia/Coupon/Type/CouponAbstract.php index 246f1ec0b..569fd7f43 100644 --- a/core/lib/Thelia/Coupon/Type/CouponAbstract.php +++ b/core/lib/Thelia/Coupon/Type/CouponAbstract.php @@ -355,7 +355,11 @@ abstract class CouponAbstract implements CouponInterface * @return string HTML string */ public function drawBackOfficeInputs() { - return ""; + return $this->facade->getParser()->render('coupon/type-fragments/remove-x-amount.html', [ + 'label' => $this->getInputName(), + 'fieldName' => self::INPUT_AMOUNT_NAME, + 'value' => $this->amount + ]); } /**