@extends('layouts.admin') @section('css') @endsection @section('content')

{{ __('dashboard.deliveries') }}

{!! $dashboardData['delivery_orders'] !!}

{{ __('dashboard.orders') }}

{!! $dashboardData['total_orders'] !!}

{{ __('dashboard.pickups') }}

{!! $dashboardData['pickup_orders'] !!}

{{ __('dashboard.dine_in') }}

{!! $dashboardData['dine_in_orders'] !!}

{{--

{{ __('dashboard.today_income_today') }}

{!! numberFormat($dashboardData['total_sale'], 1, false) ." " . currency('currency_code') !!}

--}}

{{ __('dashboard.today_income_today') }}

{!! numberFormat($dashboardData['total_sale'], 1, false) ." " . currency('currency_code') !!}

{{ __('dashboard.yesterday_average_sale') }}

{!! numberFormat($yesterdayAverageSale, 1, false) ." " . currency('currency_code') !!}

{{--
  • --}}{{--{{ __('dashboard.today_order_in_perc') }}--}}{{-- {{ __('dashboard.yesterday_average_sale') }}

--}}{{--

Check out each column for more details

--}}{{--

{!! numberFormat($yesterdayAverageSale ?? 0) !!}

--}}{{----}}{{--
--}}
{!! Form::select('yummy_store[]', $stores, [], [ 'class' => 'form-control select2 mb-2', 'multiple' => true, 'data-actions-box' => 'true', 'data-width' => '100%', 'id' => '__yummy_report_store' ]) !!}
 
@if($yummyReport['circle_center_danger']) {!! $yummyReport['yr_circle_center_amount'] !!} @else {!! $yummyReport['yr_circle_center_amount'] !!} @endif
Raw Cost {!! $yummyReport['raw_cost_per'] !!} {!! $yummyReport['raw_cost_format'] !!}
Royalty Fee {!! $yummyReport['royalty_fee_per'] !!} {!! $yummyReport['royalty_fee_format'] !!}

Netto Income {!! $yummyReport['netto_cost_per'] !!} {!! $yummyReport['netto_cost_format'] !!}
  • {{ __('dashboard.live_sales') }}

  • {{ __('dashboard.week_sales') }}

{{ __('dashboard.trend_sales') }}

{!! Form::select('trend_stores[]', $stores, [], [ 'class' => 'form-control select2 mb-2', 'multiple' => true, 'data-actions-box' => 'true', 'data-width' => '100%', 'id' => '__trend_store' ]) !!}
@include('layouts.partials.trend-sale', ['trendingCategories' => $trendSaleData['category']])
  • {{ __('dashboard.live_sales') }}

  •  
@include('layouts.partials.live-sales', ['liveSales' => $liveSale])
{{ __('dashboard.branch') }} {{ __('dashboard.total') }}
{!! Form::select('store', $stores, $store1, ['class' => 'form-control select2 mb-2', 'data-target' => 'myBryneChart', 'id' => '__store']) !!}
{!! Form::select('store', $stores, $store2, ['class' => 'form-control select2 mb-2', 'data-target' => 'myStavangerChart', 'id' => '__store']) !!}
  • {{ __('dashboard.device_monitoring') }}

@if(is_object($deviceAvailability))
{{ __('dashboard.online') }} {{ __('dashboard.offline') }}
{!! __('dashboard.kiosk') !!} {!! (int) $deviceAvailability->kiosk_online !!} {!! (int) $deviceAvailability->kiosk_offline !!}
{!! __('dashboard.advertisement_screens') !!} {!! (int) $deviceAvailability->advertisement_online !!} {!! (int) $deviceAvailability->advertisement_offline !!}
{!! __('dashboard.tokkio_pos') !!} {!! (int) $deviceAvailability->pos_online !!} {!! (int) $deviceAvailability->pos_offline !!}
{!! __('dashboard.kitchen') !!} {!! (int) $deviceAvailability->kitchen_online !!} {!! (int) $deviceAvailability->kitchen_offline !!}
{!! __('dashboard.internel_kontrol_tablets') !!} 0 0
@endif
  • {!! __('z_report.z_report_status') !!}

  • {!! __('store.title') !!}
  • {!! __('common.status') !!}
@foreach ($stores as $storeId => $name)
  • {!! $name !!}

  • {{--@if(isset($zReportNotifications[$storeId]))--}} {{--
  • --}} {{--@else--}} {{--
  • --}} {{--@endif--}} @if(isset($zReportNotifications[$storeId]) && ($zReportNotifications[$storeId]['device_types'] != ""))
  • @php $deviceTypes = explode(",", $zReportNotifications[$storeId]['device_types']); @endphp @if(in_array("1",$deviceTypes)) {{----}}
    POS
    @else
    POS
    @endif @if(in_array("2",$deviceTypes)) @php $deviceNames = $zReportNotifications[$storeId]['kiosk_devices']; $kioskDevices = ($deviceNames != "") ? explode(",",$deviceNames):[]; @endphp @if(count($kioskDevices) > 0) @foreach($kioskDevices as $dName)
    KIOSK : {!! $dName !!}
    @endforeach @endif @endif
  • @else
  • POS
  • @endif
@endforeach
  • {{ __('dashboard.employee_checklist') }}

  • Online Personnel

30
  • Offline Personnel

12
  • Sick Personnel

{!! $getReports['employee_checklist']['sick_personnel'] !!}
  • On Vacation

{!! $getReports['employee_checklist']['on_vacation'] !!}
  • {{ __('dashboard.latest_users') }}

@foreach($latestUsers as $s) @endforeach
@if($s->company_name) {{$s->company_name}}
@endif @if($s->user_type == 1) @endif {!! $s->email ?? '-' !!}
{!! dateFormat($s->created_at,DISPLAY_DATETIME2) !!}
  • {{ __('dashboard.employee_checklist') }}

  • Online Personnel

30
  • Offline Personnel

12
  • Sick Personnel

  • On Vacation

{{ __('dashboard.franchises') }}

{!! Form::select('region_type', regionType(), null, [ 'class' => 'form-control select2 mb-2', 'id' => '__region_type' ]) !!}
@endsection @section('script') @endsection