@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ Form::open(['url' => '', 'method'=>'POST', 'name' => 'sales_summary', 'id' => 'sales_summary']) }}
{{ Form::text('datetimes', '', ['class' => 'form-control datetimes', 'id'=>'datetimes','style'=>'width:100%']) }}
{{ Form::select('user_id', [''=>'Search employee']+$users, '', ['class' => 'form-control select2 employees', 'id'=>'user_id']) }}
{{ Form::select('station_id[]', $stations, '', ['class' => 'form-control select2 stations input-sm', "multiple"=>"multiple", 'id'=>'station_id']) }}
{{ Form::button(' '. __('lbl.filter'), ["class"=>"clickbtncommon btn btn-sm btn-primary","id"=>"dateSearch"]) }}
{{ Form::close() }}

{{ $title }}

@if(Helper::widgetAccess('show_column_service_charge')) @endif
{{ __('lbl.gross_sales')}} {{storecurrency().number_format($sales_summary['gross_sales'],2)}}
{{ __('lbl.total_discount') }} {{storecurrency().number_format($sales_summary['total_discount'],2)}}
{{ __('lbl.total_tax') }} {{storecurrency().number_format($sales_summary['total_tax'],2)}}
{{ __('lbl.crv_tax') }} {{ storecurrency().number_format($sales_summary['crv_tax'],2)}}
{{ __('lbl.tip_amount') }} {{storecurrency().number_format($sales_summary['tip_amount'],2)}}
{{ __('lbl.service_charge') }} {{storecurrency().number_format($sales_summary['service_charge'],2)}}
{{ __('lbl.order_total') }} {{storecurrency().number_format($sales_summary['grand_total'],2)}}

{{ __('lbl.analytics') }}

{{ __('lbl.total_transactions')}} {{ number_format($sales_summary['total_transactions'],2) }}
{{ __('lbl.total_invoices')}} {{ $sales_summary['total_invoices'] }}
{{ __('lbl.average_order')}} {{ storecurrency().number_format($sales_summary['average_order'],2) }}
{{ __('lbl.total_credit_payments_by_status')}}
{{ __('lbl.accepted')}} {{ $sales_summary['accepted'] }}
{{ __('lbl.declined')}} {{ $sales_summary['declined'] }}
@endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/select2/dist/js/select2.full.min.js', 'js/lib/moment/min/moment.min.js', 'js/lib/bootstrap-daterangepicker/daterangepicker.js', 'js/lib/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js', 'js/lib/plugins/timepicker/bootstrap-timepicker.min.js', 'js/backend/report/list.js' ]) !!} @stop