Detail Order Laundry

Selamat datang kembali di aplikasi laundryku

No. Invoice
{{ $order->invoice }}
{{ ucfirst($order->status) }}
Pesanan dibuat
Menunggu pembayaran
Sedang diproses
Pesanan siap diambil
Selesai

Alamat Pengiriman

{{ $shipment->courier }}
{{ $shipment->tracking_number }}
{{ $shipment->status }}
{{ $shipment->recipient_name }}
{{ $shipment->recipient_phone }}
{{ $shipment->address_line }}
{{ $shipment->village }} {{ $shipment->districts }}, {{ $shipment->regencies }}, {{ $shipment->province }}, {{ $shipment->postal_code }}

Detail Pesanan

@foreach ($items as $item)
{{ $item->images }}
{{ $item->title }}
(x{{ $item->qty }})
{{ $item->note }}
Rp {{ number_format($item->price, 0, ',', '.') }}
@endforeach
Subtotal Pesanan Rp{{ number_format($order->items->sum('total'), 0, ',', '.') }}
Subtotal Pengiriman Rp{{ number_format(0, 0, ',', '.') }}
Biaya Layanan Rp{{ number_format(0, 0, ',', '.') }}
Total Harga Rp{{ number_format($order->items->sum('total'), 0, ',', '.') }}
Metode Pembayaran {{ $order->payment_method }}
@if (count($payment) != 0)

Pembayaran

@foreach ($payment as $index => $item) @endforeach {{-- --}}
No Invoice Date Harga Bayar Sisa Pembayaran
{{ $index + 1 }} {{ $item->invoice }} {{ $item->date }} Rp {{ number_format($harga, 0, ',', '.') }} Rp {{ number_format($item->amount, 0, ',', '.') }} Rp {{ number_format($harga, 0, ',', '.') }}
Total dibayarkan Rp {{number_format($payment->sum('amount'), 0,',', '.')}}
Harus dibayarkan Rp {{number_format($order->amount, 0, ',', '.')}}
Sisa Pembayaran Rp {{number_format(($order->amount - $payment->sum('amount')), 0, ',', '.') }}
@endif
@if ($order->status == 'pending') @elseif ($order->status == 'waiting') @elseif ($order->status == 'process') @elseif ($order->status == 'pickup') @if (count($payment) != 0) @if ($payment->sum('amount') != $order->amount) @else @endif @endif @endif @if ($order->status != 'completed') @endif