@extends('layouts.vendor.app')
@section('title',translate('messages.dashboard'))
@section('content')
@if(\App\CentralLogics\Helpers::employee_module_permission_check('dashboard'))
@if ( Session::get('stock_out_reminder_close_btn') !== true && isset($out_out_count) && $out_out_count > 99 )
@elseif ( Session::get('stock_out_reminder_close_btn') !== true && isset($out_out_count) && $out_out_count <= 99 && $out_out_count > 1 )
@elseif ( Session::get('stock_out_reminder_close_btn') !== true && isset($out_out_count) && $out_out_count == 1 && isset($food))
@endif
@include('vendor-views.partials._dashboard-order-stats',['data'=>$data])
{{ \App\CentralLogics\Helpers::currency_symbol() }}({{translate('messages.currency')}})
@include('vendor-views.partials._top-selling-foods',['top_sell'=>$data['top_sell']])
@include('vendor-views.partials._most-rated-foods',['most_rated_foods'=>$data['most_rated_foods']])
@else
@endif
@endsection
@push('script')
@endpush
@push('script_2')
@endpush