update version 1.0 deploy

This commit is contained in:
2020-02-03 14:22:37 +07:00
parent 4c619ad6e6
commit 166c101a78
8 changed files with 345 additions and 47 deletions

View File

@@ -31,6 +31,11 @@
<i class="fa fa-download"></i> Xuất báo cáo
</button>
</div>
<div class="col-md-2 col-md-push-4">
<a href="{Url::to(['/logs-unknow'])}" class="btn btn-danger">
<i class="fa fa-truck"></i> Xe khác
</a>
</div>
</div>
<br>
{GridView::widget([
@@ -43,38 +48,40 @@
],
'columns' => [
['class' => 'yii\grid\SerialColumn'],
[
'attribute' => 'vehicle_id',
'value' => 'vehicle.plate'
],
'vehicle.plate',
'vehicle.type',
'vehicle.company',
'vehicle.driver',
'vehicle.telephone',
'vehicle.indentity_card',
'factory',
'seal_no',
[
'attribute' => "plate_image_in",
'format' => 'raw',
'contentOptions' => ['class' => 'text-center'],
'headerOptions' => ['style' => 'width:10%'],
'headerOptions' => ['style' => 'width:8%'],
'value' => \app\helpers\LogsGrid::plateIn()
],
[
'attribute' => "time_in",
'format' => 'raw',
'contentOptions' => ['class' => 'text-center'],
'headerOptions' => ['style' => 'width:18%'],
'headerOptions' => ['style' => 'width:5%'],
'value' => \app\helpers\LogsGrid::timeIn()
],
[
'attribute' => "plate_image_out",
'format' => 'raw',
'contentOptions' => ['class' => 'text-center'],
'headerOptions' => ['style' => 'width:10%'],
'headerOptions' => ['style' => 'width:8%'],
'value' => \app\helpers\LogsGrid::plateOut()
],
[
'attribute' => "time_out",
'format' => 'raw',
'contentOptions' => ['class' => 'text-center'],
'headerOptions' => ['style' => 'width:18%'],
'headerOptions' => ['style' => 'width:5%'],
'value' => \app\helpers\LogsGrid::timeOut()
],
'note'