@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('purchase_list_filter_location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('purchase_list_filter_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('purchase_list_filter_supplier_id', __('purchase.supplier') . ':') !!}
{!! Form::select('purchase_list_filter_supplier_id', $suppliers, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('purchase_list_filter_status', __('purchase.purchase_status') . ':') !!}
{!! Form::select('purchase_list_filter_status', $orderStatuses, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('purchase_list_filter_payment_status', __('purchase.payment_status') . ':') !!}
{!! Form::select('purchase_list_filter_payment_status', ['paid' => __('lang_v1.paid'), 'due' => __('lang_v1.due'), 'partial' => __('lang_v1.partial'), 'overdue' => __('lang_v1.overdue')], null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('purchase_list_filter_date_range', __('report.date_range') . ':') !!}
{!! Form::text('purchase_list_filter_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('purchase.all_purchases')])
@can('purchase.create')
@slot('tool')
@endslot
@endcan
@can('purchase.view')
@lang('messages.action') |
@lang('messages.date') |
@lang('purchase.ref_no') |
@lang('purchase.location') |
@lang('purchase.supplier') |
@lang('purchase.purchase_status') |
@lang('purchase.payment_status') |
@lang('purchase.grand_total') |
@lang('purchase.payment_due') |
@lang('lang_v1.added_by') |
@endcan
@endcomponent
@include('purchase.partials.update_purchase_status_modal')