@extends('layouts.app') @section('title', 'Laporan Harian') @section('content')
{{ \Carbon\Carbon::parse($date)->translatedFormat('l, d F Y') }}
Pendapatan Hari Ini
Rp {{ number_format($revenue, 0, ',', '.') }}
Invoice Terbayar
{{ $invoicesPaid }}
Pelanggan Baru
{{ $newCustomers }}
| Waktu | Invoice | Pelanggan | Paket | Jumlah | Metode |
|---|---|---|---|---|---|
| {{ $payment->paid_date?->format('H:i') ?? '-' }} | {{ $payment->invoice_number }} | {{ $payment->customer?->name ?? '-' }} | {{ $payment->package?->name ?? '-' }} | Rp {{ number_format($payment->amount, 0, ',', '.') }} | {{ ucfirst($payment->payment_method ?? 'cash') }} |
|
Belum ada pembayaran hari ini |
|||||