@extends('backend.layout.main') @section('content') @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif @if(session()->has('message'))
{{ session()->get('message') }}
@endif @php if($general_setting->theme == 'default.css') { $color = '#733686'; $color_rgba = 'rgba(115, 54, 134, 0.8)'; } elseif($general_setting->theme == 'green.css') { $color = '#2ecc71'; $color_rgba = 'rgba(46, 204, 113, 0.8)'; } elseif($general_setting->theme == 'blue.css') { $color = '#3498db'; $color_rgba = 'rgba(52, 152, 219, 0.8)'; } elseif($general_setting->theme == 'dark.css'){ $color = '#34495e'; $color_rgba = 'rgba(52, 73, 94, 0.8)'; } @endphp
@if(\Auth::user()->role_id <= 2 && isset($_COOKIE['login_now']) && $_COOKIE['login_now']) @endif

{{trans('file.welcome')}} {{Auth::user()->name}}

@php $revenue_profit_summary = $role_has_permissions_list->where('name', 'revenue_profit_summary')->first(); @endphp @if($revenue_profit_summary)
@endif
@if($revenue_profit_summary)
{{number_format((float)$revenue,$general_setting->decimal, '.', '')}}
{{ trans('file.revenue') }}
{{number_format((float)$return,$general_setting->decimal, '.', '')}}
{{trans('file.Sale Return')}}
{{number_format((float)$purchase_return,$general_setting->decimal, '.', '')}}
{{trans('file.Purchase Return')}}
{{number_format((float)$profit,$general_setting->decimal, '.', '')}}
{{trans('file.profit')}}
@endif @php $cash_flow = $role_has_permissions_list->where('name', 'cash_flow')->first(); @endphp @if($cash_flow)

{{trans('file.Cash Flow')}}

@endif @php $monthly_summary = $role_has_permissions_list->where('name', 'monthly_summary')->first(); @endphp @if($monthly_summary)

{{date('F')}} {{date('Y')}}

@endif
@php $yearly_report = $role_has_permissions_list->where('name', 'yearly_report')->first(); @endphp @if($yearly_report)

{{trans('file.yearly report')}}

@endif

{{trans('file.Recent Transaction')}}

{{trans('file.latest')}} 5
{{trans('file.date')}} {{trans('file.reference')}} {{trans('file.customer')}} {{trans('file.status')}} {{trans('file.grand total')}}
{{trans('file.date')}} {{trans('file.reference')}} {{trans('file.Supplier')}} {{trans('file.status')}} {{trans('file.grand total')}}
{{trans('file.date')}} {{trans('file.reference')}} {{trans('file.customer')}} {{trans('file.status')}} {{trans('file.grand total')}}
{{trans('file.date')}} {{trans('file.reference')}} {{trans('file.Amount')}} {{trans('file.Paid By')}}

{{trans('file.Best Seller').' '.date('F')}}

{{trans('file.top')}} 5
{{trans('file.Product Details')}} {{trans('file.qty')}}

{{trans('file.Best Seller').' '.date('Y'). '('.trans('file.qty').')'}}

{{trans('file.top')}} 5
{{trans('file.Product Details')}} {{trans('file.qty')}}

{{trans('file.Best Seller').' '.date('Y') . '('.trans('file.price').')'}}

{{trans('file.top')}} 5
{{trans('file.Product Details')}} {{trans('file.grand total')}}
@endsection @push('scripts') @endpush