@extends('layouts.app') @section('title', __('report.customer_ledger')) @section('content') @section('css') @endsection

{{ __('report.customer_ledger')}}

@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('contact_id', __('lang.customers') . ':') !!}
{!! Form::select('contact_id', $contact_dropdown, $request['contact_id']??null, ['class' => 'form-control select2', 'id' => 'contact_id', 'style' => 'width: 100%;']); !!}
@includeIf('locations::layouts.location_filter', ['col' => 4])
{!! Form::label('sales_person_id', __('lang.users') . ':') !!}
{!! Form::select('sales_person_id', $users, $request['sales_person_id']??null, ['class' => 'form-control select2', 'style' => 'width: 100% !important;']); !!}
{!! Form::label('location_id', __( 'sale.location' ) . ':') !!}
{!! Form::select('location_id', $business_locations, $request['location_id']??null, ['class' => 'form-control select2', 'style' => 'width: 100% !important;']); !!}
{!! Form::label('date_range', __('report.date_range') . ':') !!}
{!! Form::text('date_range', $request['date_range']??null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'scr_date_filter', 'readonly', 'style' => 'width: 100% !important;']); !!}
{!! Form::label('customer_group_id', __( 'lang_v1.customer_group_name' ) . ':') !!}
{!! Form::select('customer_group_id', $customer_group, $request['customer_group_id']??null, ['class' => 'form-control select2', 'style' => 'width: 100% !important;']); !!}
{!! Form::label('tag_ids', __('lang.tags') . ':') !!}
{!! Form::select('tag_ids[]', getTags(), $request['tag_ids']??null , ['class' => 'form-control select', 'id' => 'tag_id', 'multiple' => 'multiple', 'style' => 'width: 100% !important;']) !!}
{!! Form::select( 'balance_type', [ 'balance' => __('lang.balance'), 'not_balance' => __('lang.not_balance'), ], 'balance', ['class' => 'form-control', 'id' => 'balance_type', 'placeholder' => __('lang.all')], ) !!}
@endcomponent
@component('components.widget', ['title' => __('report.summary')])

@lang('report.total_debit')

@lang('report.total_credit')

@lang('report.total_due')

@endcomponent
@component('components.widget', ['class' => 'box-primary'])
@lang('lang.customer') @lang('account.debit') @lang('account.credit') @lang('report.total_due')
@endcomponent
@endsection @section('javascript') @endsection