{{ __('messages.monthly_revenue') }}

{{ __('messages.top_handyman') }}

{{ __('messages.view_all') }}
    @foreach ($data['dashboard']['top_handyman'] as $customer)
  • user-icon
    {{ !empty($customer->display_name) ? $customer->display_name : '-' }}
    {{ optional($data['datetime'])->date_format && optional($data['datetime'])->time_format ? \Carbon\Carbon::parse($customer->created_at)->format(optional($data['datetime'])->date_format) . ' ' . \Carbon\Carbon::parse($customer->created_at)->format(optional($data['datetime'])->time_format) : '' }}
  • @endforeach

{{ __('messages.recent_booking') }}

{{ __('messages.view_all') }}
    @foreach ($data['dashboard']['upcomming_booking'] as $booking) @php $getAttachments = getAttachments( optional($booking->service)->getMedia('service_attachment'), null, ); @endphp
  • user-icon
    #{{ $booking->id }}
    {{ optional($data['datetime'])->date_format && optional($data['datetime'])->time_format ? date(optional($data['datetime'])->date_format, strtotime($booking->date)) . ' ' . date(optional($data['datetime'])->time_format, strtotime($booking->date)) : '' }}
    {{ ucwords(str_replace('_', ' ', $booking->status)) }}
  • @endforeach