<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\Cust */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="cust-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'CustID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustTitle')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustName')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustDepSts')->textInput() ?>

    <?= $form->field($model, 'CustAddr1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustAddr2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ProvID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustPost')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustTel')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustFax')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustContact')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'UserOffHour')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustTID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZoneID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustSpecSts')->textInput() ?>

    <?= $form->field($model, 'CustLabSts')->textInput() ?>

    <?= $form->field($model, 'CustLabTimeAuto')->textInput() ?>

    <?= $form->field($model, 'CustLabTime')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustLabQty')->textInput() ?>

    <?= $form->field($model, 'CustResultSts')->textInput() ?>

    <?= $form->field($model, 'CustPaytSts')->textInput() ?>

    <?= $form->field($model, 'CustCrLine')->textInput() ?>

    <?= $form->field($model, 'CustCrDay')->textInput() ?>

    <?= $form->field($model, 'CustUseAmt')->textInput() ?>

    <?= $form->field($model, 'CustBalAmt')->textInput() ?>

    <?= $form->field($model, 'CustNorDiscSpec')->textInput() ?>

    <?= $form->field($model, 'CustNorDiscRout')->textInput() ?>

    <?= $form->field($model, 'CustSpecDiscSpec')->textInput() ?>

    <?= $form->field($model, 'CustSpecDiscRout')->textInput() ?>

    <?= $form->field($model, 'CustBillDue')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustChqDue')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustCond1')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustCond2')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'UserIDAppr')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'UserIDEntry')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'UserDate')->textInput() ?>

    <?= $form->field($model, 'CustInvDescHeader')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustInvEditFlag')->textInput() ?>

    <?= $form->field($model, 'CustPwd')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustLabSpPriceFlag')->textInput() ?>

    <?= $form->field($model, 'CustAbbr')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustComment')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'CustPrintHeadFlag')->textInput() ?>

    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
