| Produk | Supplier | Harga Pengajuan | Stok | Tanggal | Aksi |
|---|---|---|---|---|---|
|
@if($product->image)
📦
@endif
{{ $product->name }}@if($product->approvalStatus === 'PENDING' && $product->created_at->diffInHours() < 24) @endif{{ $product->sku }} |
@if($product->supplier)
{{ strtoupper(substr($product->supplier->businessName ?? 'S', 0, 1)) }}
{{ $product->supplier->businessName }} {{ $product->supplier->supplierType ?? 'Supplier' }} |
@if($status === 'PENDING')
Harga Ajuan
Rp {{ number_format($product->buyPrice ?? 0, 0, ',', '.') }}
|
{{ $product->stock }} Pcs |
@if($status === 'APPROVED' && $product->approvedAt)
Disetujui
{{ $product->approvedAt->diffForHumans() }}
@elseif($status === 'REJECTED' && $product->updated_at)
Ditolak
{{ $product->updated_at->diffForHumans() }}
@else
Diajukan
{{ $product->created_at->diffForHumans() }}
@endif
|
@if($status === 'PENDING') @elseif($status === 'APPROVED') Disetujui @else Ditolak @endif |
|
Tidak ada produk dengan status ini. |
|||||
{{ $selectedProduct->description ?? 'Tidak ada deskripsi.' }}
{{ $selectedProduct->supplier->supplierType ?? 'Supplier' }}
Rp {{ number_format($selectedProduct->buyPrice ?? 0, 0, ',', '.') }} / unit
Margin Markup
Margin Laba
Produk ini sudah aktif di katalog.
Harga Beli
Rp {{ number_format($selectedProduct->buyPrice ?? 0, 0, ',', '.') }}
Harga Jual
Rp {{ number_format($sellPrice ?? 0, 0, ',', '.') }}
Pengajuan ini telah ditolak.
@if($selectedProduct->rejectionReason)Alasan:
"{{ $selectedProduct->rejectionReason }}"