@extends('layouts.main') {{-- Asumsi layout user --}} @section('title', 'Detail Order #' . $order->id) @section('content')
Order ID: #{{ $order->id }}
{{ $order->created_at->format('d M Y, H:i') }}
@if($order->production->planning_status === 'pending_approval')
@if($planningPendingTooLong)
Planning produksi sudah menunggu persetujuan supervisor selama {{ now()->diffInDays($order->production->submitted_at) }} hari.
@if($order->production->submitted_at)
(Disubmit: {{ $order->production->submitted_at->format('d M Y') }})
@endif
Jika sudah lebih dari 3 hari, silakan hubungi customer service untuk follow-up.
@else
Planning produksi sedang menunggu persetujuan supervisor.
@if($order->production->submitted_at)
(Disubmit: {{ $order->production->submitted_at->format('d M Y') }})
@endif
Kami akan memproses segera setelah disetujui.
@endif
@elseif($order->production->completion_status === 'pending_approval')
@if($completionPendingTooLong)
Produksi telah selesai dan menunggu persetujuan final selama {{ now()->diffInDays($order->production->completed_at) }} hari.
@if($order->production->completed_at)
(Selesai: {{ $order->production->completed_at->format('d M Y') }})
@endif
Jika sudah lebih dari 2 hari, silakan hubungi customer service untuk follow-up.
@else
Produksi telah selesai dan sedang menunggu persetujuan final dari supervisor.
@if($order->production->completed_at)
(Selesai: {{ $order->production->completed_at->format('d M Y') }})
@endif
Produk akan segera siap setelah disetujui.
@endif
@endif
Pembayaran Anda sudah selesai. Pesanan sedang dipersiapkan untuk masuk tahap produksi.
Kami akan segera menghubungi Anda ketika produksi dimulai.
Detail pesanan Anda
Produk
{{ $order->product->product_title ?? 'N/A' }}
Quantity
{{ $order->quantity }} unit
Total Harga
{{ $order->formatted_total_price }}
Metode Pembayaran
{{ ucfirst($order->payment_method) }}
Rincian pembayaran Down Payment
Total Harga
{{ $formattedTotalPrice }}
DP ({{ number_format($dpPercentage, 0) }}%)
{{ $formattedDpAmount }}
Sudah Dibayar
{{ $formattedPaidAmount }}
Sisa Pembayaran
{{ $formattedRemainingAmount }}
Selesaikan pembayaran sisa segera setelah produksi selesai untuk mempercepat pengiriman.
Informasi status terbaru
Status Pesanan
Status persetujuan pesanan
{{ $order->rejection_reason }}
@if($order->rejected_at)Ditolak pada: {{ $order->rejected_at->format('d M Y, H:i') }}
@endifJika Anda memiliki pertanyaan atau ingin mengajukan ulang pesanan, silakan hubungi customer service kami.
Status Pembayaran
Status pembayaran pesanan
Status Produksi
Status pembuatan produk
Produk yang dipesan
Nama Produk
{{ $order->product->product_title }}
Harga Satuan
{{ $order->product->formatted_price ?? 'N/A' }}
Deskripsi
{{ $order->product->product_description }}
Tindakan cepat
Informasi pengiriman produk
{{ $order->shipping_address }}