@extends('layouts.vertical') @section('content')
{{ __('bundles.back') }} {{ $category->name }} {{ $products->total() }} {{ __('bundles.kits') }}
{{ __('bundles.new_kit') }}
@forelse($products as $product) @empty @endforelse
{{ __('bundles.part_no') }} {{ __('bundles.brand') }} {{ __('bundles.kit_name') }} {{ __('bundles.product_code') }} {{ __('bundles.sale_price') }} {{ __('bundles.actions') }}
{{ $product->id }} {{ $product->brand->validbrand_id ?? '-' }} {{ $product->product_name }} {{ $product->product_code ?? '-' }} -
@forelse($product->bundleComponents as $idx => $item) @empty @endforelse
# {{ __('bundles.type') }} {{ __('bundles.component') }} {{ __('bundles.sku') }} {{ __('bundles.qty') }} {{ __('bundles.notes') }}
{{ $idx + 1 }} {{ $item->item_type }} @if($item->is_base) {{ __('bundles.base') }} @endif {{ $item->product->product_name ?? 'N/A' }} {{ $item->product->sku ?? '-' }} {{ $item->quantity }} {{ $item->description ?? '-' }}
{{ __('bundles.no_components') }}
{{ __('bundles.no_kits') }}
{{ __('bundles.showing_entries', ['first' => $products->firstItem() ?? 0, 'last' => $products->lastItem() ?? 0, 'total' => $products->total()]) }}
{{ $products->links() }}
@endsection @section('scripts') @endsection