@extends('layouts.app') @section('content')
@include('inventory.products.partials.categories')
@can('products.manage') {{ __('inventory.product_create') }} @endcan
@foreach ($products as $product) @endforeach
{{ __('inventory.photo') }} {{ __('common.code') }} {{ __('common.name') }} {{ __('inventory.category') }} {{ __('inventory.unit') }} {{ __('inventory.track_inventory') }} {{ __('inventory.sale_price') }} {{ __('common.actions') }}
@include('inventory.products.partials.photo-strip', ['product' => $product, 'manage' => false]) {{ $product->code }} {{ $product->name }} {{ $product->category?->label() }} {{ $product->unit?->label() }} {{ $product->track_inventory ? __('common.yes') : __('common.no') }} {{ $product->sale_price }} {{ $product->currency }} @can('products.manage') {{ __('common.edit') }} @endcan
@include('inventory.products.partials.photo-viewer') @endsection