| Current Path : /var/www/html/crm/views/salesitem/ |
| Current File : /var/www/html/crm/views/salesitem/_form.php |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\SalesItem */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="sales-item-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'parent_id')->textInput() ?>
<?= $form->field($model, 'type')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'quantity')->textInput() ?>
<?= $form->field($model, 'amount')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'created_dt')->textInput() ?>
<?= $form->field($model, 'created_by')->textInput() ?>
<?= $form->field($model, 'updated_dt')->textInput() ?>
<?= $form->field($model, 'updated_by')->textInput() ?>
<div class="form-group">
<?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>