@extends('layouts.app') @section('title', 'Dashboard') @section('content') @php $hour = (int) now()->format('G'); $greet = $hour < 12 ? 'Good morning' : ($hour < 17 ? 'Good afternoon' : 'Good evening'); $kpis = [ ['sales', 'Sales', 'bag-check', '', 0, true, ''], ['collected', 'Collected', 'arrow-down-left-circle', 'chip-success', 2, true, ''], ['spent', 'Spent', 'arrow-up-right-circle', 'chip-danger', 3, true, 'invert'], ['profit', 'Net profit', 'graph-up-arrow', 'chip-violet', 5, true, ''], ['receivable', 'To receive from clients', 'people', 'chip-warning', 1, false, ''], ['payable', 'To pay to vendors', 'truck', 'chip-info', 4, false, ''], ]; @endphp
Sales include tax. Spent = vendor payments + expenses. Net profit = sales (excl. tax) − vendor bills − expenses. Arrows compare with the previous period.
{{-- Charts --}}No sales or payments in this period.
Nothing spent in this period.
No money moved in this period.
No open orders.
Nobody owes you anything.
No sales in this period.