@extends('layouts.main_investor') @section('content')
@php $current_route=Route::current()->parameters()['type']; $lang= App::getLocale(); $statusProperty = 'status_'.$lang; $currencyProperty = 'currency_'.$lang; @endphp
@if(!is_numeric($current_route)) @endif @php $current_route1=Route::currentRouteName();@endphp
  • @csrf
    @if(!empty($allbookings->toArray()['data'])) @foreach($allbookings as $k=>$item)
    image aqar
    @lang('site.ads_number') : {{$item->aqar_id}}
    @lang('site.booking_number') : {{$item->book_id}}
    @lang('site.booking_destination') : {{$item->type}}
    @lang('site.date_of_arrival') : {{$item->delivery_date}}
    @lang('site.date_of_departure') : {{$item->reciept_date}}
    @lang('site.days') : {{$item->day_count}} @lang('site.day')
    @lang('site.total_price') : {{$item->total_price}} {{$item->$currencyProperty ?? '' }}
    @lang('site.deposits') : {{$item->total_price/$item->day_count}} {{$item->$currencyProperty ?? '' }}
    @lang('site.arrival hour') : {{date('h:i a', strtotime($item->time_from))}}
    @lang('site.departure_hour') : {{date('h:i a', strtotime($item->time_to))}}
    @lang('site.ads_status') : @lang('site.confirmed') {{$item->$statusProperty ?? '' }}
    @endforeach @if($allbookings->hasPages())
    @endif @else
    @lang('site.no_bookings')
    empty icon
    @endif
@endsection @section('scripts') @endsection