@extends('layouts.app')
@section('title', __('expense.expenses'))
@section('content')
@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']); !!}
{!! 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', @format_date('first day of this month') . ' ~ ' . @format_date('last day of this month') , ['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('category.create')
@slot('tool')
@endslot
@endcan
@can('category.view')
@lang('messages.action') |
@lang('messages.date') |
@lang('purchase.ref_no') |
@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('expense.expense_note') |
@lang('lang_v1.added_by') |
@endcan
@endcomponent
@stop
@section('javascript')
@endsection