@extends('user.layout') @section('content') @php $defaultLang = \App\Models\User\Language::where('is_default', 1) ->where('user_id', Auth::user()->id) ->first(); @endphp
{{ __('Booking No.') }} | {{ __('Room') }} | {{ __('Rent') }} | {{ __('Paid via') }} | {{ __('Payment Status') }} | {{ __('Attachment') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|---|---|
{{ '#' . $booking->booking_number }} | @php $title = $booking->hotelRoom->roomContent->where('language_id', $defaultLang->id)->first()->title; @endphp {{ strlen($title) > 25 ? mb_substr($title, 0, 25, 'utf-8') . '...' : $title }} | {{ $booking->currency_text_position == 'left' ? $booking->currency_text : '' }} {{ $booking->grand_total }} {{ $booking->currency_text_position == 'right' ? $booking->currency_text : '' }} | {{ $booking->payment_method }} |
@if ($booking->gateway_type == 'online')
@if ($booking->payment_status == 1)
{{ __('Paid') }}@else{{ __('Unpaid') }}@endif @else @endif |
@if (!empty($booking->attachment)) {{ __('Show') }} @else - @endif |
|