@if ($selected) @endif @if ($this->selectedCount)

{{ $this->selectedCount }} {{ __('Entries selected') }}

@endif
# {{ __('Name') }} {{ __('Quantity') }} {{ __('Price') }} {{ __('Cost') }} {{ __('Category') }} {{ __('Warehouse') }} {{ __('Actions') }} @forelse($products as $product) {{ $product->total_quantity }} {{ format_currency($product->average_price) }} {{ format_currency($product->average_cost) }} {{ $product->category->name }} ({{ $product->ProductsByCategory($product->category->id) }})
@forelse ($product->warehouses as $warehouse) {{ $warehouse->name }} @empty {{ __('No warehouse assigned') }} @endforelse
{{ __('View') }} @if (settings()->telegram_channel) {{ __('Send to telegram') }} @endif {{ __('Send to Whatsapp') }} {{ __('Edit') }} {{ __('Delete') }}
@empty {{ __('No products found') }} @endforelse
@if ($this->selectedCount)

{{ $this->selectedCount }} {{ __('Entries selected') }}

@endif {{ $products->links() }}
@livewire('products.show', ['product' => $product], key('show-modal-' . $product?->id)) @livewire('products.edit', ['product' => $product], key('edit-modal-' . $product?->id)) {{-- Import modal --}}
{{ __('Import Excel') }} {{ __('Download Sample') }}
{{ __('Import') }}