@extends('layouts.vertical') @section('content')
{{-- Page Header --}}

{{ __('bundles.edit_kit') }}

{{ __('bundles.edit_kit_subtitle') }}

{{ __('bundles.cancel') }}
{{-- Breadcrumbs --}} {{-- Aviso campos bloqueados --}}
{{ __('bundles.locked_fields_title') }} {!! __('bundles.locked_fields_notice') !!}
@csrf @method('PUT') {{-- KIT Identity --}}
{{ __('bundles.kit_identity') }}
{{ __('bundles.auto_name_hint') }}
{{ __('bundles.cannot_modify') }}
{{ __('bundles.cannot_modify') }}
{{-- Barcode con candado --}}
@if(!$product->barcode)
@endif @if(!$product->barcode) {!! __('bundles.barcode_hint_missing') !!} @else {{ __('bundles.barcode_hint_locked') }} @endif
{{-- Brand & Details --}}
{{ __('bundles.product_details') }}
{{-- Brand BLOQUEADO permanente --}}
{{ __('bundles.cannot_modify') }}
{{-- Family con candado --}}
{{ __('bundles.barcode_hint_locked') }}
{{-- Model con candado --}}
{{ __('bundles.barcode_hint_locked') }}
{{-- Custom Fields 1-8 con candado --}}
@for($i = 1; $i <= 8; $i++)
{{ __('bundles.barcode_hint_locked') }}
@endfor
{{-- Descriptions --}}
{{ __('bundles.descriptions') }}
{{-- Bundle Components --}}
{{ __('bundles.bundle_components') }}
{{-- Componentes existentes --}} @forelse($product->bundleComponents as $idx => $item) @empty @endforelse {{-- Nuevos componentes agregados en esta sesión se renderizan aquí --}}
# {{ __('bundles.type') }} {{ __('bundles.name') }} {{ __('bundles.sku') }} {{ __('bundles.qty') }} {{ __('bundles.notes') }}
{{ $idx + 1 }}@if($item->is_base) BASE@endif {{ $item->item_type }} {{ $item->product->product_name ?? 'N/A' }} {{ $item->product->sku ?? '-' }} {{ $item->quantity }} {{ $item->description ?? '-' }} @if(!$item->is_base) @endif
{{ __('bundles.no_components_yet') }}
{{-- Save Bottom --}}
{{ __('bundles.cancel') }}
{{-- ============================================================ --}} {{-- MODAL: Add Component --}} {{-- ============================================================ --}} {{-- ============================================================ --}} {{-- MODAL: Confirm Update --}} {{-- ============================================================ --}} {{-- MODAL: Static Confirm --}} @endsection @section('scripts') @endsection