@extends('admin.layout.content') @section('content')
Kelola transaksi offline (POS) dan online (E-Commerce)
| No | Tanggal | No. Invoice | Kasir | Metode Bayar | Status | Total | Aksi |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $date }} | {{ $invoiceNumber }} | {{ $cashierName }} | {{ $payMethod }} | @if ($qrisStatus === 'SUCCESS') Berhasil @elseif ($qrisStatus === 'PENDING') Pending @elseif ($qrisStatus === 'FAILED') Gagal @else Selesai @endif | Rp {{ number_format($total, 0, ',', '.') }} | |
| Belum ada transaksi offline. | |||||||
| No | Tanggal | Invoice | Pembeli | Status Bayar | Status Pesanan | Total | Aksi |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $date }} | {{ $invoiceNumber }} | {{ $customerName }} | @if ($paymentStatus === 'paid') Lunas @elseif ($paymentStatus === 'unpaid') Belum Bayar @elseif ($paymentStatus === 'expired') Kedaluwarsa @elseif ($paymentStatus === 'failed') Gagal @else {{ $paymentStatus }} @endif | @if ($orderStatus === 'pending') Menunggu @elseif ($orderStatus === 'processing') Diproses @elseif ($orderStatus === 'shipped') Dikirim @elseif ($orderStatus === 'completed') Selesai @elseif ($orderStatus === 'cancelled') Dibatalkan @else {{ $orderStatus }} @endif | Rp {{ number_format($total, 0, ',', '.') }} | |
| Belum ada transaksi online. | |||||||