@extends('frontend.frontend-page-master') @section('page-title') {{__('User Dashboard')}} @endsection @section('breadcrumb')
  • {{__('User Dashboard')}}
  • @endsection @section('content')
    @include('backend.partials.message') @if($errors->any())
      @foreach($errors->all() as $error)
    • {{$error}}
    • @endforeach
    @endif
    @if(!empty(get_static_option('events_module_status')))

    {{__('Events Attend')}}

    {{count($event_attendances)}}
    @endif

    {{__('Package Order')}}

    {{count($package_orders)}}
    @if(!empty(get_static_option('product_module_status')))

    {{__('Product Order')}}

    {{count($product_orders)}}
    @endif @if(get_static_option('donations_module_status'))

    {{__('Donations')}}

    {{count($donation)}}
    @endif @if(!empty(get_static_option('gig_module_status')))

    {{__('Gigs Order')}}

    {{count($gigs)}}
    @endif
    @if(count($gigs) > 0)
    @foreach($gigs as $data) @endforeach
    {{__('Gig Order Info')}} {{__('Action')}}
    • {{__('Order ID:')}} #{{$data->id}}
    • {{__('Gig Name:')}} {{get_gig_name($data->gig_id)}}
    • {{__('Package Name:')}} {{$data->selected_plan_title}}
    • {{__('Package Price:')}} {{amount_with_currency_symbol($data->selected_plan_price)}}
    • {{__('Revisions:')}} {{$data->selected_plan_revisions.' '.__('Time Revisions')}}
    • {{__('Payment Gateway:')}} {{str_replace('_',' ',$data->selected_payment_gateway)}}
    • {{__('Payment Status:')}} {{ucwords($data->payment_status)}}
    • {{__('Order Status:')}} {{ucwords(str_replace('_',' ',$data->order_status))}}
    • {{__('Delivery Date:')}} {{get_future_date($data->created_at,$data->selected_plan_delivery_days)}}
    @if($data->payment_status == 'pending')
    @csrf
    @else {{__('View')}} @endif @if(!empty( $data->payment_status == 'complete'))
    @csrf
    @endif @if($data->order_status == 'pending')
    @csrf
    @endif
    @else
    {{__('No Order Found')}}
    @endif
    {{ $gigs->links() }}
    @if(count($package_orders) > 0)
    @foreach($package_orders as $data) @endforeach
    {{__('Package Order Info')}} {{__('Payment Status')}}
    {{$data->package_name}}
    {{__('Order ID:')}} #{{$data->id}} {{__('Package Price:')}} {{amount_with_currency_symbol($data->package_price)}} {{__('Payment Gateway:')}} {{get_package_payment_gateway_by_order_id($data->id)}} {{__('Payment Status:')}} @if($data->payment_status == 'pending') {{$data->payment_status}} @elseif($data->payment_status == 'complete') {{$data->payment_status}} @endif {{__('Order Status:')}} @if($data->status == 'pending') {{$data->status}} @elseif($data->status == 'canceled') {{$data->status}} @elseif($data->status == 'in_progress') {{str_replace('_',' ',$data->status)}} @else {{$data->status}} @endif {{__('Date:')}} {{date_format($data->created_at,'D m Y')}}
    @if($data->payment_status == 'pending' && $data->status != 'canceled') {{__('Pay Now')}} @elseif($data->payment_status == 'complete')
    @csrf
    @endif @if($data->status == 'pending')
    @csrf
    @endif
    @else
    {{__('No Order Found')}}
    @endif
    {{ $package_orders->links() }}
    @if(!empty(get_static_option('product_module_status')))
    @if(count($product_orders) > 0)
    @foreach($product_orders as $data) @endforeach
    {{__('Order Info')}} {{__('Payment Status')}}
    {{__('Order ID:')}} #{{$data->id}} {{__('Total Amount:')}}{{amount_with_currency_symbol($data->total)}} {{__('Payment Gateway:')}}{{ucwords(str_replace('_',' ',$data->payment_gateway))}} {{__('Payment Status:')}} @if($data->payment_status == 'pending') {{$data->payment_status}} @elseif($data->payment_status == 'complete') {{$data->payment_status}} @endif {{__('Order Stats:')}} @if($data->status == 'pending') {{$data->status}} @elseif($data->status == 'cancel') {{$data->status}} @elseif($data->status == 'in_progress') {{str_replace('_',' ',$data->status)}} @else {{$data->status}} @endif {{__('Order Date:')}} {{date_format($data->created_at,'d M Y')}}
    {{__('view order')}} @if( $data->payment_gateway != 'cash_on_delivery' && $data->payment_gateway != 'manual_payment' && $data->payment_status == 'pending')
    @csrf
    @endif @if($data->payment_status == 'complete')
    @csrf
    @endif @if($data->status == 'pending')
    @csrf
    @endif
    @else
    {{__('No Product Order Found')}}
    @endif
    {{ $product_orders->links() }}
    @endif @if(!empty(get_static_option('donations_module_status')))
    @if(count($donation) > 0)
    @foreach($donation as $data) @endforeach
    {{__('Donation Info')}} {{__('Payment Status')}}
    @if(!empty($data->donation)) {{$data->donation->title}} @else
    {{__('This donation is not available or removed')}}
    @endif
    {{__('Donation ID:')}} #{{$data->id}} {{__('Amount:')}} {{amount_with_currency_symbol($data->amount)}} {{__('Payment Gateway:')}} {{str_replace('_',' ',$data->payment_gateway)}} {{__('Date:')}} {{date_format($data->created_at,'d M Y')}}
    @if($data->status == 'pending') {{$data->status}} @else {{$data->status}} @endif @if( $data->payment_gateway != 'manual_payment' && $data->status == 'pending')
    @csrf
    @endif @if(!empty($data->donation) && $data->status == 'complete')
    @csrf
    @endif
    @else
    {{__('No Donation Found')}}
    @endif
    {{ $donation->links() }}
    @endif @if(!empty(get_static_option('events_module_status')))
    @if(count($event_attendances) > 0)
    @foreach($event_attendances as $data) @endforeach
    {{__('Event Booking Info')}} {{__('Payment Status')}}
    @if(!empty($data->event)) {{$data->event_name}} @else
    {{__('This event is not available or removed')}}
    @endif
    {{__('Attendance ID:')}} #{{$data->id}} {{__('Ticket Price:')}} {{amount_with_currency_symbol($data->event_cost)}} {{__('Quantity:')}} {{$data->quantity}} {{__('Payment Gateway:')}} @php $custom_fields = unserialize($data->custom_fields); $selected_payment_gateway = isset($custom_fields['selected_payment_gateway']) ? $custom_fields['selected_payment_gateway'] : ''; @endphp {{$selected_payment_gateway}} {{__('Booking Status:')}} @if($data->status == 'pending') {{$data->status}} @else {{$data->status}} @endif {{__('Date:')}} {{date_format($data->created_at,'d M Y')}}
    @if($data->payment_status == 'pending') {{$data->payment_status}}
    {{__('Pay Now')}} @else {{$data->payment_status}}
    @endif @if(!empty($data->event) && $data->payment_status == 'complete')
    @csrf
    @endif
    @else
    {{__('No Event Found')}}
    @endif
    {{ $event_attendances->links() }}
    @endif @if(!empty(get_static_option('product_module_status')))
    @if(!empty($downloads))
    @foreach($downloads as $data) @endforeach
    {{__('Thumbnail')}} {{__('Product Info')}} {{__('Download')}}
    {!! render_image_markup_by_attachment_id($data['image']) !!}

    {{$data['title']}}

    {{{__('Order ID:')}}} #{{$data['order_id']}} {{{__('Quantity:')}}} {{$data['quantity']}} {{{__('Purchased:')}}} {{date_format($data['order_date'],'d M Y')}}
    {{__('Download File')}}
    @else
    {{__('No Downloads Found')}}
    @endif
    @endif

    {{__('Edit Profile')}}

    @csrf

    {{__('Change Password')}}

    @csrf
    @endsection @section('scripts') @endsection