@extends('layouts.admin') @section('title', 'POS Products') @section('page-title', 'POS Products') @section('content')
@forelse($products as $product) @empty @endforelse
User Product Type Sell Price Stock Status Updated
{{ $product->user->name ?? 'Unknown' }}
{{ $product->user->email ?? '—' }}
{{ $product->name }}
@if($product->barcode)
{{ $product->barcode }}
@endif
{{ ucfirst($product->type ?? 'product') }} {{ number_format($product->sell_price, 2) }} @if($product->track_stock) {{ $product->stock ?? 0 }} @else N/A @endif @if($product->is_deleted) Deleted @elseif($product->is_active) Active @else Inactive @endif {{ $product->updated_at?->diffForHumans() }}
No products synced yet.
{{ $products->links() }}
@endsection