detsta processing -> move to cart if not successfull, transfer/paymentLater changes
This commit is contained in:
@@ -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'
|
||||
],
|
||||
]
|
||||
]);
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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") ?>
|
||||
|
||||
@@ -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'
|
||||
],
|
||||
],
|
||||
]); ?>
|
||||
|
||||
@@ -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)){
|
||||
|
||||
Reference in New Issue
Block a user