title = Yii::t('frontend/transfer', 'Transfers');
$this->params['breadcrumbs'][] = $this->title;
?>
= Html::encode($this->title) ?>
render('_search', ['model' => $searchModel, 'accounts' => $accounts,'users' => $users,]); ?>
Összesen
$searchModel->fullTotal,
'attributes' => [
[
'value' => $searchModel->fullTotal['money'],
'label' => $searchModel->fullTotal['label'],
],
]
])
?>
Kasszák összesen
new ArrayDataProvider([
'allModels' => $searchModel->accountTotals,
'sort' => false,
'pagination' => false,
]) ,
'columns' => [
[
'label' => Yii::t('common/transfer','Account'),
'value' => 'label'
],
[
'label' => Yii::t('common/transfer','Money total'),
'value' => 'money'
],
]
]
);
?>
Pénzmozgások
= GridView::widget([
'dataProvider' => $dataProvider,
'columns' => [
[
'attribute' => 'type',
'value' => 'transferTypeName'
],
[
'attribute' => 'id_object',
'value' => 'objectName'
],
[
'attribute' => 'id_user',
'value' => 'userName'
],
[
'attribute' => 'id_account',
'value' => 'accountName'
],
'item_price',
'count',
'money',
'created_at:datetime',
['class' => 'yii\grid\ActionColumn',
'template' => '{view}'
],
],
]); ?>