Re-added the html generatrion code in drawBackOfficeInputs()

This commit is contained in:
Franck Allimant
2014-05-04 19:31:41 +02:00
parent 457f5dba7c
commit 091e7f9f64

View File

@@ -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
]);
}
/**