@extends('layouts.app') @section('title', 'Laporan Harian') @section('content')
@include('admin.partials.sidebar')
@include('admin.partials.topbar')

Laporan Harian

{{ \Carbon\Carbon::parse($date)->translatedFormat('l, d F Y') }}

Pendapatan Hari Ini

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

Invoice Terbayar

{{ $invoicesPaid }}

Pelanggan Baru

{{ $newCustomers }}

Pembayaran Hari Ini

@forelse($payments as $payment) @empty @endforelse
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

@endsection