<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel backend\modules\administrator\models\CustSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Custs';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="cust-index">

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

    <p>
        <?= Html::a('Create Cust', ['create'], ['class' => 'btn btn-success']) ?>
    </p>

    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            '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',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>


</div>
