{{-- quarterly --}}
@if (isset($_GET['category']) && $_GET['period'] == 'quarterly')
| {{ __('Type') }} |
@foreach ($monthList as $month)
{{ $month }} |
@endforeach
| {{ __('Income : ') }} |
| {{ __('Revenue') }} |
@foreach ($revenueIncomeTotal as $revenue)
@foreach ($revenue as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Invoice') }} |
@foreach ($invoiceIncomeTotal as $invoice)
@foreach ($invoice as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Expense : ') }} |
| {{ __('Payment') }} |
@foreach ($paymentExpenseTotal as $payment)
@foreach ($payment as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Bill') }} |
@foreach ($billExpenseTotal as $bill)
@foreach ($bill as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
|
{{ __('Profit = Income - Expense ') }}
|
{{ __('Profit') }}
|
@foreach ($profit as $prft)
@foreach ($prft as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
{{-- half yearly --}}
@elseif(isset($_GET['category']) && $_GET['period'] == 'half-yearly')
| {{ __('Type') }} |
@foreach ($monthList as $month)
{{ $month }} |
@endforeach
| {{ __('Income : ') }} |
| {{ __('Revenue') }} |
@foreach ($revenueIncomeTotal as $revenue)
@foreach ($revenue as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Invoice') }} |
@foreach ($invoiceIncomeTotal as $invoice)
@foreach ($invoice as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Expense : ') }} |
| {{ __('Payment') }} |
@foreach ($paymentExpenseTotal as $payment)
@foreach ($payment as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Bill') }} |
@foreach ($billExpenseTotal as $bill)
@foreach ($bill as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
|
{{ __('Profit = Income - Expense ') }}
|
{{ __('Profit') }}
|
@foreach ($profit as $prft)
@foreach ($prft as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
{{-- yearly --}}
@elseif(isset($_GET['category']) && $_GET['period'] == 'yearly')
| {{ __('Type') }} |
@foreach ($monthList as $month)
{{ $month }} |
@endforeach
| {{ __('Income : ') }} |
| {{ __('Revenue') }} |
@foreach ($revenueIncomeTotal as $revenue)
@foreach ($revenue as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Invoice') }} |
@foreach ($invoiceIncomeTotal as $invoice)
@foreach ($invoice as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Expense : ') }} |
| {{ __('Payment') }} |
@foreach ($paymentExpenseTotal as $payment)
@foreach ($payment as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
| {{ __('Bill') }} |
@foreach ($billExpenseTotal as $bill)
@foreach ($bill as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
|
{{ __('Profit = Income - Expense ') }}
|
{{ __('Profit') }}
|
@foreach ($profit as $prft)
@foreach ($prft as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
@else
| {{ __('Type') }} |
@foreach ($monthList as $month)
{{ $month }} |
@endforeach
| {{ __('Income : ') }} |
| {{ __('Revenue') }} |
@foreach ($revenueIncomeTotal as $revenue)
@if (is_array($revenue) || is_object($revenue))
@foreach ($revenue as $value)
{{ \Auth::user()->priceFormat($value) }}
@endforeach
@else
{{ \Auth::user()->priceFormat($revenue) }}
@endif
|
@endforeach
| {{ __('Invoice') }} |
@foreach ($invoiceIncomeTotal as $invoice)
@if (is_array($invoice) || is_object($invoice))
@foreach ($invoice as $value)
{{ \Auth::user()->priceFormat($value) }}
@endforeach
@else
{{ \Auth::user()->priceFormat($invoice) }}
@endif
|
@endforeach
| {{ __('Expense : ') }} |
| {{ __('Payment') }} |
@foreach ($paymentExpenseTotal as $payment)
@if (is_array($payment) || is_object($payment))
@foreach ($payment as $value)
{{ \Auth::user()->priceFormat($value) }}
@endforeach
@else
{{ \Auth::user()->priceFormat($payment) }}
@endif
|
@endforeach
| {{ __('Bill') }} |
@foreach ($billExpenseTotal as $bill)
@if (is_array($bill) || is_object($bill))
@foreach ($bill as $value)
{{ \Auth::user()->priceFormat($value) }}
@endforeach
@else
{{ \Auth::user()->priceFormat($bill) }}
@endif
|
@endforeach
|
{{ __('Profit = Income - Expense ') }}
|
{{ __('Profit') }}
|
@foreach ($profit as $prft)
@foreach ($prft as $value)
{{ \Auth::user()->priceFormat($value) }} |
@endforeach
@endforeach
@endif