@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.filter_by_date') }} {{ __('home.total_sales_cash_credit') }} {{ __('home.cash_sale') }} @show_tooltip(__('app.net_home_tooltip')) {{ __('home.outstanding') }} {{ __('app.total_sell_return') }} {{ __('home.total_sell_return_filed')}}: {{ __('home.total_sell_return_paid')}}: {{ __('home.total_purchase') }} {{ __('home.purchase_due') }} {{ __('home.total_lp') }} {{ __('home.current_month') }} {{ __('home.over_due_stock_take') }}: {{ __('home.todays_stock_take') }} {{ __('home.todays') }}: {{ __('home.due_stock_take') }} 0 | {{ __('home.added_stock_take') }} 0 | {{ __('home.remaining_stock_take') }} 0 {{ __('home.todays_stock_inequality') }}: @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 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 10 30 45 50 70 75 100 120 data1 data2 10 data1 30 @lang('home.medicine_sales') Today Yesterday Last week Last month 9,6,5 @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 952,558,1254,427,784 Panadol 154 Flagyl 154 Risek 254 Amygra 854 Nospa Forte 215 @lang('home.products_information') 0 @lang('home.total_products') 110 @lang('home.near_expiry') 175 @lang('home.out_of_stock') 59 @lang('home.expired') @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
{{ __('home.total_sell_return_filed')}}: {{ __('home.total_sell_return_paid')}}:
@lang('home.opd')
@lang('home.ipd')