status flag
This commit is contained in:
@@ -4,6 +4,8 @@ use yii\helpers\Html;
|
||||
use yii\grid\GridView;
|
||||
use common\models\Card;
|
||||
use yii\helpers\Url;
|
||||
use common\components\Helper;
|
||||
use common\models\DoorLog;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $searchModel backend\models\CardSearch */
|
||||
@@ -66,6 +68,13 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
'attribute' => 'key_number',
|
||||
'label' => 'Kulcs száma'
|
||||
],
|
||||
[
|
||||
'attribute' => 'card_flag',
|
||||
'label' => 'Info',
|
||||
'value' => function ($model, $key, $index, $column){
|
||||
return Helper::getArrayValue(DoorLog::getCardFlagTexts(), $model['card_flag'], "Ismeretlen ok");
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user