@extends('layouts.admin') @section('title', 'Products') @section('content')
| Name | Category | Price | Stock | Status | |
|---|---|---|---|---|---|
| {{ $p->name }} {{ $p->is_veg ? '🟢' : '🔴' }} | {{ $p->category->name }} | ₹{{ number_format($p->price, 2) }} | @if (is_null($p->stock_qty)) Unlimited @else {{ $p->stock_qty }} @endif |