title = Yii::t('frontend/transfer', 'Transfers');
$this->params['breadcrumbs'][] = $this->title;
?>
= Html::encode($this->title) ?>
render('_search', ['model' => $searchModel, 'accounts' => $accounts,'users' => $users,]); ?>
$searchModel->totals
]);
?>
Tranzakciók
= GridView::widget([
'tableOptions' => ['class' => 'table table-striped table-bordered table-transfer'],
'dataProvider' => $dataProvider,
'columns' => [
[
'attribute' => 'id_transfer',
'value' => 'id_transfer'
],
[
'attribute' => 'type',
'value' => 'transferTypeName'
],
[
'attribute' => 'objectName',
],
[
'attribute' => 'id_user',
'value' => 'userName' ,
'label' => 'Kiadta' ,
],
[
'attribute' => 'paid_by',
'value' => 'paidByName' ,
'label' => 'Fizette'
],
[
'attribute' => 'id_customer',
'value' => 'customerName' ,
'label' => 'Vendég'
],
[
'attribute' => 'id_account',
'value' => 'accountName'
],
[
'contentOptions' =>[ 'class' => 'item-price' ],
'attribute' => 'item_price',
],
[
'contentOptions' =>[ 'class' => 'count' ],
'attribute' => 'count',
],
[
'contentOptions' =>[ 'class' => 'money' ],
'attribute' => 'money',
'value' => 'signedMoney'
],
[
'attribute' => 'status',
'value' => 'statusName'
],
'created_at:datetime',
'paid_at:datetime',
['class' => 'yii\grid\ActionColumn',
'template' => '{view}'
],
],
]); ?>