@extends('layouts.app') @section('title', __('report.customer') . ' - ' . __('report.supplier') . ' ' . __('report.reports')) @section('content')

{{ __('report.customer')}} & {{ __('report.supplier')}} {{ __('report.reports')}}

@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('cg_customer_group_id', __( 'lang_v1.customer_group_name' ) . ':') !!} {!! Form::select('cnt_customer_group_id', $customer_group, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'cnt_customer_group_id']); !!}
{!! Form::label('type', __( 'lang_v1.type' ) . ':') !!} {!! Form::select('contact_type', $types, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'contact_type']); !!}
{!! Form::label('cs_report_location_id', __( 'sale.location' ) . ':') !!} {!! Form::select('cs_report_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'cs_report_location_id']); !!}
{!! Form::label('scr_contact_id', __( 'report.contact' ) . ':') !!} {!! Form::select('scr_contact_id', $contact_dropdown, null , ['class' => 'form-control select2', 'id' => 'scr_contact_id', 'placeholder' => __('lang_v1.all'), 'style' => 'width:100%']); !!}
{!! Form::label('scr_date_filter', __('report.date_range') . ':') !!} {!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'scr_date_filter', 'readonly']); !!}
{!! Form::label('user_filter', __( 'report.user' ) . ':') !!} {!! Form::select('user_filter', $usersFilter, null , ['class' => 'form-control select2', 'id' => 'user_filter_id', 'placeholder' => __('lang_v1.all'), 'style' => 'width:100%']); !!}
@endcomponent
@component('components.widget', ['class' => 'box-primary'])
@lang('report.contact') @lang('report.total_purchase') @lang('lang_v1.total_purchase_return') @lang('report.total_sell') @lang('lang_v1.total_sell_return') @lang('lang_v1.opening_balance_due') @lang('report.total_due')    @lang('lang_v1.due_by_user') @lang('lang_v1.last_payment') @lang('lang_v1.last_payment_date') @lang('lang_v1.days_count_from_last_payment') @lang('lang_v1.last_transaction')
@lang('lang_v1.less_than_10_days')
@lang('lang_v1.more_than_10_days')
@lang('lang_v1.more_than_15_days')
@lang('lang_v1.more_than_month')
@lang('lang_v1.more_than_2_month')
@endcomponent
@endsection @section('javascript') @endsection