@extends('layouts.app') @section('title', __('expense.expenses')) @section('content')

@lang('expense.expenses')

@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('expense_for', __('expense.expense_for').':') !!} {!! Form::select('expense_for', $users, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('expense_contact_filter', __('contact.contact') . ':') !!} {!! Form::select('expense_contact_filter', $contacts, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('expense_category_id',__('expense.expense_category').':') !!} {!! Form::select('expense_category_id', $categories, null, ['placeholder' => __('report.all'), 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'expense_category_id']); !!}
{!! Form::label('expense_date_range', __('report.date_range') . ':') !!} {!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'expense_date_range', 'readonly']); !!}
{!! Form::label('expense_payment_status', __('purchase.payment_status') . ':') !!} {!! Form::select('expense_payment_status', ['paid' => __('lang_v1.paid'), 'due' => __('lang_v1.due'), 'partial' => __('lang_v1.partial')], null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('expense.all_expenses')]) @can('expense.access') @slot('tool') @endslot @endcan
@lang('messages.action') @lang('messages.date') @lang('purchase.ref_no') @lang('lang_v1.recur_details') @lang('expense.expense_category') @lang('business.location') @lang('sale.payment_status') @lang('product.tax') @lang('sale.total_amount') @lang('purchase.payment_due') @lang('expense.expense_for') @lang('contact.contact') @lang('expense.expense_note') @lang('lang_v1.added_by')
@endcomponent
@stop @section('javascript') @endsection