@extends('layouts.admin') @section('content')
Detail Pesanan #{{ $order->id }}
Kembali
@if(session('success'))
{{ session('success') }}
@endif
Data Pemesan
  • Nama: {{ $order->nama }}
  • Email: {{ $order->email }}
  • Telepon: {{ $order->telepon }}
  • Alamat: {{ $order->alamat }}
Status Pesanan
@csrf
{{-- Informasi Pembayaran --}} @if($order->payment_method || $order->payment_proof)
Informasi Pembayaran
  • Metode Pembayaran: {{ $order->payment_method ?? '-' }}
  • Status Pembayaran: {{ $order->payment_status }}
  • @if($order->payment_proof)
  • Bukti Pembayaran: Lihat Bukti
  • @endif
@if($order->payment_status == 'Belum Bayar' && $order->payment_proof)
@csrf
@endif
@endif @if($order->file_desain)
File Desain: Download
@endif
Detail Produk
@php $total = 0; @endphp @foreach($order->items as $item) @php $subtotal = $item->qty * $item->harga; $total += $subtotal; @endphp @endforeach
Nama Produk Qty Harga Subtotal
{{ $item->nama_produk }} {{ $item->qty }} Rp{{ number_format($item->harga,0,',','.') }} Rp{{ number_format($subtotal,0,',','.') }}
Total Rp{{ number_format($total,0,',','.') }}
@endsection