@extends('vendors.layout') @section('content')
{{ __('Booking No.') }} | {{ __('Title') }} | {{ __('Customer') }} | {{ __('Total') }} | {{ __('Received Amount') }} | {{ __('Payment Status') }} | @if ($basicData->self_pickup_status == 1 || $basicData->two_way_delivery_status == 1){{ __('Shipping Type') }} | @endif{{ __('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 $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 | {{ $booking->currency_symbol_position == 'left' ? $booking->currency_symbol : '' }}{{ $booking->received_amount }}{{ $booking->currency_symbol_position == 'right' ? $booking->currency_symbol : '' }} |
@if ($booking->gateway_type == 'online')
{{ __('Completed') }}@else @if ($booking->payment_status == 'completed'){{ __('Completed') }}
@elseif($booking->payment_status == 'pending')
{{ __('Rejected') }} @endif @endif |
@if ($basicData->self_pickup_status == 1 || $basicData->two_way_delivery_status == 1)
{{ ucwords($booking->shipping_method) }} | @endif@if ($booking->return_status == 1) {{ __('Yes') }} @else @if ($booking->security_deposit_amount > 0) @else @endif @endif |
|