@extends('layouts.app') @section('title', __('lang_v1.payment_by_age_report')) @section('content')

{{ __('lang_v1.payment_by_age_report') }}

@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => '#', 'method' => 'get', 'id' => 'payment_by_age_report_form']) !!}
{!! Form::label('pba_customer_id', __('contact.customer') . ':') !!}
{!! Form::select('customer_id', $customers, null, ['class' => 'form-control select2', 'id' => 'pba_customer_id', 'placeholder' => __('messages.all'), 'style' => 'width:100%']) !!}
{!! Form::label('pba_payment_types', __('lang_v1.payment_method') . ':') !!}
{!! Form::select('payment_types', $payment_types, null, ['class' => 'form-control select2', 'id' => 'pba_payment_types', 'placeholder' => __('messages.all'), 'style' => 'width:100%']) !!}
{!! Form::label('pba_location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'id' => 'pba_location_id', 'placeholder' => __('messages.all'), 'style' => 'width:100%']) !!}
{!! Form::label('pba_user_id', __('report.user') . ':') !!}
{!! Form::select('user_id', $users, null, ['class' => 'form-control select2', 'id' => 'pba_user_id', 'placeholder' => __('messages.all'), 'style' => 'width:100%']) !!}
{!! Form::label('pba_age_filter', __('lang_v1.age') . ':') !!}
{!! Form::select('age_filter', $age_filter_options, null, ['class' => 'form-control select2', 'id' => 'pba_age_filter', 'placeholder' => __('messages.all'), 'style' => 'width:100%']) !!}
{!! Form::label('pba_date_filter', __('report.date_range') . ':') !!} {!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'pba_date_filter', 'readonly']) !!}
{!! Form::close() !!} @endcomponent
@component('components.widget', ['class' => 'box-primary'])
@foreach ($buckets as $key => $range) @endforeach @foreach ($buckets as $key => $range) @endforeach
@lang('contact.customer') @lang('lang_v1.payment_method') @lang('report.user')@lang('lang_v1.age') {{ $key }}@lang('sale.total')
@endcomponent
@endsection @section('javascript') @endsection