<div class="flex w-full flex-col gap-6">
    <div class="flex flex-wrap items-center gap-3">
        <a href="<?php echo e(route('works.index')); ?>" wire:navigate class="setel-btn-secondary inline-flex items-center gap-2">
            <?php if (isset($component)) { $__componentOriginale41799ef1b2ae0b0e320ff9b21dacd08 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale41799ef1b2ae0b0e320ff9b21dacd08 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'e60dd9d2c3a62d619c9acb38f20d5aa5::icon.arrow-left','data' => ['class' => 'size-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flux::icon.arrow-left'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'size-4']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale41799ef1b2ae0b0e320ff9b21dacd08)): ?>
<?php $attributes = $__attributesOriginale41799ef1b2ae0b0e320ff9b21dacd08; ?>
<?php unset($__attributesOriginale41799ef1b2ae0b0e320ff9b21dacd08); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale41799ef1b2ae0b0e320ff9b21dacd08)): ?>
<?php $component = $__componentOriginale41799ef1b2ae0b0e320ff9b21dacd08; ?>
<?php unset($__componentOriginale41799ef1b2ae0b0e320ff9b21dacd08); ?>
<?php endif; ?>
            Volver al listado
        </a>
    </div>

    <div class="setel-card overflow-hidden p-5 md:p-6">
        <h2 class="text-lg font-semibold text-[var(--setel-text)]">Registrar orden de trabajo</h2>
        <p class="mt-1 text-sm text-[var(--setel-text-muted)]">Registre los datos operativos de la OT (OT, estados, fechas, SLA, prioridad, observaciones, sitio y tipo). NOC, técnico y coordinador pueden asignarse al editar la OT o desde <strong>Operaciones → Asignaciones</strong>. Los cambios posteriores quedan en el historial de auditoría.</p>

        <form class="mt-6 flex flex-col gap-6" wire:submit="save">
            <?php echo $__env->make('livewire.works.partials.coordinator-fields-work', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            <div class="flex flex-wrap gap-3">
                <button type="submit" class="setel-btn-primary" wire:loading.attr="disabled" wire:target="save">
                    <span wire:loading.remove wire:target="save">Guardar OT</span>
                    <span wire:loading wire:target="save">Guardando…</span>
                </button>
                <a href="<?php echo e(route('works.index')); ?>" wire:navigate class="setel-btn-secondary">Cancelar</a>
            </div>
        </form>
    </div>
</div>
<?php /**PATH C:\laragon\www\setelsat-gilat-manager\resources\views/livewire/works/create.blade.php ENDPATH**/ ?>