@extends('accounting::transactions.purchases.layout') @section('sub-tab-title') {{ trans_choice('accounting::general.purchase', 1) }} {{ trans_choice('accounting::general.payment', 1) }} @endsection @section('modal-content') @include('accounting::transactions.partials.map_transactions_modal', [ 'map_type' => 'debit', 'mapping_for' => 'purchase_payment', ]) @endsection @section('sub-tab-content')
@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')
@lang('messages.add')
@endslot @endcan
@lang('accounting::general.mapping') {{ trans_choice('accounting::general.chart_of_account', 1) }} @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')
@endcomponent
@endsection @section('sub-tab-javascript') @endsection