add changes to backend transfers2
This commit is contained in:
@@ -14,6 +14,15 @@ use yii\data\ArrayDataProvider;
|
||||
$this->title = Yii::t('frontend/transfer', 'Transfers');
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<style>
|
||||
.table-transfer .money,
|
||||
.table-transfer .count,
|
||||
.table-transfer .item-price
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="transfer-index">
|
||||
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
@@ -56,6 +65,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<h2>Pénzmozgások</h2>
|
||||
<?= GridView::widget([
|
||||
'tableOptions' => ['class' => 'table table-striped table-bordered table-transfer'],
|
||||
'dataProvider' => $dataProvider,
|
||||
'columns' => [
|
||||
|
||||
@@ -64,8 +74,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
'value' => 'transferTypeName'
|
||||
],
|
||||
[
|
||||
'attribute' => 'id_object',
|
||||
'value' => 'objectName'
|
||||
'attribute' => 'objectName',
|
||||
],
|
||||
[
|
||||
'attribute' => 'id_user',
|
||||
@@ -75,9 +84,19 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
'attribute' => 'id_account',
|
||||
'value' => 'accountName'
|
||||
],
|
||||
'item_price',
|
||||
'count',
|
||||
'money',
|
||||
[
|
||||
'contentOptions' =>[ 'class' => 'item-price' ],
|
||||
'attribute' => 'item_price',
|
||||
],
|
||||
[
|
||||
'contentOptions' =>[ 'class' => 'count' ],
|
||||
'attribute' => 'count',
|
||||
],
|
||||
[
|
||||
'contentOptions' =>[ 'class' => 'money' ],
|
||||
'attribute' => 'money',
|
||||
'value' => 'signedMoney'
|
||||
],
|
||||
'created_at:datetime',
|
||||
|
||||
['class' => 'yii\grid\ActionColumn',
|
||||
|
||||
Reference in New Issue
Block a user