protected function drawBackOfficeInputOperators($inputKey)
    {
        $html = '';

        $inputs = $this->getValidators();

        if (isset($inputs['inputs'][$inputKey])) {
            $html = $this->facade->getParser()->render(
                'coupon/condition-fragments/condition-selector.html',
                [
                    'operators' => $inputs['inputs'][$inputKey]['availableOperators'],
                    'value'     => isset($this->operators[$inputKey]) ? $this->operators[$inputKey] : '',
                    'inputKey'  => $inputKey
                ]
            );
        }

        return $html;
    }
protected function drawBackOfficeInputOperators($inputKey)
    {
        $html = '';

        $inputs = $this->getValidators();

        if (isset($inputs['inputs'][$inputKey])) {
            $html = $this->facade->getParser()->render(
                'coupon/condition-fragments/condition-selector.html',
                [
                    'operators' => $inputs['inputs'][$inputKey]['availableOperators'],
                    'value'     => isset($this->operators[$inputKey]) ? $this->operators[$inputKey] : '',
                    'inputKey'  => $inputKey
                ]
            );
        }

        return $html;
    }
protected function drawBackOfficeInputOperators ( $ inputKey ) { $ html = '' ; $ inputs = $ this -> getValidators ( ) ; if ( isset ( $ inputs [ 'inputs' ] [ $ inputKey ] ) ) { $ html = $ this -> facade -> getParser ( ) -> render ( 'coupon/condition-fragments/condition-selector.html' , [ 'operators' => $ inputs [ 'inputs' ] [ $ inputKey ] [ 'availableOperators' ] , 'value' => isset ( $ this -> operators [ $ inputKey ] ) ? $ this -> operators [ $ inputKey ] : '' , 'inputKey' => $ inputKey ] ) ; } return $ html ; }
Draw the operator input displayed in the BackOffice
allowing Admin to set its Coupon Conditions

@param string $inputKey Input key (ex: self::INPUT1)

@return string HTML string
Draw the operator input displayed in the BackOffice allowing Admin to set its Coupon Conditions