diff --git a/backend/models/TransferLaterSearch.php b/backend/models/TransferLaterSearch.php index 587fdee..f758632 100644 --- a/backend/models/TransferLaterSearch.php +++ b/backend/models/TransferLaterSearch.php @@ -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'], ]) ] diff --git a/backend/views/transfer/_pdf_payment_later.php b/backend/views/transfer/_pdf_payment_later.php index e4c11fb..e0fe5b9 100644 --- a/backend/views/transfer/_pdf_payment_later.php +++ b/backend/views/transfer/_pdf_payment_later.php @@ -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'], ], diff --git a/backend/views/transfer/payment_later.php b/backend/views/transfer/payment_later.php index a029bec..b47086c 100644 --- a/backend/views/transfer/payment_later.php +++ b/backend/views/transfer/payment_later.php @@ -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' ], ], ]); ?> diff --git a/changelog.txt b/changelog.txt index 5c1530a..168754a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,5 @@ +-0.0.67 + - payment later - add customer description -0.0.66 - add contract changes -0.0.65 diff --git a/common/config/params.php b/common/config/params.php index 09a66e0..83c859f 100644 --- a/common/config/params.php +++ b/common/config/params.php @@ -4,7 +4,7 @@ return [ 'supportEmail' => 'rocho02@gmail.com', 'infoEmail' => 'info@rocho-net.hu', 'user.passwordResetTokenExpire' => 3600, - 'version' => 'v0.0.66', + 'version' => 'v0.0.67', 'company' => 'movar',//gyor 'company_name' => "Freimann Kft.", 'product_visiblity' => 'account',// on reception which products to display. account or global