{{ $product->name }} @if($product->barcode) ({{ $product->barcode }}) @endif
Stock is managed through {{ $linkedInfo['stock_product'] }} (1 unit = {{ number_format($linkedInfo['ratio'], 0) }} base units). All quantities shown are converted to this product's units.
| Time | Type | Info | IN | OUT | Balance |
|---|---|---|---|---|---|
| {{ optional($row['created_at'])->format('Y-m-d h:i A') }} | @if($row['qty_in']) IN @elseif($row['qty_out']) OUT @endif @if($isCaseSale) 📦 CASE @elseif($isDirectSale) DIRECT @endif |
@if($row['reference_type'])
{{ $row['reference_type'] }} @if($row['reference_id']) #{{ $row['reference_id'] }} @endif
@endif
@if($note)
@php
// Clean up the note display - remove the [CASE SALE:] and [DIRECT:] tags for cleaner display
$displayNote = preg_replace('/\s*\[(CASE SALE|DIRECT):[^\]]+\]/', '', $note);
@endphp
{{ $displayNote }}
@endif
|
{{ $row['qty_in'] ? number_format($row['qty_in'], 3) : '' }} | {{ $row['qty_out'] ? number_format($row['qty_out'], 3) : '' }} | {{ number_format($row['balance'], 3) }} |
| No stock movements recorded. | |||||