@extends('admin.layouts.app') @section('title','Product — '.$product->product_name) @section('breadcrumb') / Inventory / {{ $product->product_name }} @endsection @section('content') @php $qty = $product->current_quantity; $stockColor = $qty == 0 ? 'danger' : ($qty < 10 ? 'warning' : 'success'); @endphp
{{ $product->product_code }}
{{ $product->product_code }}{{ $product->description }}
@endif| Type | Quantity | Before | After | Description | Date |
|---|---|---|---|---|---|
| {{ ucfirst(str_replace('_',' ',$tx->transaction_type)) }} | {{ $tx->quantity }} | {{ $tx->previous_quantity }} | {{ $tx->new_quantity }} | {{ $tx->description ?? '—' }} | {{ $tx->created_at->format('d M Y') }} |
| No stock transactions yet | |||||