@extends('layouts.admin') @section('page-title') {{__('Profit & Loss Summary')}} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-btn')
{{-- --}}
@endsection @section('content')
{{ Form::open(array('route' => array('report.profit.loss.summary'),'method' => 'GET','id'=>'report_profit_loss_summary')) }}
{{ Form::label('year', __('Year'),['class'=>'form-label'])}} {{ Form::select('year',$yearList,isset($_GET['year'])?$_GET['year']:'', array('class' => 'form-control select')) }}
{{ Form::close() }}
{{__('Report')}} :
{{__('Profit && Loss Summary')}}
{{__('Duration')}} :
{{$filter['startDateRange'].' to '.$filter['endDateRange']}}
{{__('Income')}}
@foreach($month as $m) @endforeach @if(!empty($revenueIncomeArray)) @foreach($revenueIncomeArray as $i=>$revenue) @foreach($revenue['amount'] as $j=>$amount) @endforeach @endforeach @endif @if(!empty($invoiceIncomeArray)) @foreach($invoiceIncomeArray as $i=>$invoice) @foreach($invoice['amount'] as $j=>$amount) @endforeach @endforeach @endif
{{__('Category')}}{{$m}}
{{__('Revenue : ')}}
{{$revenue['category']}}{{\Auth::user()->priceFormat($amount)}}
{{__('Invoice : ')}}
{{$invoice['category']}}{{\Auth::user()->priceFormat($amount)}}
@foreach($totalIncome as $income) @endforeach
{{__('Total Income = Revenue + Invoice ')}}
{{__('Total Income')}}{{\Auth::user()->priceFormat($income)}}
{{__('Expense')}}
@foreach($month as $m) @endforeach @if(!empty($expenseArray)) @foreach($expenseArray as $i=>$expense) @foreach($expense['amount'] as $j=>$amount) @endforeach @endforeach @endif @if(!empty($billExpenseArray)) @foreach($billExpenseArray as $i=>$bill) @foreach($bill['amount'] as $j=>$amount) @endforeach @endforeach @endif
{{__('Category')}}{{$m}}
{{__('Payment : ')}}
{{$expense['category']}}{{\Auth::user()->priceFormat($amount)}}
{{__('Bill : ')}}
{{$bill['category']}}{{\Auth::user()->priceFormat($amount)}}
@foreach($totalExpense as $expense) @endforeach
{{__('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