@extends('frontend.layout') @section('pageHeading') {{ __('Check Out') }} @endsection @section('custom-style') @endsection @section('hero-section')
@php $authUser = Auth::guard('customer')->user(); @endphp @endsection @section('content') {{--
@csrf

{{ __('Billing Details') }}


@error('fname')

{{ $message }}

@enderror
@error('lname')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror
@error('country')

{{ $message }}

@enderror
@error('city')

{{ $message }}

@enderror
@error('zip_code')

{{ $message }}

@enderror
@error('address')

{{ $message }}

@enderror
@if ($selTickets != '') @php Session::put('selTickets', $selTickets); @endphp @endif @csrf
Checkout
{{ @$event->title }}
{{ date('D, d M Y', strtotime($event->start_date)) }}   {{ $event->start_time }} @if ($event->event_type == 'venue') {{ $event->address }} @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 @if (array_key_exists('seat_id', $selTicket) && array_key_exists('slot_id', $selTicket) && array_key_exists('seat_name', $selTicket) && array_key_exists('slot_name', $selTicket) && array_key_exists('qty', $selTicket) && array_key_exists('payable_price', $selTicket) && array_key_exists('name', $selTicket))
    {{ $selTicket['qty'] }} * {{ $selTicket['name'] }}
    {{ __('Slot Name') }}:{{ $selTicket['slot_name'] }} {{ __('Seat Name') . ':' . $selTicket['seat_name'] }}
    {{ symbolPrice($selTicket['payable_price']) }}
    @else
  • {{ $name }} {{ $selTicket['qty'] }}x
  • @endif @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)

{{ __('Coupon') }}

{{ __('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
@error('gateway')

{{ $message }}

@enderror() @if (Session::has('currency_error'))

{{ Session::get('currency_error') }}

@endif
@error('identity_number')

{{ $message }}

@enderror
@foreach ($offline_gateways as $offlineGateway)
@if (!is_null($offlineGateway->short_description))

{{ $offlineGateway->short_description }}

@endif @if (!is_null($offlineGateway->instructions))
{!! $offlineGateway->instructions !!}
@endif @if ($offlineGateway->has_attachment == 1)

@error('attachment')

{{ $message }}

@enderror

@endif
@endforeach @else @endif
--}}

Billing Details

@endsection @section('custom-script') @endsection