@extends('layouts.main') @section('page-title') {{ __('Income Vs Expense Summary') }} @endsection @section('page-breadcrumb') {{ __('Report') }}, {{ __('Income Vs Expense Summary') }} @endsection @push('scripts') @endpush @section('page-action')
@endsection @section('content')
{{ Form::open(['route' => ['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'] : date('Y'), ['class' => 'form-control ']) }}
{{ Form::label('category', __('Category'), ['class' => 'form-label']) }} {{ Form::select('category', $category, isset($_GET['category']) ? $_GET['category'] : '', ['class' => 'form-control ', 'placeholder' => 'Select Category']) }}
{{ Form::label('customer', __('Customer'), ['class' => 'form-label']) }} {{ Form::select('customer', $customer, isset($_GET['customer']) ? $_GET['customer'] : '', ['class' => 'form-control ', 'placeholder' => 'Select Customer']) }}
{{ Form::label('vendor', __('Vendor'), ['class' => 'form-label']) }} {{ Form::select('vendor', $vendor, isset($_GET['vendor']) ? $_GET['vendor'] : '', ['class' => 'form-control ', 'placeholder' => 'Select Vendor']) }}
{{ 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['vendor'] != __('All'))
{{ __('Vendor') }} :
{{ $filter['vendor'] }}
@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 ($purchaseExpenseTotal as $purchase) @endforeach @if (module_is_active('Hrm')) @foreach ($EmpSalary as $empsalary) @endforeach @endif @if (module_is_active('Training')) @foreach ($TrainingCost as $trainingcost) @endforeach @endif @foreach ($profit as $prft) @endforeach
{{ __('Type') }}{{ $month }}
{{ __('Income : ') }}
{{ __('Revenue') }}{{ currency_format_with_sym($revenue) }}
{{ __('Invoice') }}{{ currency_format_with_sym($invoice) }}
{{ __('Expense : ') }}
{{ __('Payment') }}{{ currency_format_with_sym($payment) }}
{{ __('Bill') }}{{ currency_format_with_sym($bill) }}
{{ __('Purchase') }}{{ currency_format_with_sym($purchase) }}
{{ __('Employee Salary') }}{{ currency_format_with_sym($empsalary) }}
{{ __('Training Cost') }}{{ currency_format_with_sym($trainingcost) }}
{{ __('Profit = Income - Expense ') }}
{{ __('Profit') }}
{{ currency_format_with_sym($prft) }}
@endsection