dbfdg @extends('layouts.admin') @section('page-title') {{__('Cash Flow')}} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-btn')
@endsection @section('content')
{{ Form::open(['route' => array('report.monthly.cashflow'), 'method' => 'GET', 'id' => 'monthly_cashflow']) }}
{{ Form::label('year', __('Year'),['class'=>'form-label'])}} {{ Form::select('year',$yearList,isset($_GET['year'])?$_GET['year']:'', array('class' => 'form-control select')) }}
{{ Form::close() }}
{{__('Report')}} :
{{__('Monthly Cashflow')}}
{{__('Duration')}} :
{{$filter['startDateRange'].' to '.$filter['endDateRange']}}
{{__('Income')}}
@foreach($monthList as $month) @endforeach @foreach($incomeArr as $i=>$income) @foreach($income['data'] as $j=>$data) @endforeach @endforeach @foreach($invoiceArray as $i=>$invoice) @foreach($invoice['data'] as $j=>$data) @endforeach @endforeach @foreach($chartIncomeArr as $i=>$income) @endforeach
{{__('Category')}}{{$month}}
{{__('Revenue : ')}}
{{$income['category']}}{{\Auth::user()->priceFormat($data)}}
{{__('Invoice : ')}}
{{$invoice['category']}}{{\Auth::user()->priceFormat($data)}}
{{__('Total Income = Revenue + Invoice ')}}
{{__('Total Income')}}{{\Auth::user()->priceFormat($income)}}
{{__('Expense')}}
@foreach($monthList as $month) @endforeach @if(!empty($expenseArr)) @foreach($expenseArr as $i=>$expense) @foreach($expense['data'] as $j=>$data) @endforeach @endforeach @endif @if(!empty($billArray)) @foreach($billArray as $i=>$bill) @foreach($bill['data'] as $j=>$data) @endforeach @endforeach @endif @foreach($chartExpenseArr as $i=>$expense) @endforeach
{{__('Category')}}{{$month}}
{{__('Payment : ')}}
{{$expense['category']}}{{\Auth::user()->priceFormat($data)}}
{{__('Bill : ')}}
{{$bill['category']}}{{\Auth::user()->priceFormat($data)}}
{{__('Total Expense = Payment + Bill ')}}
{{__('Total Expenses')}}{{\Auth::user()->priceFormat($expense)}}
@foreach($netProfitArray as $i=>$profit) @endforeach
{{__('Net Profit = Total Income - Total Expense')}}
{{__('Net Profit')}}{{\Auth::user()->priceFormat($profit)}}
@endsection