detsta processing -> move to cart if not successfull, transfer/paymentLater changes

This commit is contained in:
2016-07-27 07:20:47 +02:00
parent b52cc1a438
commit fdbd39b059
29 changed files with 700 additions and 124 deletions

View File

@@ -159,6 +159,10 @@ echo Html::a("Vissza a köteghez",['ugiro/view', 'id' => $model->id_ugiro] ,[ '
'value' => $tetel->request->customer->name ,
'label' => 'Vendég'
],
[
'value' => $tetel->request->customer->card->number ,
'label' => 'Vendég'
],
]
]);

View File

@@ -89,7 +89,6 @@ use yii\helpers\Html;
<td>
<?php echo $model['request_id_contract'] ;?>
</td>
</tr>
<tr>
<th>
@@ -105,8 +104,10 @@ use yii\helpers\Html;
<?php echo $model['customer_name'];?>
</td>
<th>
Kártyaszám
</th>
<td>
<?php echo $model['card_number'];?>
</td>
</tr>
<tr>

View File

@@ -46,6 +46,25 @@ use common\models\User;
]) ?>
</div>
</div>
<div class="row">
<div class="col-md-4">
<?= $form->field($model, 'enterStart')->widget(DateTimePicker::classname(), [
'pluginOptions' => [
'autoclose'=>true,
'format' => 'yyyy.mm.dd hh:ii'
]
])->label("Belépések -tól") ?>
</div>
<div class="col-md-4">
<?= $form->field($model, 'enterEnd') ->widget(DateTimePicker::classname(), [
'pluginOptions' => [
'autoclose'=>true,
'format' => 'yyyy.mm.dd hh:ii'
]
])->label("Belépések -ig") ?>
</div>
</div>
<div class="row">
<div class="col-md-4">
<?= $form->field($model, 'id_ticket_type')->dropDownList($ticketTypeOptions)->label("Bérlet típus") ?>

View File

@@ -38,7 +38,7 @@ $this->params['breadcrumbs'][] = $this->title;
<div style="margin-bottom: 6px;">
<?php
echo Html::a("PDF",Url::current(['TransferLaterSearch[output]'=>'pdf']), ['class' => 'btn btn-primary' ]);
echo Html::a("XLS",Url::current(['TransferLaterSearch[output]'=>'xls']), ['class' => 'btn btn-primary' ]);
?>
</div>
@@ -85,6 +85,10 @@ echo Html::a("Egyiket sem",null, ['class' => 'btn btn-primary deselect-all',
'attribute' => 'customer_name',
'label' => 'Vendég'
],
[
'attribute' => 'card_number',
'label' => 'Kártyaszám'
],
[
'attribute' => 'ticket_type_name',
'label' => 'Bérlet típus'
@@ -126,6 +130,10 @@ echo Html::a("Egyiket sem",null, ['class' => 'btn btn-primary deselect-all',
[
'attribute' => 'ticket_comment',
'label' => 'Megj'
],
[
'attribute' => 'enter',
'label' => 'Belépések'
],
],
]); ?>

View File

@@ -125,7 +125,7 @@ $attributes = [
//echo Html::a("DetSta Fájl Feldoglozás",['view', 'id' => $model->id_ugiro] ,['data-method' =>'post', 'class' => 'btn btn-danger']);
}
echo Html::a("Megbízások a kötegben",['ticket-installment-request/index', 'TicketInstallmentRequestSearch[id_ugiro]' => $model->id_ugiro] ,[ 'class' => 'btn btn-primary']);
echo Html::a("PDF", Url::current(['output' => 'pdf']) ,[ 'class' => 'btn btn-primary']);
echo Html::a("Xls", Url::current(['output' => 'xls']) ,[ 'class' => 'btn btn-primary']);
$detstaMessage = $model->messageDetsta;
if ( isset($detstaMessage)){