<?php if (isset($component)) { $__componentOriginalfd6eb4ed90dea78a3f155411631805a8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfd6eb4ed90dea78a3f155411631805a8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.modal','data' => ['id' => 'delete-single','wire:ignore.self' => true,'dataBsBackdrop' => 'static','dataBsKeyboard' => 'false','title' => 'Confirm Deletion','xData' => '{ shipment: {} }','@shipmentDeleting.window' => 'shipment = $event.detail']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('widgets.modal'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['id' => 'delete-single','wire:ignore.self' => true,'data-bs-backdrop' => 'static','data-bs-keyboard' => 'false','title' => 'Confirm Deletion','x-data' => '{ shipment: {} }','@shipment-deleting.window' => 'shipment = $event.detail']); ?>
    Are you sure you want to delete shipment - <span class="fw-bold" x-text="shipment.tracking_code"></span>?
     <?php $__env->slot('footer', null, []); ?> 
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal" @shipment-deleted.window="$el.click()">No, Close</button>
        <?php if (isset($component)) { $__componentOriginal05c60cf16ed354df0cc07a0780e550ad = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal05c60cf16ed354df0cc07a0780e550ad = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form.submit','data' => ['class' => 'btn-danger','target' => 'delete_single','@click.prevent' => '$wire.delete_single(shipment.id)','text' => 'Yes, delete','loadingText' => 'Deleting...']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form.submit'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'btn-danger','target' => 'delete_single','@click.prevent' => '$wire.delete_single(shipment.id)','text' => 'Yes, delete','loading-text' => 'Deleting...']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal05c60cf16ed354df0cc07a0780e550ad)): ?>
<?php $attributes = $__attributesOriginal05c60cf16ed354df0cc07a0780e550ad; ?>
<?php unset($__attributesOriginal05c60cf16ed354df0cc07a0780e550ad); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal05c60cf16ed354df0cc07a0780e550ad)): ?>
<?php $component = $__componentOriginal05c60cf16ed354df0cc07a0780e550ad; ?>
<?php unset($__componentOriginal05c60cf16ed354df0cc07a0780e550ad); ?>
<?php endif; ?>
     <?php $__env->endSlot(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfd6eb4ed90dea78a3f155411631805a8)): ?>
<?php $attributes = $__attributesOriginalfd6eb4ed90dea78a3f155411631805a8; ?>
<?php unset($__attributesOriginalfd6eb4ed90dea78a3f155411631805a8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfd6eb4ed90dea78a3f155411631805a8)): ?>
<?php $component = $__componentOriginalfd6eb4ed90dea78a3f155411631805a8; ?>
<?php unset($__componentOriginalfd6eb4ed90dea78a3f155411631805a8); ?>
<?php endif; ?>
<?php /**PATH /home/infosfg/incitycourier.live/resources/views/partials/delete-shipment-modal.blade.php ENDPATH**/ ?>