@extends('layouts.main') @section('page-title') {{ __('Expense Summary') }} @endsection @section('page-breadcrumb') {{ __('Report') }}, {{ __('Expense Summary') }} @endsection @push('scripts') @endpush @section('page-action')
@endsection @section('content')
{{ Form::open(array('route' => array('report.expense.summary'),'method' => 'GET','id'=>'report_expense_summary')) }}
{{ Form::label('year', __('Year'), ['class' => 'form-label']) }} {{ Form::select('year',$yearList,isset($_GET['year'])?$_GET['year']:'', array('class' => 'form-control ','placeholder' => 'Select Year')) }}
{{ Form::label('category', __('Category'), ['class' => 'form-label']) }} {{ Form::select('category',$category,isset($_GET['category'])?$_GET['category']:'', array('class' => 'form-control ','placeholder' => 'Select Category')) }}
{{ Form::label('vendor', __('Vendor'), ['class' => 'form-label']) }} {{ Form::select('vendor',$vendor,isset($_GET['vendor'])?$_GET['vendor']:'', array('class' => 'form-control ','placeholder' => 'Select Vendor')) }}
{{ Form::close() }}
{{__('Report')}} :
{{__('Expense Summary')}}
@if($filter['category']!= __('All'))
{{__('Category')}} :
{{$filter['category'] }}
@endif @if($filter['vendor']!= __('All'))
{{__('Vendor')}} :
{{$filter['vendor'] }}
@endif
{{__('Duration')}} :
{{$filter['startDateRange'].' to '.$filter['endDateRange']}}
@foreach($monthList as $month) @endforeach @foreach($expenseArr as $i=>$expense) @foreach($expense['data'] as $j=>$data) @endforeach @endforeach @foreach($billArray as $i=>$bill) @foreach($bill['data'] as $j=>$data) @endforeach @endforeach @foreach($chartExpenseArr as $i=>$expense) @endforeach
{{__('Category')}}{{$month}}
{{__('Payment :')}}
{{!empty($expense['category']) ? $expense['category'] : ''}}{{ currency_format_with_sym($data)}}
{{__('Bill :')}}
{{!empty($bill['category']) ? $bill['category'] : ''}}{{ currency_format_with_sym($data)}}
{{__('Expense = Payment + Bill :')}}
{{__('Total')}}
{{ currency_format_with_sym($expense)}}
@endsection