@extends('layouts.main') @section('title', 'Data Pesanan') @section('navAdm', 'active') @section('content')
| Nama | No HP | Tanggal Pemesanan | Detail | Total | Pembayaran | Pengiriman | Bukti | Status Bayar | Ubah Bayar | Aksi | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $checkout->nama_pelanggan ?? $checkout->user->name ?? '-' }} | {{ $checkout->phone ?? $checkout->no_hp ?? $checkout->user->phone ?? '-' }} |
{{ \Carbon\Carbon::parse($checkout->created_at)->format('d M Y') }}
{{ \Carbon\Carbon::parse($checkout->created_at)->format('H:i') }} |
|
Rp {{ number_format($checkout->total_harga,0,',','.') }} | {{ ucwords(str_replace('_',' ',$checkout->metode_pembayaran)) }} | @if($checkout->metode_pengiriman == 'ditoko') Ambil di Toko @else Delivery Toko @endif |
@if ($checkout->bukti_transfer)
|
{{ ucfirst($checkout->status_pembayaran) }} | {{ ucfirst(str_replace('_',' ', $checkout->status)) }} | ||
| Tidak ada data | |||||||||||