@extends('backend.layout') @section('content')
{{ __('Booking No.') }} | {{ __('Title') }} | {{ __('Vendor') }} | {{ __('Customer') }} | {{ __('Total') }} | {{ __('Vendor Received') }} | {{ __('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 $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') @else {{ ucfirst($booking->payment_status) }} @endif @endif |
@if ($basicData->self_pickup_status == 1 || $basicData->two_way_delivery_status == 1)
{{ ucwords($booking->shipping_method) }} | @endif@if ($booking->security_deposit_amount > 0) @else @endif |
|