@extends('layouts.app') @section('title', 'Product Details') @php $breadcrumbs = [['label' => 'Masters', 'url' => route('masters.products.index')], ['label' => 'Products', 'url' => route('masters.products.index')], ['label' => $product->name ?? '']]; @endphp @section('content')

{{ $product->name ?? 'Product' }}

SKU: {{ $product->sku ?? '' }} | {{ $product->category ?? '' }}

@can('products.edit')Edit@endcan Back
Product Information
SKU{{ $product->sku ?? '' }}
Type{{ ucfirst($product->type ?? 'Goods') }}
Category{{ ucfirst(str_replace('_', ' ', $product->category ?? '')) }}
Status
Description{{ $product->description ?? 'No description' }}
HS/GST Information
HS Code{{ $product->hs_code ?? 'N/A' }}
GST Rate{{ $product->gst_rate ?? 18 }}%
Origin{{ $product->origin_country->name ?? 'N/A' }}
Pricing
Unit Price₹{{ number_format($product->unit_price ?? 0, 2) }}
Cost Price₹{{ number_format($product->cost_price ?? 0, 2) }}
MRP₹{{ number_format($product->mrp ?? 0, 2) }}

UOM{{ $product->uom->name ?? 'N/A' }}
@can('products.delete')@endcan
@endsection