{{-- quarterly --}}
@if(isset($_GET['category']) && $_GET['period'] == 'quarterly')
{{__('Category')}} |
@foreach($monthList as $month)
{{$month}} |
@endforeach
{{__('Revenue :')}} |
@foreach($incomeArr as $i=>$income)
{{$income['category']}} |
@foreach($income['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Invoice :')}} |
@foreach($invoiceArray as $i=>$invoice)
{{$invoice['category']}} |
@foreach($invoice['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Income = Revenue + Invoice :')}} |
{{__('Total')}} |
@foreach($chartIncomeArr as $i => $income)
@foreach($income as $key => $value)
{{\Auth::user()->priceFormat($value)}} |
@endforeach
@endforeach
{{-- half yearly --}}
@elseif(isset($_GET['category']) && $_GET['period'] == 'half-yearly')
{{__('Category half')}} |
@foreach($monthList as $month)
{{$month}} |
@endforeach
{{__('Revenue :')}} |
@foreach($incomeArr as $i=>$income)
{{$income['category']}} |
@foreach($income['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Invoice :')}} |
@foreach($invoiceArray as $i=>$invoice)
{{$invoice['category']}} |
@foreach($invoice['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Income = Revenue + Invoice :')}} |
{{__('Total')}} |
@foreach($chartIncomeArr as $i => $income)
@foreach($income as $key => $value)
{{\Auth::user()->priceFormat($value)}} |
@endforeach
@endforeach
{{-- yearly --}}
@elseif(isset($_GET['category']) && $_GET['period'] == 'yearly')
{{__('Category year')}} |
@foreach($monthList as $month)
{{$month}} |
@endforeach
{{__('Revenue :')}} |
@foreach($incomeArr as $i=>$income)
{{$income['category']}} |
@foreach($income['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Invoice :')}} |
@foreach($invoiceArray as $i=>$invoice)
{{$invoice['category']}} |
@foreach($invoice['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Income = Revenue + Invoice :')}} |
{{__('Total')}} |
@foreach($chartIncomeArr as $i => $income)
@foreach($income as $key => $value)
{{\Auth::user()->priceFormat($value)}} |
@endforeach
@endforeach
@else
{{__('Category')}} |
@foreach($monthList as $month)
{{$month}} |
@endforeach
{{__('Revenue :')}} |
@foreach($incomeArr as $i=>$income)
{{$income['category']}} |
@foreach($income['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Invoice :')}} |
@foreach($invoiceArray as $i=>$invoice)
{{$invoice['category']}} |
@foreach($invoice['data'] as $j=>$data)
{{\Auth::user()->priceFormat($data)}} |
@endforeach
@endforeach
{{__('Income = Revenue + Invoice :')}} |
{{__('Total')}} |
@foreach($chartIncomeArr as $i => $income)
@foreach($income as $key => $value)
{{\Auth::user()->priceFormat($value)}} |
@endforeach
@endforeach
@endif