public function drawBaseBackOfficeInputs($templateName, $otherFields)
    {
        return $this->facade->getParser()->render($templateName, array_merge($otherFields, [

            // The attributes list field
            'attribute_field_name' => $this->makeCouponFieldName(self::ATTRIBUTE),
            'attribute_value'      => $this->attribute,

            // The attributes list field
            'attribute_av_field_name' => $this->makeCouponFieldName(self::ATTRIBUTES_AV_LIST),
            'attribute_av_values'     => $this->attributeAvList
        ]));
    }
public function drawBaseBackOfficeInputs($templateName, $otherFields)
    {
        return $this->facade->getParser()->render($templateName, array_merge($otherFields, [

            // The attributes list field
            'attribute_field_name' => $this->makeCouponFieldName(self::ATTRIBUTE),
            'attribute_value'      => $this->attribute,

            // The attributes list field
            'attribute_av_field_name' => $this->makeCouponFieldName(self::ATTRIBUTES_AV_LIST),
            'attribute_av_values'     => $this->attributeAvList
        ]));
    }
public function drawBaseBackOfficeInputs ( $ templateName , $ otherFields ) { return $ this -> facade -> getParser ( ) -> render ( $ templateName , array_merge ( $ otherFields , [ // The attributes list field 'attribute_field_name' => $ this -> makeCouponFieldName ( self :: ATTRIBUTE ) , 'attribute_value' => $ this -> attribute , // The attributes list field 'attribute_av_field_name' => $ this -> makeCouponFieldName ( self :: ATTRIBUTES_AV_LIST ) , 'attribute_av_values' => $ this -> attributeAvList ] ) ) ; }
Renders the template which implements coupon specific user-input,
using the provided template file, and a list of specific input fields.

@param string $templateName the path to the template
@param array  $otherFields  the list of additional fields fields

@return string the rendered template.
Renders the template which implements coupon specific user - input using the provided template file and a list of specific input fields .