<?php

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

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

$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('backend/money-movement', 'Money Movements'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="money-movement-view">

    <h1><?= Html::encode($this->title) ?></h1>


    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id_money_movement',
			[
            	'attribute' => 'id_account' ,
				'value' => $model->accountName
			],
			[
            	'attribute' => 'id_user' ,
				'value' => $model->userName
			],
            'name',
            'money:integer',
            'comment',
            'created_at:datetime',
        ],
    ]) ?>

</div>
