@extends('accounting::layouts.transactions_layout')
@section('tab-title')
{{ trans_choice('accounting::general.expense', 2) }}
@endsection
@section('modal-content')
@include('accounting::transactions.partials.map_transactions_modal', [
'map_type' => 'debit',
'mapping_for' => 'expense',
])
@endsection
@section('tab-content')
@component('components.filters', ['title' => __('report.filters')])
@if (auth()->user()->can('all_expense.access'))
{!! 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%']) !!}
@endif
{!! 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' => ''])
@lang('accounting::general.mapping') |
{{ trans_choice('accounting::general.chart_of_account', 1) }} |
@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
@endsection
@section('tab-javascript')
{{-- For the mapping_modal --}}
{{-- For Datatable --}}
@endsection