@extends('layouts.app_report') @section('title', __('home.home')) @section('content')
{{--

{{ __('home.welcome_message', ['name' => Session::get('user.first_name')]) }}

--}}
@if (auth()->user()->can('dashboard.data'))
@if (count($all_locations) > 1) {!! Form::select('dashboard_location', $all_locations, null, [ 'class' => 'form-control select2', 'placeholder' => __('lang_v1.select_location'), 'id' => 'dashboard_location', ]) !!} @endif
@endif
Total 42.5k Sales

+18%

{{ __('home.total_sell') }}

{{ __('lang_v1.total_paying') }}

{{ __('home.invoice_due') }}

{{ __('lang_v1.total_sell_return') }}

{{ __('home.total_purchase') }}

{{ __('home.purchase_due') }}

{{ __('lang_v1.total_purchase_return') }}

{{ __('lang_v1.expense') }}

@if (auth()->user()->can('dashboard.data'))
@if (auth()->user()->can('sell.view') || auth()->user()->can('direct_sell.view')) @if (!empty($all_locations))

{{ __('home.sells_last_30_days') }}

{!! $sells_chart_1->container() !!}

@endif {{-- @if (!empty($widgets['after_sales_last_30_days'])) @foreach ($widgets['after_sales_last_30_days'] as $widget) {!! $widget !!} @endforeach @endif --}} @if (!empty($all_locations))

{{ __('home.sells_current_fy') }}

{!! $sells_chart_2->container() !!}

@endif @endif {{-- @if (!empty($widgets['after_sales_current_fy'])) @foreach ($widgets['after_sales_current_fy'] as $widget) {!! $widget !!} @endforeach @endif --}} {{-- @if (!empty($widgets['after_dashboard_reports'])) @foreach ($widgets['after_dashboard_reports'] as $widget) {!! $widget !!} @endforeach @endif --}}
@endif @endsection @section('css') @endsection @section('javascript') @includeIf('sales_order.common_js') @includeIf('purchase_order.common_js') @if (!empty($all_locations)) {!! $sells_chart_1->script() !!} {!! $sells_chart_2->script() !!} @endif @endsection