@extends('layouts.app') @section('title', __('purchase.purchases')) @section('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 bd-rd-7', 'readonly']); !!}
@endcomponent
@component('components.widget', ['class' => 'box-primary','icon' => 'ni ni-cart text-primary', 'title' => __('purchase.all_purchases')])
@can('purchase.create') @slot('tool') @endslot @endcan @include('purchase.partials.purchase_table') @endcomponent
@include('purchase.partials.update_purchase_status_modal')
@stop @section('javascript') @endsection