@extends('layouts.app') @section('page-header') @endsection @section('content')

{{ __('Total Income') }} ({{ __('Current Month') }})

{!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_monthly['income_current_month'][0]['data'], 2) }} {{ __('this month') }}

{{ __('Last Month') }}: {!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_monthly['income_past_month'][0]['data'], 2, '.', '') }}
{{ __('Current Year') }}: {!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_yearly['total_income'][0]['data'], 2, '.', '') }}

{{ __('Total Spending') }} ({{ __('Current Month') }})

${{ number_format((float)$total_data_monthly['spending_current_month'], 3, '.', '') }} {{ __('this month') }}

{{ __('Last Month') }}: ${{ number_format((float)$total_data_monthly['spending_past_month'], 3, '.', '') }}
{{ __('Current Year') }}: ${{ number_format((float)$total_data_yearly['total_spending'], 3, '.', '') }}

{{ __('Income Analysis') }} ({{ __('Current Year') }})

{{ __('Total Income') }}

{!! config('payment.default_system_currency_symbol') !!}{{ number_format((float)$total_data_yearly['total_income'][0]['data'], 2, '.', '') }}

@endsection @section('js') @endsection