The coupon type is now passed to te template

This commit is contained in:
Franck Allimant
2014-06-10 15:59:02 +02:00
parent 296d697e3f
commit 993be2f37a

View File

@@ -197,6 +197,7 @@ class CouponController extends BaseAdminController
}
$args['couponCode'] = $coupon->getCode();
$args['couponType'] = $coupon->getType();
$args['availableCoupons'] = $this->getAvailableCoupons();
$args['couponInputsHtml'] = $couponManager->drawBackOfficeInputs();
$args['urlAjaxAdminCouponDrawInputs'] = $this->getRoute(