'-' ];
$o = $all + $options;
return $o;
}
$currencyOptions = mkOptions( ArrayHelper::map($currencies, 'id_currency', 'name') );
$accountOptions = mkOptions( ArrayHelper::map($accounts, 'id_account', 'name') );
$discountOptions = mkOptions( ArrayHelper::map($discounts, 'id_discount', 'name') );
?>
'filter_text_form',
'class' =>'form-inline',
'layout' => 'horizontal',
'fieldConfig' => [
'horizontalCssClasses' => [
'label' => 'col-sm-5',
'offset' => 'col-sm-offset-6',
'wrapper' => 'col-sm-7',
'error' => '',
'hint' => '',
],
],
] )?>
field($lookupModel,'product_search')->textInput(['id'=>'product_search']); ?>
field($lookupModel,'filter_text')->textInput(['id'=>'filter_text']); ?>
'product_form',
'class' =>'form-inline',
'layout' => 'horizontal',
'fieldConfig' => [
'horizontalCssClasses' => [
'label' => 'col-sm-5',
'offset' => 'col-sm-offset-6',
'wrapper' => 'col-sm-7',
'error' => '',
'hint' => '',
],
],
]
); ?>
field($model, 'count')->input("number") ?>
field($model,'id_currency')->dropDownList($currencyOptions) ?>
field($model,'id_account')->dropDownList($accountOptions) ?>
field($model,'id_discount')->dropDownList($discountOptions) ?>
field( $model,'comment' )->textarea() ?>
'btn btn-success btn-block', 'id' => 'btn_sell_append'] );?>
isCardWithCustomer() ){
echo Html::a(Yii::t("frontend/product","Write up"),null,['class' => 'btn btn-success btn-block', 'id' => 'btn_add_to_customer_cart'] );
}
?>