@extends('layout') @section('title') {{__('admin.Orders')}} @endsection @section('frontend-content')
@include('profile.sidebar')

{{__('admin.Included Services')}}

    @foreach (json_decode($order->package_features) as $package_feature) @if ($package_feature)
  • {{ $package_feature }}
  • @endif @endforeach
@if (count(json_decode($order->additional_services)) > 0)

{{__('admin.Additional Service')}}

@foreach (json_decode($order->additional_services) as $index => $additional_service)

{{ ++$index }}. {{ $additional_service->title }}

    @foreach ($additional_service->features as $feature_indx => $feature ) @if ($feature)
  • {{ $feature }}
  • @endif @endforeach
@endforeach
@endif

{{__('admin.Booking Information')}}

  • {{__('admin.Start Date')}}:

    {{ date('d-M-Y', strtotime($order->start_date)) }}

  • {{__('admin.End Date')}}:

    {{ date('d-M-Y', strtotime($order->end_date)) }}

  • {{__('admin.Number of Days')}}:

    {{ $order->number_of_day }}

  • {{__('admin.Booking Id')}}:

    #{{ $order->order_id }}

  • {{__('admin.Name')}}:

    {{ $order->client_name }}

  • {{__('admin.Phone')}}:

    {{ $order->client_phone }}

  • {{__('admin.Email')}}:

    {{ $order->client_email }}

  • {{--
  • {{__('admin.City')}}:

    {{ $order?->city?->name }}

  • --}}
  • {{__('admin.Address')}}:

    {{ $order->client_name }}

  • {{__('admin.Booking Created')}}:

    {{ $order->created_at->format('d-m-Y') }}

  • {{__('admin.Booking Created Time')}}:

    {{ $order->created_at->format('h:i A') }}

  • {{__('admin.Booking Note')}}:

    {{ html_decode($order->order_note) }}

  • {{__('admin.Influencer')}}:

    {{ $order->influencer->name }}

  • {{__('admin.Service')}}:

    {{ $order->service->title }}

{{__('admin.Payment Information')}}

  • {{__('admin.Payment Status')}}:

    @if ($order->payment_status == 'pending') {{__('admin.Pending')}} @elseif ($order->payment_status == 'success') {{__('admin.Success')}} @endif

  • {{__('admin.Payment Method')}}:

    {{ $order->payment_method }}

  • {{__('admin.Transaction')}}:

    {{ html_decode($order->transection_id) }}

  • {{__('admin.Sub Total')}}:

    {{ currency($order->package_amount) }}

  • {{__('admin.Additional')}}:

    {{ currency($order->additional_amount) }}

  • {{__('admin.Discount')}} (-):

    {{ currency($order->coupon_discount) }}

  • {{__('admin.Total Amount')}}:

    {{ currency($order->total_amount - $order->coupon_discount) }}

  • {{__('admin.Order Status')}}:

    @if ($order->order_status == 'awaiting_for_influencer_approval') {{__('admin.awaiting for influencer approval')}} @elseif ($order->order_status == 'approved_by_influencer') {{__('admin.Approved')}} @elseif ($order->order_status == 'order_decliened_by_influencer') {{__('admin.Declined by influencer')}} @elseif ($order->order_status == 'order_decliened_by_client') {{__('admin.Declined by me')}} @elseif ($order->order_status == 'complete') {{__('admin.Complete')}} @endif

@if ($order->order_status == 'approved_by_influencer') @if ($order->order_status != 'complete') {{__('admin.Mark as complete')}} {{__('admin.Decliend Order')}} @endif @endif @if ($order->order_status == 'order_decliened_by_client' || $order->order_status == 'order_decliened_by_influencer') @if (!$refund_request) {{__('admin.Send Refund Request')}} @endif @endif
@if ($refund_request)

{{__('admin.Refund Request :')}}

  • {{__('admin.Request Date')}} :

    {{ $refund_request->created_at->format('h:i A, d-M-Y') }}

  • {{__('admin.Reasone')}} :

    {!! html_decode(clean(nl2br($refund_request->reasone))) !!}
  • {{__('admin.Account Information')}} :

    {!! html_decode(clean(nl2br($refund_request->account_information))) !!}
  • {{__('admin.Refund Status')}}:

    @if ($order->complete_by_admin == 'Yes') {{__('admin.Refund request declined and order completed by admin')}} @else @if ($refund_request->status == 'awaiting_for_admin_approval') {{__('admin.awaiting for admin approval')}} @elseif ($refund_request->status == 'decliened_by_admin') {{__('admin.Decliened by admin')}} @else {{__('admin.Complete')}} @endif @endif

@endif
@endsection