@extends('admin.layouts.panel') @section('head') @endsection @section('body')

LAPORAN ORDER LAUNDRY

Tanggal Export:{{ now()->setTimezone('Asia/Jakarta')->locale('id')->translatedFormat('d F Y H:i') }} WIB

Total Data: {{ $orders->count() }} Orders

@if ($filters['search'] || $filters['status'] || $filters['date_from'] || $filters['date_to'])

Filter yang Diterapkan:

@if ($filters['search'])

• Pencarian: {{ $filters['search'] }}

@endif @if ($filters['status'])

• Status: {{ ucfirst($filters['status']) }}

@endif @if ($filters['date_from'])

• Tanggal Mulai: {{ \Carbon\Carbon::parse($filters['date_from'])->format('d F Y') }}

@endif @if ($filters['date_to'])

• Tanggal Selesai: {{ \Carbon\Carbon::parse($filters['date_to'])->format('d F Y') }}

@endif
@endif @forelse($orders as $index => $order) @empty @endforelse
No Invoice Pelanggan Tanggal Status Berat (KG) Harga/KG Total Harga Telepon
{{ $index + 1 }} {{ $order->invoice }} {{ $order->username }} {{ $order->created_at->format('d/m/Y H:i') }} {{ $order->status_text }} {{ number_format($order->weight ?? 0, 0, ',', '.') }} Rp {{ number_format($order->price ?? 0, 0, ',', '.') }} Rp {{ number_format($order->grand_total, 0, ',', '.') }} {{ $order->phone ?? '-' }}
Tidak ada data yang ditemukan

Ringkasan:

Total Berat: {{ number_format($totalWeight, 0, ',', '.') }} KG

Total Pendapatan: Rp {{ number_format($totalAmount, 0, ',', '.') }}

Jumlah Order: {{ $orders->count() }} Orders

@endsection