@extends('accounting::transactions.purchases.layout') @section('sub-tab-title') {{ trans_choice('accounting::general.purchase', 1) }} {{ trans_choice('accounting::general.order', 1) }} @endsection @section('modal-content') @include('accounting::transactions.partials.map_transactions_modal', [ 'map_type' => 'debit', 'mapping_for' => 'purchase_order', ]) @endsection @section('sub-tab-content')
@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('po_list_filter_location_id', __('purchase.business_location') . ':') !!} {!! Form::select('po_list_filter_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]) !!}
{!! Form::label('po_list_filter_supplier_id', __('purchase.supplier') . ':') !!} {!! Form::select('po_list_filter_supplier_id', $suppliers, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]) !!}
{!! Form::label('po_list_filter_status', __('sale.status') . ':') !!} {!! Form::select('po_list_filter_status', $purchaseOrderStatuses, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]) !!}
@if (!empty($shipping_statuses))
{!! Form::label('shipping_status', __('lang_v1.shipping_status') . ':') !!} {!! Form::select('shipping_status', $shipping_statuses, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]) !!}
@endif
{!! Form::label('po_list_filter_date_range', __('report.date_range') . ':') !!} {!! Form::text('po_list_filter_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']) !!}
@endcomponent @component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.all_purchase_orders')]) @can('purchase_order.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('sale.status') @lang('lang_v1.quantity_remaining') @lang('lang_v1.shipping_status') @lang('lang_v1.added_by')
@endcomponent
@endsection @section('sub-tab-javascript') @include('accounting::transactions.js.purchase_order_transactions_js') @endsection