@extends('vendor.layouts.app') @section('title', 'My Products') @section('page-title', 'My Products') @push('styles') @endpush @section('content')
Manage your product inventory and stock
@if($vendor->verification_status == 'pending') Your documents are under review. Product upload is restricted. @elseif($vendor->verification_status == 'rejected') Verification rejected. Please re-upload valid documents. @else Upload your ID card and photo to unlock product uploading features. @endif
| Product | Category | Type | Price | Stock | Status | Approval | Action |
|---|---|---|---|---|---|---|---|
{{ Str::limit($value->name, 30) }}ID: #{{ $value->id }} |
{{ $value->category ? $value->category->name : '-' }} | @php $isDigital = isset($value->is_digital) ? (bool) $value->is_digital : false; @endphp @if($isDigital) Digital @else Physical @endif | ৳{{ number_format($value->new_price, 2) }} | @if($value->stock > 0) {{ $value->stock }} @else Out of Stock @endif | @if($value->status == 1) Active @else Inactive @endif | @if($value->approval_status == 'approved') Approved @elseif($value->approval_status == 'pending') Pending @elseif($value->approval_status == 'rejected') Rejected @endif | |