add reception key changes, add money movent storno, status display

This commit is contained in:
2016-01-22 19:10:30 +01:00
parent a2a6b1f240
commit 027a96790a
24 changed files with 220 additions and 25 deletions

View File

@@ -190,6 +190,24 @@ $this->params['breadcrumbs'][] = $this->title;
<?php echo $model->ticket->part_paid ;?>
</td>
</tr>
<tr>
<th>
DetSta válasz kód
</th>
<td>
<?php echo $model->detsta_answer ;?>
</td>
<th>
DetSta válasz szöveg
</th>
<td>
<?php echo $model->comment ;?>
</td>
<th>
</th>
<td>
</td>
</tr>
</table>
<?php

View File

@@ -92,6 +92,7 @@ $this->params['breadcrumbs'][] = $this->title;
],
'start:date',
'end:date',
'created_at:date',
[
'attribute' => 'id_user',
'value' => 'userName'

View File

@@ -22,15 +22,18 @@ use kartik\widgets\DatePicker;
]); ?>
<div class='row'>
<div class='col-md-4'>
<div class='col-md-3'>
<?= $form->field($model, 'id_account')->dropDownList( ['' => Yii::t('common/transfer', 'All')] +HtmlHelper::mkAccountOptions($accounts) ) ?>
</div>
<div class='col-md-4'>
<div class='col-md-3'>
<?php echo $form->field($model, 'types')->checkboxList( Transfer::types()) ?>
</div>
<div class='col-md-4'>
<div class='col-md-3'>
<?= $form->field($model, 'id_user')->dropDownList( ['' => Yii::t('common/transfer', 'All')] +ArrayHelper::map($users,'id' , 'username') ) ?>
</div>
<div class='col-md-3'>
<?= $form->field($model, 'status')->dropDownList( ['' => "Mind"] + Transfer::statuses() ) ?>
</div>
</div>
<div class="row">

View File

@@ -75,6 +75,10 @@ $this->params['breadcrumbs'][] = $this->title;
'attribute' => 'money',
'value' => 'signedMoney'
],
[
'attribute' => 'status',
'value' => 'statusName'
],
'created_at:datetime',
'paid_at:datetime',