add payment later customer description

This commit is contained in:
2016-04-22 22:48:43 +02:00
parent 49e3bea3d1
commit 72c5e8fa32
5 changed files with 17 additions and 3 deletions

View File

@@ -77,6 +77,7 @@ class TransferLaterSearch extends Transfer
'user.username as user_username',
'customer.id_customer as customer_id_customer',
'customer.name as customer_name',
'customer.description as customer_description',
'ticket_type.name as ticket_type_name',
'product.name as product_name',
'ticket.start as ticket_start',
@@ -117,6 +118,7 @@ class TransferLaterSearch extends Transfer
['ticket_start'],
['ticket_end'],
['ticket_comment'],
['customer_description'],
])
]

View File

@@ -102,9 +102,15 @@ use common\models\Transfer;
},
],
*/
[
'attribute' => 'customer_description',
'label' => 'Megjegyzés',
'enableSorting' => false,
'contentOptions' => ['class' => 'customer_description'],
],
[
'attribute' => 'ticket_comment',
'label' => 'Megjegyzés',
'label' => 'Megj',
'enableSorting' => false,
'contentOptions' => ['class' => 'ticket_comment'],
],

View File

@@ -119,9 +119,13 @@ echo Html::a("Egyiket sem",null, ['class' => 'btn btn-primary deselect-all',
return Helper::getArrayValue(Transfer::statuses(), $model['transfer_status'],'');
},
],
[
'attribute' => 'customer_description',
'label' => 'Megjegyzés'
],
[
'attribute' => 'ticket_comment',
'label' => 'Megjegyzés'
'label' => 'Megj'
],
],
]); ?>