@extends('layouts.vendor') @section('title', 'My Products') @section('page-title', 'My Products') @section('content')
+ Add Product
@foreach($products as $product) @endforeach
Product Category Price Stock Status Actions

{{ $product->name }}

@if($product->part_number)

PN: {{ $product->part_number }}

@endif
{{ $product->category->name }} @if($product->sale_price) ${{ number_format($product->sale_price, 2) }} ${{ number_format($product->price, 2) }} @else ${{ number_format($product->price, 2) }} @endif {{ $product->stock_quantity }} {{ $product->is_active ? 'Active' : 'Inactive' }}
Edit
@csrf @method('DELETE')
{{ $products->links() }}
@endsection