@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
{{ __('home.total_sell') }}
{{ __('lang_v1.expense') }}
{{ __('home.total_purchase') }}
{{ __('home.purchase_due') }}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- {{ __('home.invoice_due') }}--}}
{{-- --}}
{{--
--}}
{{-- --}}
{{--
--}}
{{-- --}}
{{--
--}}
{{-- @component('components.filters', ['title' => __('report.filters')])--}}
{!! Form::open(['url' => action('ReportController@getStockReport'), 'method' => 'get', 'id' => 'stock_report_filter_form' ]) !!}
{!! Form::label('location_id', __('purchase.business_location') . ':','hidden') !!}
{!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::close() !!}
{{-- @endcomponent--}}
{{-- Reports --}}
@can('view_product_stock_value')
@component('components.widget', ['class' => 'box-solid'])
@lang('report.closing_stock') (@lang('lang_v1.by_purchase_price')) |
@lang('report.closing_stock') (@lang('lang_v1.by_sale_price')) |
@lang('lang_v1.potential_profit') |
@lang('lang_v1.profit_margin') |
|
|
|
|
@endcomponent
@endcan
@can('stock_report.view')
@component('components.widget', ['class' => 'box-warning'])
@slot('icon')
@endslot
@slot('title')
{{ __('home.product_stock_alert') }} @show_tooltip(__('tooltip.product_stock_alert'))
@endslot
@lang( 'sale.product' ) |
@lang( 'business.location' ) |
@lang( 'report.current_stock' ) |
@endcomponent
@if(session('business.enable_product_expiry') == 1)
@component('components.widget', ['class' => 'box-warning'])
@slot('icon')
@endslot
@slot('title')
{{ __('home.stock_expiry_alert') }} @show_tooltip( __('tooltip.stock_expiry_alert', [ 'days' =>session('business.stock_expiry_alert_days', 30) ]) )
@endslot
@lang('business.product') |
@lang('business.location') |
@lang('report.stock_left') |
@lang('product.expires_in') |
@endcomponent
@endif
@endcan
@if(auth()->user()->can('sell.view') || auth()->user()->can('direct_sell.view'))
@component('components.widget', ['class' => 'box-warning'])
@slot('icon')
@endslot
@slot('title')
{{ __('lang_v1.sales_payment_dues') }} @show_tooltip(__('lang_v1.tooltip_sales_payment_dues'))
@endslot
@lang( 'contact.customer' ) |
@lang( 'sale.invoice_no' ) |
@lang( 'home.due_amount' ) |
@lang( 'messages.action' ) |
@endcomponent
@endif
@can('purchase.view')
@component('components.widget', ['class' => 'box-warning'])
@slot('icon')
@endslot
@slot('title')
{{ __('lang_v1.purchase_payment_dues') }} @show_tooltip(__('tooltip.payment_dues'))
@endslot
@lang( 'purchase.supplier' ) |
@lang( 'purchase.ref_no' ) |
@lang( 'home.due_amount' ) |
@lang( 'messages.action' ) |
@endcomponent
@endcan
{{-- @if(auth()->user()->can('so.view_all') || auth()->user()->can('so.view_own'))--}}
{{-- user()->can('dashboard.data'))style="margin-top: 190px !important;"@endif>--}}
{{--
--}}
{{-- @component('components.widget', ['class' => 'box-warning'])--}}
{{-- @slot('icon')--}}
{{--
--}}
{{-- @endslot--}}
{{-- @slot('title')--}}
{{-- {{__('lang_v1.sales_order')}}--}}
{{-- @endslot--}}
{{--
--}}
{{--
--}}
{{-- --}}
{{-- --}}
{{-- @lang('messages.action') | --}}
{{-- @lang('messages.date') | --}}
{{-- @lang('restaurant.order_no') | --}}
{{-- @lang('sale.customer_name') | --}}
{{-- @lang('lang_v1.contact_no') | --}}
{{-- @lang('sale.location') | --}}
{{-- @lang('sale.status') | --}}
{{-- @lang('lang_v1.shipping_status') | --}}
{{-- @lang('lang_v1.quantity_remaining') | --}}
{{-- @lang('lang_v1.added_by') | --}}
{{--
--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{-- @endcomponent--}}
{{--
--}}
{{--
--}}
{{-- @endif--}}
@if(!empty($common_settings['enable_purchase_order']) && (auth()->user()->can('purchase_order.view_all') || auth()->user()->can('purchase_order.view_own')) )
user()->can('dashboard.data'))style="margin-top: 190px !important;"@endif>
@component('components.widget', ['class' => 'box-warning'])
@slot('icon')
@endslot
@slot('title')
@lang('lang_v1.purchase_order')
@endslot
@lang('messages.action') |
@lang('messages.date') |
@lang('purchase.ref_no') |
@lang('purchase.location') |
@lang('purchase.supplier') |
@lang('sale.status') |
@lang('lang_v1.quantity_remaining') |
@lang('lang_v1.added_by') |
@endcomponent
@endif
@if(auth()->user()->can('access_pending_shipments_only') || auth()->user()->can('access_shipping') || auth()->user()->can('access_own_shipping') )
@component('components.widget', ['class' => 'box-warning'])
@slot('icon')
@endslot
@slot('title')
@lang('lang_v1.pending_shipments')
@endslot
@lang('messages.action') |
@lang('messages.date') |
@lang('sale.invoice_no') |
@lang('sale.customer_name') |
@lang('lang_v1.contact_no') |
@lang('sale.location') |
@lang('lang_v1.shipping_status') |
@if(!empty($custom_labels['shipping']['custom_field_1']))
{{$custom_labels['shipping']['custom_field_1']}}
|
@endif
@if(!empty($custom_labels['shipping']['custom_field_2']))
{{$custom_labels['shipping']['custom_field_2']}}
|
@endif
@if(!empty($custom_labels['shipping']['custom_field_3']))
{{$custom_labels['shipping']['custom_field_3']}}
|
@endif
@if(!empty($custom_labels['shipping']['custom_field_4']))
{{$custom_labels['shipping']['custom_field_4']}}
|
@endif
@if(!empty($custom_labels['shipping']['custom_field_5']))
{{$custom_labels['shipping']['custom_field_5']}}
|
@endif
@lang('sale.payment_status') |
@lang('restaurant.service_staff') |
@endcomponent
@endif
@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--}}
{{-- --}}
@if(!empty($widgets['after_sales_current_fy']))
@foreach($widgets['after_sales_current_fy'] as $widget)
{!! $widget !!}
@endforeach
@endif
@if(!empty($widgets['after_dashboard_reports']))
@foreach($widgets['after_dashboard_reports'] as $widget)
{!! $widget !!}
@endforeach
{{-- @endif--}}
@endif