@if ($selTickets != '')
@php
Session::put('selTickets', $selTickets);
@endphp
@endif
@csrf
{{ date('D, d M Y', strtotime($event->start_date)) }}
{{ $event->start_time }}
@if ($event->event_type == 'venue')
@if ($event->city != null)
{{ $event->city }}
@endif
@if ($event->country)
, {{ $event->country }}
@endif
@else
{{ __('Online') }}
@endif
{{ __('Order Summary') }}
@php
$selTickets = Session::get('selTickets');
@endphp
@if ($selTickets != null)
-
{{ __('Tickets Info') }}
@foreach ($selTickets as $selTicket)
@php
$ticket = App\Models\Event\Ticket::where('id', $selTicket['ticket_id'])->first();
if ($ticket->pricing_type == 'variation') {
$varition_key = App\Models\Event\VariationContent::where([['ticket_id', $selTicket['ticket_id']], ['name', $selTicket['name']]])
->select('key')
->first();
$varition_name = App\Models\Event\VariationContent::where([['ticket_id', $ticket->id], ['language_id', $currentLanguageInfo->id], ['key', $varition_key->key]])->first();
if ($varition_name) {
$name = $varition_name->name;
} else {
$name = '';
}
} else {
$ticket_content = App\Models\Event\TicketContent::where([['ticket_id', $ticket->id], ['language_id', $currentLanguageInfo->id]])->first();
if (empty($ticket_content)) {
$ticket_content = App\Models\Event\TicketContent::where([['ticket_id', $ticket->id]])->first();
}
$name = $ticket_content->title;
}
@endphp
-
{{ $name }}
{{ $selTicket['qty'] }}x
@endforeach
@endif
- {{ __('Total Tickets') }} {{ $quantity }}
- {{ __('Ticket Price') }}
@if (Session::get('total_early_bird_dicount') != '')
{{ symbolPrice(Session::get('sub_total') - Session::get('total_early_bird_dicount')) }}
@else
{{ symbolPrice(Session::get('sub_total')) }}
@endif
@if (Session::get('total_early_bird_dicount') != 0)
{{ symbolPrice(Session::get('sub_total')) }}
@endif
@if (Session::get('discount') != '')
- {{ __('Coupon Discount') }}
-
{{ symbolPrice(Session::get('discount')) }}
@endif
@if (Session::get('total_early_bird_dicount') != '')
- {{ __('Subtotal') }}
@if (Session::get('total_early_bird_dicount') != '')
@php
$symbol_subtotal = Session::get('sub_total') - (Session::get('total_early_bird_dicount') + Session::get('discount'));
@endphp
{{ symbolPrice($symbol_subtotal) }}
@else
{{ symbolPrice(Session::get('sub_total') - Session::get('discount')) }}
@endif
@endif
@php
if (Session::get('total_early_bird_dicount') != '') {
$subtotal = Session::get('sub_total') - (Session::get('total_early_bird_dicount') + Session::get('discount'));
} else {
$subtotal = Session::get('sub_total') - Session::get('discount');
}
$tax = ($subtotal * $basicData->tax) / 100;
$tax = round($tax, 2);
@endphp
- {{ __('Tax') }} ({{ $basicData->tax }}%)
+
{{ symbolPrice($tax) }}
- {{ __('Total') }}
@php
$symbol_total = Session::get('sub_total') - (Session::get('discount') + Session::get('total_early_bird_dicount')) + $tax;
@endphp
{{ symbolPrice($symbol_total) }}
@php
$sub_total = Session::get('sub_total');
$discount = Session::get('discount');
$total_early_bird_dicount = Session::get('total_early_bird_dicount');
$grand_total = $sub_total + $tax - ($discount + $total_early_bird_dicount);
Session::put('tax', $tax);
Session::put('grand_total', $sub_total - ($discount + $total_early_bird_dicount));
@endphp
@if ($total != 0 || Session::get('sub_total') != 0)
{{ __('Payment Method') }}
@if (Session::has('paypal_error'))
{{ Session::get('paypal_error') }}
@php
Session::forget('paypal_error');
@endphp
@endif
@if (Session::has('error'))
{{ Session::get('error') }}
@endif
@foreach ($offline_gateways as $offlineGateway)
@if (!is_null($offlineGateway->short_description))
@endif
@if (!is_null($offlineGateway->instructions))
@endif
@if ($offlineGateway->has_attachment == 1)
@endif
@endforeach
@else
@endif