<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model app\models\Requisites */

$this->title = $model->account . ' / ' . $model->bank;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Requisites ID'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="panel panel-primary">
    <div class="panel-heading"><span class="glyphicon glyphicon-pencil"></span><strong> <?= Html::encode($this->title) ?></strong></div>
    <div class="panel-body">


        <div class="requisites-view">

            <p>
                <?= Html::a(Yii::t('app', 'Update ID'), ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
                <?= Html::a(Yii::t('app', 'Delete ID'), ['delete', 'id' => $model->id], [
                    'class' => 'btn btn-danger',
                    'data' => [
                        'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'),
                        'method' => 'post',
                    ],
                ]) ?>
            </p>

            <?= DetailView::widget([
                'model' => $model,
                'attributes' => [
                    //'id',
                    //'user_id',
                    'account',
                    'bank',
                    'city',
                    'mfo',
                    'zkpo',
                ],
            ]) ?>

        </div>
    </div>
</div>
