@extends('layouts.master') @push('head-css') @endpush @section('content')
@if($user->is_admin)
@php($updateVersionInfo = \Froiden\Envato\Functions\EnvatoUpdate::updateVersionInfo()) @if(isset($updateVersionInfo['lastVersion']))
@lang('modules.update.newUpdate') {{ $updateVersionInfo['lastVersion'] }}
@endif
@endif @if (!$user->mobile_verified && $smsSettings->nexmo_status == 'active')
@endif @if (strlen($smsSettings->nexmo_from) > 18)
@endif
@lang('app.dateRange')

@lang('modules.dashboard.totalBooking'): 0

@lang('modules.dashboard.walkInBookings') 0
@lang('modules.dashboard.onlineBookings') 0
@if($user->is_admin)
@lang('modules.dashboard.totalCustomers') 0
{{ $settings->currency->currency_symbol }}
@lang('modules.dashboard.totalEarning') 0
@endif
@if($user->is_admin)

@lang('modules.dashboard.recentBookings')

@forelse($recentSales as $booking) @empty @endforelse
{{ ucwords($booking->user->name) }}
{{ $booking->user->email ?? '--' }}
{{ $booking->user->mobile ? $booking->user->formatted_mobile : '--' }}
@if ($booking->deal_id!='') @lang('app.deal') @endif
    @foreach($booking->items as $key=>$item)
  1. {{ ucwords($item->businessService->name) }} x{{ $item->quantity }}
  2. @endforeach
@if ($booking->date_time!='') {{ $booking->date_time->translatedFormat($settings->date_format) }}
{{ $booking->date_time->translatedFormat($settings->time_format) }} @else @lang('app.notAvailable') @endif
@lang('app.'.$booking->status) @if(($booking->status == 'pending' || $booking->status == 'approved') && $booking->date_time!='' && $booking->date_time->greaterThanOrEqualTo(\Carbon\Carbon::now()))

@lang('modules.booking.sendReminder') @endif
@lang('messages.noRecordFound')
@endif
@if ($user->is_admin || $user->is_employee)
@endif
@endsection @push('footer-js') @endpush