@extends('layouts.app') @section('title', 'Dashboard') @php $topbarTitle = 'Dashboard'; @endphp @section('app-content')
{{ __('My Sales Today') }} attach_money

Rp {{ number_format($myTotalSalesToday, 0, ',', '.') }}

calendar_today

{{ now()->translatedFormat('d M Y') }}

{{ __('My Transactions Today') }} receipt_long

{{ number_format($myTransactionsTodayCount) }}

point_of_sale {{ __('Start New Checkout') }}
arrow_forward
history

{{ __('My Recent Transactions') }}

@forelse ($recentTransactions as $transaction) @empty @endforelse
{{ __('Invoice') }} {{ __('Total') }} {{ __('Date') }} {{ __('Status') }}
{{ $transaction->invoice_number }} Rp {{ number_format($transaction->total, 0, ',', '.') }} {{ $transaction->created_at?->format('d M Y H:i') }} @if ($transaction->status->value === 'completed')
check_circle {{ $transaction->status->label() }}
@else
cancel {{ $transaction->status->label() }}
@endif
{{ __('No transactions yet.') }}
@endsection