@extends('layouts.app') @section('title', 'Dashboard Marketplace') @section('content')
Produk | UMKM | Terjual | Revenue |
---|---|---|---|
{{ $product->nama }}
{{ $product->kategori }}
|
{{ $product->umkm->nama_umkm }} | {{ $product->total_sold ?? 0 }} | Rp {{ number_format($product->total_revenue ?? 0) }} |
Belum ada data penjualan |
Kode | Pelanggan | Total | Status | Waktu |
---|---|---|---|---|
{{ $order->kode_transaksi }} | {{ $order->nama_pelanggan }} | Rp {{ number_format($order->total_amount) }} | @if($order->status === 'paid') Paid @elseif($order->status === 'pending') Pending @else {{ ucfirst($order->status) }} @endif | {{ $order->created_at->diffForHumans() }} |
Belum ada pesanan |
No | Nama UMKM | Pemilik | Kategori | Total Produk | Produk Aktif | Total Penjualan | Revenue | Status | Aksi |
---|---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} |
{{ $umkm->nama_umkm }}
{{ $umkm->alamat }}
|
{{ $umkm->pemilik }} | {{ $umkm->kategori_usaha }} | {{ $umkm->total_products ?? 0 }} | {{ $umkm->active_products ?? 0 }} | {{ $umkm->total_sales ?? 0 }} | Rp {{ number_format($umkm->total_revenue ?? 0) }} | @if($umkm->status === 'aktif') Aktif @else {{ ucfirst($umkm->status) }} @endif | |
Belum ada data UMKMData akan muncul setelah ada UMKM yang terdaftar |