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

@lang('lang_v1.purchase_order')

@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('messages.action') @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
@stop @section('javascript') @includeIf('purchase_order.common_js') @endsection