@extends('layouts.app') @section('title', __('home.home')) @section('content')

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

@if(userHasPermission('dashboard.data')) @if(true)
@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

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

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

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

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

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

@if(!empty($widgets['after_sale_purchase_totals'])) @foreach($widgets['after_sale_purchase_totals'] as $widget) {!! $widget !!} @endforeach @endif @endif @if(auth()->user()->can('sell.view') || auth()->user()->can('direct_sell.view')) @if(!empty($all_locations))
@component('components.widget', ['class' => 'box-primary', 'title' => __('home.sells_last_30_days')]) {!! $sells_chart_1->container() !!} @endcomponent
@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))
@component('components.widget', ['class' => 'box-primary', 'title' => __('home.sells_current_fy')]) {!! $sells_chart_2->container() !!} @endcomponent
@endif @endif @endif

@lang('home.sales')

10 30 45 50 70 75 100 120 0 50 100 150 200 250 300 350 400 data1 data2
@lang('home.medicine_sales')
  • @lang('home.prescribed')
    8952
  • @lang('home.non-prescribed')
    7458
  • @lang('home.other')
    3254

@lang('home.pending_orders')

10

@lang('home.opd')

47

@lang('home.ipd')

@lang('home.top_selling_products')Top 10 Selling Products

  • Panadol 154
  • Flagyl 154
  • Risek 254
  • Amygra 854
  • Nospa Forte 215
@stop @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