@extends('layouts.app') @section('title', __('lang_v1.sell_payment_report')) @section('css') @endsection @section('content')

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

@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => '#', 'method' => 'get', 'id' => 'sell_payment_report_form' ]) !!}
{!! Form::label('created_by', __('report.user') . ':') !!} {!! Form::select('created_by', $sales_representative, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('customer_id', __('contact.customer') . ':') !!}
{!! Form::select('customer_id', $customers, null, ['class' => 'form-control select2', 'placeholder' => __('messages.all'), 'required']); !!}
{!! Form::label('location_id', __('purchase.business_location').':') !!}
{!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'placeholder' => __('messages.all'), 'required']); !!}
{!! Form::label('payment_types', __('lang_v1.payment_method').':') !!}
{!! Form::select('payment_types', $payment_types, null, ['class' => 'form-control select2', 'placeholder' => __('messages.all'), 'required']); !!}
{!! Form::label('customer_group_filter', __('lang_v1.customer_group').':') !!}
{!! Form::select('customer_group_filter', $customer_groups, null, ['class' => 'form-control select2']); !!}
{!! Form::label('spr_date_filter', __('report.date_range') . ':') !!} {!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'spr_date_filter', 'readonly']); !!}
{!! Form::close() !!} @endcomponent
@lang('lang_v1.direct_payment')s 0.00 Payments without sale reference
Payments Against Sales 0.00 Payments linked to sale transactions
Total Payments 0.00 Total of all payments
@component('components.widget', ['class' => 'box-primary'])
  @lang('purchase.ref_no') @lang('lang_v1.paid_on') @lang('sale.amount') @lang('contact.customer') @lang('lang_v1.customer_group') @lang('lang_v1.payment_method') @lang('sale.sale') @lang('Added By') @lang('messages.action')
@endcomponent
@endsection @php $businessdata = \App\Business::where('id',request()->session()->get('user.business_id'))->first(); @endphp @section('javascript') @endsection