@extends('layouts.app') @section('title', 'Dashboard') @section('page_title', 'Dashboard') @section('content')
{{ $taskCount }}

Total Tasks

View all
{{ $noteCount }}

Notes

View all
{{ $reminderCount }}

Reminders

View all
0

Finances

View all

Quick Actions

Get started with creating new items

@if(isset($upcomingReminders) && $upcomingReminders->count() > 0)

Upcoming (Next 7 Days)

{{ $upcomingReminders->count() }} reminder{{ $upcomingReminders->count() !== 1 ? 's' : '' }}

View all →
@foreach($upcomingReminders as $reminder)

{{ $reminder->title }}

{{ $reminder->reminder_date->format('M d, Y') }} @if($reminder->reminder_time) at {{ $reminder->reminder_time }} @endif

View →
@endforeach
@else

No upcoming reminders

You're all caught up!

@endif
@if(isset($overdueReminders) && $overdueReminders->count() > 0)

Overdue Reminders

{{ $overdueReminders->count() }} item{{ $overdueReminders->count() !== 1 ? 's' : '' }} need attention

View all →
@foreach($overdueReminders->take(5) as $reminder)

{{ $reminder->title }}

Was due: {{ $reminder->reminder_date->format('M d, Y') }}

Mark done →
@endforeach @if($overdueReminders->count() > 5)

+{{ $overdueReminders->count() - 5 }} more overdue

@endif
@endif @if(isset($inProgressTasks) && $inProgressTasks->count() > 0)

In Progress

{{ $inProgressTasks->count() }} task{{ $inProgressTasks->count() !== 1 ? 's' : '' }} being worked on

View all →
@foreach($inProgressTasks->take(5) as $task)

{{ $task->title }}

@if($task->project) {{ $task->project->name }} @endif @if($task->time_spent > 0) @php $hours = intval($task->time_spent); $minutes = intval(($task->time_spent - $hours) * 60); @endphp {{ $hours > 0 ? $hours . 'h ' : '' }}{{ $minutes }}m @endif @if($task->due_date) {{ $task->due_date->format('M d') }} @endif
@endforeach @if($inProgressTasks->count() > 5)

+{{ $inProgressTasks->count() - 5 }} more in progress

@endif
@endif @if(isset($currentMonthData))

{{ $currentMonth->format('F Y') }} Overview

Current month financial snapshot

Income {{ number_format($currentMonthData['income'], 2) }}
Fixed Costs - {{ number_format($currentMonthData['fixed'], 2) }}
Variable Costs - {{ number_format($currentMonthData['variable'], 2) }}
NET Result {{ $currentMonthData['net'] >= 0 ? '+' : '' }}{{ number_format($currentMonthData['net'], 2) }}

Bank Balance

Current account status

{{ number_format($bankBalance?->actual_amount ?? 0, 2) }}

Bank Entry: {{ number_format($bankBalance?->actual_amount ?? 0, 2) }} + NET: {{ number_format($currentMonthData['net'], 2) }}

= {{ number_format(($bankBalance?->actual_amount ?? 0) + $currentMonthData['net'], 2) }}
View Details →

Last 12 Months Trend

NET result progression

@endif @endsection