<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model common\models\Cust */

$this->title = $model->CustID;
$this->params['breadcrumbs'][] = ['label' => 'Custs', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="cust-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a('Update', ['update', 'id' => $model->CustID], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'id' => $model->CustID], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'CustID',
            'CustTitle',
            'CustName',
            'CustDepSts',
            'CustAddr1',
            'CustAddr2',
            'ProvID',
            'CustPost',
            'CustTel',
            'CustFax',
            'CustContact',
            'UserOffHour',
            'CustTID',
            'ZoneID',
            'CustSpecSts',
            'CustLabSts',
            'CustLabTimeAuto',
            'CustLabTime',
            'CustLabQty',
            'CustResultSts',
            'CustPaytSts',
            'CustCrLine',
            'CustCrDay',
            'CustUseAmt',
            'CustBalAmt',
            'CustNorDiscSpec',
            'CustNorDiscRout',
            'CustSpecDiscSpec',
            'CustSpecDiscRout',
            'CustBillDue',
            'CustChqDue',
            'CustCond1',
            'CustCond2',
            'UserIDAppr',
            'UserIDEntry',
            'UserDate',
            'CustInvDescHeader',
            'CustInvEditFlag',
            'CustPwd',
            'CustLabSpPriceFlag',
            'CustAbbr',
            'CustComment',
            'CustPrintHeadFlag',
        ],
    ]) ?>

</div>