@extends('layouts.app') @section('content')
| Name | SKU | Price | Stock | Status | Actions |
|---|---|---|---|---|---|
|
{{ $product->name }}
@if($product->description)
{{ Str::limit($product->description, 50) }} @endif |
{{ $product->sku ?: '-' }} |
@if($product->sale_price)
RM{{ number_format($product->sale_price, 2) }}
RM{{ number_format($product->price, 2) }} @else RM{{ number_format($product->price, 2) }} @endif |
{{ $product->stock_quantity }} | {{ $product->is_active ? 'Active' : 'Inactive' }} |