{{ auth()->user()->role_id != 1 ? 'My Inventory' : 'Inventory' }}
@if(auth()->user()->role_id ==1) @endif @forelse ($data as $key => $inv) @if(auth()->user()->role_id ==1) @endif @empty @endforelse
ItemAdmin/ShopStock Category Rates Action
{{ $inv->name }} @if($inv->delete == 1) Deleted @endif

Sr No: {{ $data->firstItem() + $key }} @if(!empty($inv->barcode)) • Barcode: {{ $inv->barcode }} @endif

Dargaram Ji
Royal Collection
{{ rtrim(rtrim(number_format($inv->current_stock, 4, '.', ''), '0'), '.') }} {{ $inv->category ?? '-' }}
P: ₹{{ number_format($inv->purchase_rate, 2) }} W: ₹{{ number_format($inv->wholesale_rate, 2) }} S: ₹{{ number_format($inv->salling_price, 2) }}
{{-- ✅ VIEW --}} {{-- ================= OFFCANVAS ================= --}}
Inventory Details
{{ $inv->name }}
{{-- ✅ NEW: Better Barcode Card --}}
{{-- Top line --}}
@if(auth()->user()->role_id == 1) QuantumNode @else {{ auth()->user()->name }} @endif
Item Code: {{ $inv->barcode ?? '-' }}
₹{{ number_format($inv->salling_price, 2) }}

{{-- Barcode Center --}}
{{ $inv->name }}
Scan barcode to identify item
@if(!empty($inv->barcode)) {!! \Milon\Barcode\Facades\DNS1DFacade::getBarcodeSVG( $inv->barcode, 'C128', 1.6, 55, '#111', false ) !!} @else Barcode not available @endif
{{ $inv->barcode ?? '—' }}
{{-- Bottom quick info --}}
Current Stock
{{ rtrim(rtrim(number_format($inv->current_stock, 4, '.', ''), '0'), '.') }}
Category
{{ $inv->category ?? '-' }}
{{-- Rates Card (optional) --}}
Rates
P: ₹{{ number_format($inv->purchase_rate, 2) }} W: ₹{{ number_format($inv->wholesale_rate, 2) }} S: ₹{{ number_format($inv->salling_price, 2) }}
{{-- ================= /OFFCANVAS ================= --}} {{-- MORE --}}
No inventory found