@extends('layouts.app') @section('title', __('home.home')) @section('css') {!! Charts::styles(['highcharts']) !!} @endsection @section('content') {{ __('home.welcome_message', ['name' => Session::get('user.first_name')]) }} @if(auth()->user()->can('dashboard.data')) {{ __('home.today') }} {{ __('home.this_week') }} {{ __('home.this_month') }} {{ __('home.this_fy') }} {{ __('home.total_purchase') }} {{ __('home.total_sell') }} {{ __('home.purchase_due') }} {{ __('home.invoice_due') }} {{ __('home.sells_last_30_days') }} {!! $sells_chart_1->html() !!} {{ __('home.sells_current_fy') }} {!! $sells_chart_2->html() !!} {{ __('lang_v1.sales_payment_dues') }} @show_tooltip(__('lang_v1.tooltip_sales_payment_dues')) @lang( 'contact.customer' ) @lang( 'sale.invoice_no' ) @lang( 'home.due_amount' ) {{ __('lang_v1.purchase_payment_dues') }} @show_tooltip(__('tooltip.payment_dues')) @lang( 'purchase.supplier' ) @lang( 'purchase.ref_no' ) @lang( 'home.due_amount' ) {{ __('home.product_stock_alert') }} @show_tooltip(__('tooltip.product_stock_alert')) @lang( 'sale.product' ) @lang( 'business.location' ) @lang( 'report.current_stock' ) @stop @section('javascript') {!! Charts::assets(['highcharts']) !!} {!! $sells_chart_1->script() !!} {!! $sells_chart_2->script() !!} @endif @endsection