@extends('layouts.admin') @section('page-title') {{__('Income Vs 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.income.vs.expense.summary'),'method' => 'GET','id'=>'income_vs_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('customer', __('Customer'),['class'=>'form-label'])}} {{ Form::select('customer',$customer,isset($_GET['customer'])?$_GET['customer']:'', 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')}} :
{{__('Income Vs Expense Summary')}}
@if($filter['category']!= __('All'))
{{__('Category')}} :
{{$filter['category'] }}
@endif @if($filter['customer']!= __('All'))
{{__('Customer')}} :
{{$filter['customer'] }}
@endif @if($filter['vender']!= __('All'))
{{__('Vendor')}} :
{{$filter['vender'] }}
@endif
{{__('Duration')}} :
{{$filter['startDateRange'].' to '.$filter['endDateRange']}}
@foreach($monthList as $month) @endforeach @foreach($revenueIncomeTotal as $revenue) @endforeach @foreach($invoiceIncomeTotal as $invoice) @endforeach @foreach($paymentExpenseTotal as $payment) @endforeach @foreach($billExpenseTotal as $bill) @endforeach @foreach($profit as $prft) @endforeach
{{__('Type')}}{{$month}}
{{__('Income : ')}}
{{(__('Revenue'))}}{{\Auth::user()->priceFormat($revenue)}}
{{(__('Invoice'))}}{{\Auth::user()->priceFormat($invoice)}}
{{__('Expense : ')}}
{{(__('Payment'))}}{{\Auth::user()->priceFormat($payment)}}
{{(__('Bill'))}}{{\Auth::user()->priceFormat($bill)}}
{{__('Profit = Income - Expense ')}}
{{(__('Profit'))}}
{{\Auth::user()->priceFormat($prft)}}
@endsection