doorlogmanager view minor improvements

This commit is contained in:
Schneider Roland 2023-02-28 22:12:17 +01:00
parent 8f647e3940
commit 2c6739f213
2 changed files with 2 additions and 4 deletions

View File

@ -24,8 +24,7 @@ use yii\widgets\ActiveForm;
<!-- --><?php //= $form->field($model, 'updated_at') ?>
<div class="form-group">
<?= Html::submitButton(Yii::t('common/inventory', 'Search'), ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton(Yii::t('common/inventory', 'Reset'), ['class' => 'btn btn-default']) ?>
<?= Html::submitButton('Keres' , ['class' => 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>

View File

@ -20,7 +20,7 @@ $this->params['breadcrumbs'][] = $this->title;
'dataProvider' => $dataProvider,
'columns' => [
[ 'attribute' => 'id_door_manager_log', "value" =>"id_door_manager_log", "label" => 'ID' ],
'created_at:datetime',
[ 'attribute' => 'created_at', "value" =>"created_at", "format" => "datetime", "label" => 'Létrehozva' ],
[ 'attribute' => 'verify_only', "value" =>function ($model) {
return $model->verify_only ? "I" : "N";
}, "label" => 'Teszt' ],
@ -61,4 +61,3 @@ $this->params['breadcrumbs'][] = $this->title;
]); ?>
</div>
8