field($model, 'id_product_category')->textInput() ?> field($model, 'id_account')->textInput() ?> field($model, 'product_number')->textInput(['maxlength' => true]) ?> field($model, 'barcode')->textInput(['maxlength' => true]) ?> field($model, 'purchase_price')->textInput() ?> field($model, 'sale_price')->textInput() ?> field($model, 'profit_margins')->textInput() ?> field($model, 'status')->textInput() ?> field($model, 'description')->textInput(['maxlength' => true]) ?> field($model, 'name')->textInput(['maxlength' => true]) ?>
isNewRecord ? Yii::t('frontend/product', 'Create') : Yii::t('frontend/product', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>