<?php use yii\helpers\Url; /* $customer = new app\models\Customer(); $config = new app\models\Config_system(); $order = new app\models\OrdersTransport(); */ $config = new app\models\Config_system(); $notify = new \app\models\Notifications(); $month_full = $config->MonthFullKey(); ?> <div class="box box-danger"> <div class="box-header with-border" style=" color: #ff3300;"> <i class="fa fa-info"></i> ระบบจะแจ้งเตือนก่อน <?php echo $notify->find()->one()['truck_period']; ?> วัน ในเดือนปัจจุบัน </div> <div class="box-body"> <table class="table table-striped table-bordered" id="list_annuities"> <thead> <tr> <th style=" text-align: center;">#</th> <th style=" text-align: center;">กำหนดจ่าย</th> <th>ประจำเดือน</th> <th>ประจำปี</th> <th>ค่างวด</th> <th>วันที่บันทึก</th> <?php if ($flag_period == 0) {
'responsive' => true, 'pjax' => true, // pjax is set to always true for this demo 'panel' => [ 'type' => GridView::TYPE_DEFAULT, 'heading' => $heading, ], ]); * */ ?> </div> --> <?php $config = new Config_system(); $notification = new \app\models\Notifications(); $notify = $notification->find()->one(); ?> <div class="panel panel-primary"> <div class="panel-heading" style="padding-top:10px;"> <?php echo Html::a('<i class="fa fa-user-plus"></i> เพิ่มพนักงานขับรถ', ['create'], ['class' => 'btn btn-info btn-sm']); ?> <div class="pull-right"> <a href="<?php echo yii\helpers\Url::to(['site/index']); ?> " class="btn btn-danger btn-sm"><i class="fa fa-remove"></i></a> </div> </div>