@extends('layouts.app') @section('css') {{-- select2 css --}} {{-- Datatable --}} @endsection @section('content')
@php $fromMonth = ''; $fromYear = ''; $toMonth = ''; $toYear = ''; $fromData = []; $from = isset($from) ? $from : ''; $to = isset($to) ? $to : ''; if (!empty($from)) { $fromMonth = getMonthNumber(date("M", strtotime($from))); $fromYear = date("Y", strtotime($from)); } if (!empty($to)) { $toMonth = getMonthNumber(date("M", strtotime($to))); $toYear = date("Y", strtotime($to)); } @endphp
{{ __('Category') }} {{ __('Amount') }}
{{ __('Total Income') }} {{ $currencySymbol }}
{{ __('Total Expense') }} {{ $currencySymbol }}
{{ __('Total Revenue') }}
{{ __('Monthly Income vs Expense') }}
@foreach($months as $key => $month) @endforeach @foreach($months as $key => $month) @endforeach @foreach($months as $key => $month) @endforeach
{{ __('Category') }}
{{ __('Income') }}{{ formatCurrencyAmount($incomeArray[$month]) }}
{{ __('Expense') }}{{ formatCurrencyAmount($expenseArray[$month]) }}
{{ __('Revenue') }}{{$currency_sign}}{{ formatCurrencyAmount($revenueArray[$month]) }}
{{ __('Overview') }}
@endsection @section('js') {{-- Select2 --}} @endsection