@extends('layouts.admin') @section('title', 'Daftar Pesanan & Rental') @section('page_title', 'Daftar Seluruh Pesanan Rental') @section('content')
| No. Order & Sumber | Customer | Gaun yang Disewa | Periode Sewa | Pengiriman | Rincian Biaya (Pure & Total) | Pembayaran | Status Rental | Aksi |
|---|---|---|---|---|---|---|---|---|
|
@php
$srcBadge = $ord->source_badge;
@endphp
{{ $srcBadge['label'] }}
{{ $ord->created_at->format('d/m/y H:i') }}
|
{{ $ord->customer_name }}
{{ $ord->customer_phone }}
@if($ord->remark)
{{ $ord->remark }}
@endif
|
@foreach($ord->items as $it)
• {{ $it->dress->name ?? '-' }} ({{ $it->dress->code ?? '' }})
@endforeach
|
{{ $ord->rental_start_date->format('d/m/y') }} - {{ $ord->rental_end_date->format('d/m/y') }}
{{ $ord->duration_days }} Hari
|
{{ $ord->delivery_type === 'studio_pickup' ? 'Ambil di Studio' : 'Kurir ' . strtoupper($ord->shipping_courier ?? '') }}
@if($ord->shipping_tracking_number)
Resi: {{ $ord->shipping_tracking_number }}
@endif
|
{{ $ord->formatted_pure_rental }}
Pure
Dep: {{ $ord->formatted_deposit }}
@if($ord->shipping_cost > 0)
| Ongkir: {{ $ord->formatted_shipping_cost }}
@endif
Total: {{ $ord->formatted_grand_total }}
@if($ord->unique_code > 0)
+{{ $ord->unique_code }}
@endif
|
@if($ord->payment_status === 'paid')
Lunas
@elseif($ord->payment_status === 'waiting_verification')
Verifikasi Bukti
@else
@if($ord->isPaymentExpired())
Kadaluarsa
Lewat batas
@else
Belum Bayar
Batas: {{ $ord->payment_deadline ? $ord->payment_deadline->format('H:i') : '-' }} WIB
@endif
@endif
{{ $ord->payment_method ?? 'Transfer' }}
@if($ord->payment_sender_name)
a/n: {{ $ord->payment_sender_name }}
@endif
@if($ord->payment_proof)
@endif
|
{{ $ord->status_badge['label'] }} | |
| Belum ada data pesanan rental. | ||||||||