@extends('layouts.admin') @section('page-title') {{__('Expense Summary')}} @endsection @section('breadcrumb') @endsection @push('theme-script') @endpush @push('script-page') @endpush @section('action-btn')
{{-- --}}
@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 select')) }}
{{ Form::label('category', __('Category'),['class'=>'form-label'])}} {{ Form::select('category',$category,isset($_GET['category'])?$_GET['category']:'', array('class' => 'form-control select')) }}
{{ Form::label('vender', __('Vendor'),['class'=>'form-label'])}} {{ Form::select('vender',$vender,isset($_GET['vender'])?$_GET['vender']:'', array('class' => 'form-control select')) }}
{{ Form::close() }}
{{__('Report')}} :
{{__('Expense Summary')}}
@if($filter['category']!= __('All'))
{{__('Category')}} :
{{$filter['category'] }}
@endif @if($filter['vender']!= __('All'))
{{__('Vendor')}} :
{{$filter['vender'] }}
@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 :')}}
{{$expense['category']}}{{\Auth::user()->priceFormat($data)}}
{{__('Bill :')}}
{{$bill['category']}}{{\Auth::user()->priceFormat($data)}}
{{__('Expense = Payment + Bill :')}}
{{__('Total')}}
{{\Auth::user()->priceFormat($expense)}}
@endsection