@extends('layouts.master_frontend') @section('content') @php $i = $j = 0; $totalAmount = 0; @endphp

Hello, {{Auth::user()->name}}

Edit & View Your Profile
@include('frontend.includes.sidebar_menu')

{{$totals['today_bookings']}}

Today Bookings

{{$totals['bookings']}}

Total Booking

{{$totals['upcoming_bookings']}}

Upcoming Booking

Bookings

@foreach($datalist as $k=>$val) @php $dateDiff = dateDiff($val->check_in, date('Y-m-d'), 'daysWIthSymbol'); $calc = calcFinalAmount($val); $totalAmount = $totalAmount+$calc['finalRoomAmount']+$calc['finalOrderAmount']+$calc['additionalAmount']; $i++; $statusArr = getBookingStatus($val); @endphp @endforeach
Rooms Booking Date Booking Details Price Status
{{count($val->booked_rooms)}} Rooms / {{lang_trans('btn_view')}} @include('backend/model/booked_rooms_modal',['val'=>$val]) {{dateConvert($val->check_in,'d-m-Y H:i')}} - {{dateConvert($val->check_out,'d-m-Y H:i')}} {{$val->adult}} Adults, {{$val->kids}} Kids {{getCurrencySymbol()}} {{numberFormat($calc['finalRoomAmount']+$calc['finalOrderAmount']+$calc['additionalAmount'])}} {{$statusArr['status']}}
{{ $datalist->links() }}
@endsection