@extends('layout.app')
@section('title', __('products'))
@section('content')
@foreach ($products as $product)
{{ __('sl') }}
{{ __('image') }}
{{ __('name') }}
@if (feature('barcodes'))
{{ __('code') }}
@endif
{{ __('brand') }}
{{ __('category') }}
@if (feature('purchases'))
{{ __('quantity') }}
@endif
{{ __('unit') }}
{{ __('price') }}
{{ __('action') }}
{{ $loop->iteration }}
{{ $product->name }}
@if (feature('barcodes'))
{{ $product->code }}
@endif
{{ $product->brand?->title }}
{{ $product->category?->name ?? 'N/A' }}
@if (feature('purchases'))
{{ $product->qty }}
@endif
{{ ucfirst($product->unit?->name) ?? 'N/A' }}
{{ numberFormat($product->price) }}