@extends('layouts.app') @section('title', __('home.home')) @section('content')
@if (auth()->user()->can('dashboard.data')) @if ($is_admin)
@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
@if ($is_admin) @endif
@endif @endif
@if (auth()->user()->can('dashboard.data')) @if ($is_admin)

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

{{ __('lang_v1.net') }} @show_tooltip(__('lang_v1.net_home_tooltip'))

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

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

{{--

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

--}}
@endif @endif
@if (auth()->user()->can('dashboard.data')) @if ($is_admin)

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

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

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

{{--

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

--}}

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

{{-- @if (!empty($widgets['after_sale_purchase_totals'])) @foreach ($widgets['after_sale_purchase_totals'] as $widget) {!! $widget !!} @endforeach @endif --}} @endif @endif
@if (auth()->user()->can('dashboard.data'))
{{-- @if (!empty($widgets['after_sales_current_fy'])) @foreach ($widgets['after_sales_current_fy'] as $widget) {!! $widget !!} @endforeach @endif --}} @if (auth()->user()->can('sell.view') || auth()->user()->can('direct_sell.view'))
{{ __('lang_v1.most_selling_users') }}
@lang('contact.name') @lang('sale.sells') @lang('sale.total_paid')
@endif @can('expense.view')
{{ __('lang_v1.most_expense_categories') }}
@endcan @if (auth()->user()->can('sell.view') || auth()->user()->can('direct_sell.view'))
{{ __('lang_v1.most_selling_products') }}
@lang('contact.name') @lang('sale.qty') @lang('sale.total_amount')
@endif @if (auth()->user()->can('sell.view') || auth()->user()->can('direct_sell.view'))
{{ __('lang_v1.most_clients') }}
@lang('contact.name') @lang('report.total_due') @lang('report.total_sell')
@endif @if (auth()->user()->can('sell.view') || auth()->user()->can('direct_sell.view'))
{{ __('lang_v1.most_selling') }}
@lang('contact.name') @lang('sale.sells') @lang('sale.total_paid')
@endif {{-- @if (!empty($widgets['after_dashboard_reports'])) @foreach ($widgets['after_dashboard_reports'] as $widget) {!! $widget !!} @endforeach @endif --}}
@endif @endsection @section('javascript') @includeIf('sales_order.common_js') @includeIf('purchase_order.common_js') @endsection