@extends('backend.layout') @section('content')
@if ($basicData->self_pickup_status == 1 && $basicData->two_way_delivery_status == 1)
@endif
@if (count($bookings) == 0)

{{ __('NO BOOKING FOUND') . '!' }}

@else
@if ($basicData->self_pickup_status == 1 || $basicData->two_way_delivery_status == 1) @endif @foreach ($bookings as $booking) @if ($basicData->self_pickup_status == 1 || $basicData->two_way_delivery_status == 1) @endif @includeWhen($booking->price_message, 'backend.instrument.booking.show-message') @includeWhen($booking->attachment, 'backend.instrument.booking.show-receipt') @endforeach
{{ __('Booking No.') }} {{ __('Title') }} {{ __('Vendor') }} {{ __('Customer') }} {{ __('Total') }} {{ __('Vendor Received') }} {{ __('Payment Status') }}{{ __('Shipping Type') }}{{ __('Shipping Status') }} {{ __('Return Status') }} {{ __('Actions') }}
{{ '#' . $booking->booking_number }} {{ strlen($booking->equipmentTitle->title) > 20 ? mb_substr($booking->equipmentTitle->title, 0, 20, 'UTF-8') . '...' : $booking->equipmentTitle->title }} @php $vendor = $booking->vendor()->first(); @endphp @if ($vendor) {{ $vendor->username }} @else {{ __('Admin') }} @endif @php $user = $booking->user()->first(); @endphp @if ($user) {{ $user->username }} @else {{ __('Guest') }} @endif @if (is_null($booking->booking_type)) {{ $booking->currency_symbol_position == 'left' ? $booking->currency_symbol : '' }}{{ $booking->grand_total }}{{ $booking->currency_symbol_position == 'right' ? $booking->currency_symbol : '' }} @else {{ __('Requested') }} @endif @if ($booking->vendor_id != null) {{ $booking->currency_symbol_position == 'left' ? $booking->currency_symbol : '' }}{{ $booking->received_amount }}{{ $booking->currency_symbol_position == 'right' ? $booking->currency_symbol : '' }} @else {{ '-' }} @endif @if ($booking->gateway_type == 'online' && $booking->payment_method != 'Iyzico')

{{ __('Completed') }}

@elseif($booking->gateway_type == 'online' && $booking->payment_method == 'Iyzico')

{{ __(ucfirst($booking->payment_status)) }}

@else @if ($booking->payment_status == 'pending')
@csrf
@else {{ ucfirst($booking->payment_status) }} @endif @endif
{{ ucwords($booking->shipping_method) }}
@csrf
@if ($booking->security_deposit_amount > 0)
@csrf
@else
@csrf
@endif
@endif
@includeIf('backend.instrument.booking.return_modal') @endsection