<?php

use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\base\Widget;
use backend\components\AdminCustomerTabWidget;

/* @var $this yii\web\View */
/* @var $model common\models\Customer */

$this->title = "Vendég információk";
$this->params['breadcrumbs'][] = "Vendég";
$this->params['breadcrumbs'][] = "Információk";
?>

<?php echo AdminCustomerTabWidget::widget(['customer' => $model]) ?>

<div class="customer-view">


    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
        	[
        		'attribute' => 'id_customer_card',
        		'value' => $model->customerCardNumber
        	],
        	[
        		'attribute' => 'id_user',
        		'value' => $model->username,
        		'label' => 'Felhasználó'
        	],
            'name',
            'email:email',
            'phone',
        		[
        		'attribute' => 'sex',
        		'value' => $model->sexHuman
        		],
            'date_stundent_card_expire',
            'birthdate:date',
            'image',
            'description',
            'tax_number',
        		[
        		'attribute' => 'bank_name',
        		'label' => 'Bank neve'
        		],
        		[
        		'attribute' => 'bank_account',
        		'label' => 'Bankszámlaszám'
        		],
            'country',
            'zip',
            'city',
            'address',
            'created_at:datetime',
            'updated_at:datetime',
        ],
    ]) ?>

</div>
