@extends('layouts.app') @section('title',$product->name)@section('page-title','Product Detail') @section('content')
{{ number_format($product->quantity_in_stock) }}
{{ $product->unit }} in stock
@if($product->isOutOfStock())Out of Stock @elseif($product->isLowStock())Low Stock @elseIn Stock@endif
${{ number_format($product->selling_price_usd,4) }}
Selling Price USD
LRD {{ number_format($product->selling_price_local,2) }}
Selling Price LRD
{{ $product->profit_margin }}%
Gross Margin
Stock Movement History
@forelse($product->stockMovements as $mv) @empty @endforelse
DateTypeReferenceQtyBy
{{ $mv->created_at->format('M j, Y H:i') }} {{ $mv->type }} {{ $mv->reference ?? $mv->notes ?? '—' }} {{ $mv->quantity>0?'+':'' }}{{ number_format($mv->quantity) }} {{ $mv->user?->name ?? '—' }}
No movements recorded.
Product Info
SKU{{ $product->sku }}
Branch{{ $product->branch?->name ?? '—' }}
Supplier{{ $product->supplier?->name ?? '—' }}
Reorder Level{{ $product->reorder_level }}
Cost (USD)${{ number_format($product->cost_price_usd,4) }}
Exchange Rate{{ $product->exchange_rate }}
@endsection