@extends('layouts.admin') @section('page-title') {{__('Income 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.summary'),'method' => 'GET','id'=>'report_income_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::close() }}
{{__('Report')}} :
{{__('Income Summary')}}
@if($filter['category']!= __('All'))
{{__('Category')}} :
{{$filter['category']}}
@endif @if($filter['customer']!= __('All'))
{{__('Customer')}} :
{{$filter['customer']}}
@endif
{{__('Duration')}} :
{{$filter['startDateRange'].' to '.$filter['endDateRange']}}
@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)}}
{{__('Income = Revenue + Invoice :')}}
{{__('Total')}}
{{\Auth::user()->priceFormat($income)}}
@endsection