ticket price on order checkout
This commit is contained in:
parent
b576ab5461
commit
706a5a2fa1
|
|
@ -174,7 +174,7 @@ class EventCheckoutController extends Controller
|
|||
'booking_fee' => ($seats_count * $ticket->booking_fee),
|
||||
'organiser_booking_fee' => ($seats_count * $ticket->organiser_booking_fee),
|
||||
'total_booking_fee' => $ticket->total_booking_fee,
|
||||
'full_price' => $ticket->price + $ticket->total_booking_fee,
|
||||
'original_price' => $ticket->price,
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -194,19 +194,19 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>@lang('Public_ViewEvent.booking_fees')</th>
|
||||
<th>@lang('Public_ViewEvent.price')</th>
|
||||
<th style="text-align: right;">@lang('Public_ViewEvent.booking_fees')</th>
|
||||
<th style="text-align: right;">@lang('Public_ViewEvent.price')</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@foreach($tickets as $ticket)
|
||||
<tr>
|
||||
<td class="pl0">{{{$ticket['ticket']['title']}}} X <b>{{$ticket['qty']}}</b></td>
|
||||
<td style="text-align: right;">{{$ticket['total_booking_fee']}}</td>
|
||||
<td style="text-align: right;">{{money($ticket['total_booking_fee'], $event->currency)}}</td>
|
||||
<td style="text-align: right;">
|
||||
@if((int)ceil($ticket['price']) === 0)
|
||||
@if((int)ceil($ticket['original_price']) === 0)
|
||||
@lang("Public_ViewEvent.free")
|
||||
@else
|
||||
{{ money($ticket['price'], $event->currency) }}
|
||||
{{ money($ticket['original_price'], $event->currency) }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue