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

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

{!! config('payment.default_system_currency_symbol') !!}@if(config('payment.decimal_points') == 'allow'){{ number_format((float)$total_data_monthly['income_current_month'][0]['data'], 2) }}@else{{ number_format($total_data_monthly['income_current_month'][0]['data']) }}@endif {{ __('this month') }}

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

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

{!! config('payment.default_system_currency_symbol') !!}@if(config('payment.decimal_points') == 'allow'){{ number_format((float)$total_data_monthly['spending_current_month'], 3, '.', '') }}@else{{ number_format($total_data_monthly['spending_current_month']) }}@endif {{ __('this month') }}

{{ __('Last Month') }}: {!! config('payment.default_system_currency_symbol') !!}@if(config('payment.decimal_points') == 'allow'){{ number_format((float)$total_data_monthly['spending_past_month'], 3, '.', '') }}@else{{ number_format($total_data_monthly['spending_past_month']) }}@endif
{{ __('Current Year') }}: {!! config('payment.default_system_currency_symbol') !!}@if(config('payment.decimal_points') == 'allow'){{ number_format((float)$total_data_yearly['total_spending'], 3, '.', '') }}@else{{ number_format($total_data_yearly['total_spending']) }}@endif

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

{{ __('Total Income') }}

{!! config('payment.default_system_currency_symbol') !!}@if(config('payment.decimal_points') == 'allow'){{ number_format((float)$total_data_yearly['total_income'][0]['data'], 2, '.', '') }}@else{{ number_format($total_data_yearly['total_income'][0]['data']) }}@endif

@endsection @section('js') @endsection