isCardWithCustomer() ){ $attributes = [ [ 'label' => 'Kártyaszám', 'value' => $model->card->number ], [ 'label' => 'Vendég', 'value' => $model->customer->name ], [ 'label' => 'E-Mail', 'value' => $model->customer->email ], [ 'label' => 'Telefon', 'value' => $model->customer->phone ], [ 'label' => 'Kiadott törölközők', 'value' => $model->customer->towel_count ], [ 'label' => 'Kulcsok', 'value' => empty($model->keysText) ? '' : ( "
$model->card->number])."'>" .$model->keysText .Html::hiddenInput("KeyToggleForm[key]", $model->keysText) .Html::submitButton("Visszaad", [ 'style' => 'float: right;', 'class' => 'btn btn-primary btn-xs']) ."
") , 'format' => 'raw' ], [ 'label' => 'Fénykép', 'value' => $model->customer->image1 ? Html::img( Url::base( ) . Image::thumb( $model->customer->image1->path,160,120 )) : 'Nincs kép', 'format' => 'raw' ], ]; ?>
$model, 'attributes' => $attributes ]) ?>
$model->card->number],['class' => 'btn btn-success me-3']); if ( isset($showLinkDevices) && $showLinkDevices === true ) { echo Html::a('Eszköz aktiválása', ['mobile-device/index', 'id_card' => $model->card->id_card], ['class' => 'btn btn-success']); }?>