<?php if (isset($component)) { $__componentOriginaldc6e6db4d58a7074b95f116fadae2b02 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaldc6e6db4d58a7074b95f116fadae2b02 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.layouts.admin.master','data' => ['title' => ''.e($title).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('layouts.admin.master'); ?>
<?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(['title' => ''.e($title).'']); ?>
    <div class="page-container">

        <div class="page-title-head d-flex align-items-sm-center flex-sm-row flex-column gap-2">
            <div class="flex-grow-1">
                <h4 class="fs-18 fw-semibold mb-0"><?php echo e($title); ?></h4>
            </div>

            <div class="text-end">
                <?php if (isset($component)) { $__componentOriginal1a2164c88256e2df02baa87be70e8a2b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1a2164c88256e2df02baa87be70e8a2b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.breadcrumbs','data' => ['breadcrumbs' => $breadcrumbs]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.breadcrumbs'); ?>
<?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(['breadcrumbs' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($breadcrumbs)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1a2164c88256e2df02baa87be70e8a2b)): ?>
<?php $attributes = $__attributesOriginal1a2164c88256e2df02baa87be70e8a2b; ?>
<?php unset($__attributesOriginal1a2164c88256e2df02baa87be70e8a2b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1a2164c88256e2df02baa87be70e8a2b)): ?>
<?php $component = $__componentOriginal1a2164c88256e2df02baa87be70e8a2b; ?>
<?php unset($__componentOriginal1a2164c88256e2df02baa87be70e8a2b); ?>
<?php endif; ?>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title mb-0">Overview of Package and Delivery Details</h4>
                        <?php if (isset($component)) { $__componentOriginal7481bac37f0bdbe18f4cbd83ac4c5f51 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal7481bac37f0bdbe18f4cbd83ac4c5f51 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.card-header-button','data' => ['href' => ''.e(route('admin.shipment.create')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.card-header-button'); ?>
<?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(['href' => ''.e(route('admin.shipment.create')).'']); ?>Create
                            Shipment <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal7481bac37f0bdbe18f4cbd83ac4c5f51)): ?>
<?php $attributes = $__attributesOriginal7481bac37f0bdbe18f4cbd83ac4c5f51; ?>
<?php unset($__attributesOriginal7481bac37f0bdbe18f4cbd83ac4c5f51); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal7481bac37f0bdbe18f4cbd83ac4c5f51)): ?>
<?php $component = $__componentOriginal7481bac37f0bdbe18f4cbd83ac4c5f51; ?>
<?php unset($__componentOriginal7481bac37f0bdbe18f4cbd83ac4c5f51); ?>
<?php endif; ?>
                    </div>
                    <div class="card-body">
                        <dl class="row">
                            <dt class="col-sm-4">Tracking Code:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->tracking_code); ?></dd>

                            <dt class="col-sm-4">Shipment Type:</dt>
                            <dd class="col-sm-8"><?php echo e(ucfirst($shipment->type)); ?></dd>

                            <dt class="col-sm-4">Product:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->product); ?></dd>

                            <dt class="col-sm-4">Description:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->description); ?></dd>

                            <dt class="col-sm-4">Status:</dt>
                            <dd class="col-sm-8">
                                <span class="<?php echo e($shipment->status->badge()); ?>">
                                    <?php echo e($shipment->status->label()); ?>

                                </span>
                            </dd>

                            <dt class="col-sm-4">Current Location:</dt>
                            <dd class="col-sm-8">
                                <?php echo e($shipment->current_location); ?>

                                <?php if (isset($component)) { $__componentOriginal82b7627bd282f79798bfa180e89d0567 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal82b7627bd282f79798bfa180e89d0567 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.shipment-map','data' => ['shipment' => $shipment]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.shipment-map'); ?>
<?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(['shipment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($shipment)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal82b7627bd282f79798bfa180e89d0567)): ?>
<?php $attributes = $__attributesOriginal82b7627bd282f79798bfa180e89d0567; ?>
<?php unset($__attributesOriginal82b7627bd282f79798bfa180e89d0567); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal82b7627bd282f79798bfa180e89d0567)): ?>
<?php $component = $__componentOriginal82b7627bd282f79798bfa180e89d0567; ?>
<?php unset($__componentOriginal82b7627bd282f79798bfa180e89d0567); ?>
<?php endif; ?>
                            </dd>

                            <dt class="col-sm-4">Last Update:</dt>
                            <dd class="col-sm-8"><?php echo e(formatDateTime($shipment->last_update)); ?></dd>

                            <dt class="col-sm-4">Departure:</dt>
                            <dd class="col-sm-8">
                                <?php echo e($shipment->shipped_from); ?> <br>
                                <?php echo e(formatDate($shipment->departure_date)); ?>

                                <?php echo e(formatTime($shipment->departure_time)); ?>

                            </dd>

                            <dt class="col-sm-4">Destination:</dt>
                            <dd class="col-sm-8">
                                <?php echo e($shipment->shipped_to); ?> <br>
                                <?php echo e(formatDate($shipment->arrival_date)); ?> <?php echo e(formatTime($shipment->arrival_time)); ?>

                            </dd>

                            <dt class="col-sm-4">Carrier:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->carrier); ?> (<?php echo e($shipment->carrier_reference_no); ?>)</dd>

                            
                            <h5 class="col-sm-12 text-primary mt-3">Sender Details</h5>

                            <dt class="col-sm-4">Name:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->sender_name); ?></dd>

                            <dt class="col-sm-4">Address:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->sender_address); ?></dd>

                            <dt class="col-sm-4">Phone:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->sender_phone); ?></dd>

                            <dt class="col-sm-4">Email:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->sender_email); ?></dd>

                            
                            <h5 class="col-sm-12 text-primary mt-3">Recipient Details</h5>

                            <dt class="col-sm-4">Name:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->client_name); ?></dd>

                            <dt class="col-sm-4">Address:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->client_address); ?></dd>

                            <dt class="col-sm-4">Phone:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->client_phone); ?></dd>

                            <dt class="col-sm-4">Email:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->client_email); ?></dd>

                            
                            <h5 class="col-sm-12 text-primary mt-3">Package Details</h5>

                            <dt class="col-sm-4">Weight:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->weight); ?> kg</dd>

                            <dt class="col-sm-4">Quantity:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->quantity); ?></dd>

                            <dt class="col-sm-4">Dimensions (L×W×H):</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->length); ?> × <?php echo e($shipment->width); ?> ×
                                <?php echo e($shipment->height); ?> cm</dd>

                            <dt class="col-sm-4">Comment:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->comment ?? 'N/A'); ?></dd>

                            
                            <h5 class="col-sm-12 text-primary mt-3">Payment Details</h5>

                            <dt class="col-sm-4">Amount:</dt>
                            <dd class="col-sm-8">
                                <strong><?php echo e(currency($shipment->currency) . formatAmount($shipment->amount)); ?></strong>
                                <?php echo e(currency($shipment->currency, 'code')); ?>

                            </dd>

                            <dt class="col-sm-4">Payment Mode:</dt>
                            <dd class="col-sm-8"><?php echo e(ucfirst($shipment->payment_mode)); ?></dd>

                            <dt class="col-sm-4">Total Freight:</dt>
                            <dd class="col-sm-8"><?php echo e($shipment->total_freight); ?></dd>

                            <?php if($shipment->image): ?>
                                <dt class="col-sm-4">Image:</dt>
                                <dd class="col-sm-8"><img src="<?php echo e(asset($shipment->image)); ?>" class="img-thumbnail">
                                </dd>
                            <?php endif; ?>

                        </dl>
                    </div><!-- end card-body -->
                </div><!-- end card -->

                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title mb-0">Shipment Locations</h4>
                    </div>
                    <div class="card-body">
                        <div class="table-responsive">
                            <table id="myTable" class="table table-bordered">
                                <thead>
                                    <tr>
                                        <th>#</th>
                                        <th>Location</th>
                                        <th>Google Map Location</th>
                                        <th>Description</th>
                                        <th>Date</th>
                                        <th>Time</th>
                                        <th>Status</th>
                                        <th>Action</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $__currentLoopData = $shipment->shipmentLocation()->latest()->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $shipmentLocation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($index + 1); ?></td>
                                            <td>
                                                <?php if(
                                                    $shipment->current_location == $shipmentLocation->location &&
                                                        $shipment->status->value == $shipmentLocation->status->value): ?>
                                                    Current Location: <span
                                                        class="text-success"><b><?php echo e($shipmentLocation->location); ?></b></span>
                                                <?php else: ?>
                                                    Previous Location: <span
                                                        class="text-danger"><b><?php echo e($shipmentLocation->location); ?></b></span>
                                                <?php endif; ?>
                                            </td>
                                            <td><?php echo e($shipmentLocation->google_map_location); ?></td>
                                            <td><?php echo e($shipment->description); ?></td>
                                            <td><?php echo e(formatDate($shipmentLocation->date)); ?>

                                            </td>
                                            <td><?php echo e(formatTime($shipmentLocation->time)); ?></td>
                                            <td>
                                                <span
                                                    class="<?php echo e($shipmentLocation->status->badge()); ?>"><?php echo e($shipmentLocation->status->label()); ?></span>
                                            </td>
                                            <td>
                                                <?php if (isset($component)) { $__componentOriginal18371a5a3845bb1bf4b5af13034b064c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal18371a5a3845bb1bf4b5af13034b064c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.delete-button','data' => ['action' => ''.e(route('admin.shipment.location.destroy', $shipmentLocation->uuid)).'','class' => 'btn btn-danger m-1']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.delete-button'); ?>
<?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(['action' => ''.e(route('admin.shipment.location.destroy', $shipmentLocation->uuid)).'','class' => 'btn btn-danger m-1']); ?>Delete <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal18371a5a3845bb1bf4b5af13034b064c)): ?>
<?php $attributes = $__attributesOriginal18371a5a3845bb1bf4b5af13034b064c; ?>
<?php unset($__attributesOriginal18371a5a3845bb1bf4b5af13034b064c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal18371a5a3845bb1bf4b5af13034b064c)): ?>
<?php $component = $__componentOriginal18371a5a3845bb1bf4b5af13034b064c; ?>
<?php unset($__componentOriginal18371a5a3845bb1bf4b5af13034b064c); ?>
<?php endif; ?>
                                            </td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>

                        </div>
                    </div>
                    <div class="card-footer">
                        <?php if (isset($component)) { $__componentOriginal1cea543d77943aa3e9739a4ecb1b88c3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1cea543d77943aa3e9739a4ecb1b88c3 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.shipment-action-btn','data' => ['shipment' => $shipment]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.shipment-action-btn'); ?>
<?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(['shipment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($shipment)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1cea543d77943aa3e9739a4ecb1b88c3)): ?>
<?php $attributes = $__attributesOriginal1cea543d77943aa3e9739a4ecb1b88c3; ?>
<?php unset($__attributesOriginal1cea543d77943aa3e9739a4ecb1b88c3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1cea543d77943aa3e9739a4ecb1b88c3)): ?>
<?php $component = $__componentOriginal1cea543d77943aa3e9739a4ecb1b88c3; ?>
<?php unset($__componentOriginal1cea543d77943aa3e9739a4ecb1b88c3); ?>
<?php endif; ?>
                    </div>
                </div>

                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title mb-0">Update Shipment Locations</h4>
                    </div>
                    <div class="card-body">
                        <form action="<?php echo e(route('admin.shipment.location.update', $shipment->uuid)); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PUT'); ?>
                            <div class="row">
                                <?php if (isset($component)) { $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-select','data' => ['name' => 'shipment_status','label' => 'Status','type' => 'select','options' => [
                                        'Picked Up',
                                        'On Hold',
                                        'Out For Delivery',
                                        'In Transit',
                                        'En Route',
                                        'Cancelled',
                                        'Delivered',
                                        'Returned',
                                        'Arrived',
                                    ],'value' => ''.e($shipment->status).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-select'); ?>
<?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(['name' => 'shipment_status','label' => 'Status','type' => 'select','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
                                        'Picked Up',
                                        'On Hold',
                                        'Out For Delivery',
                                        'In Transit',
                                        'En Route',
                                        'Cancelled',
                                        'Delivered',
                                        'Returned',
                                        'Arrived',
                                    ]),'value' => ''.e($shipment->status).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $attributes = $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $component = $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['name' => 'location','label' => 'Location','value' => ''.e($shipment->current_location).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-input'); ?>
<?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(['name' => 'location','label' => 'Location','value' => ''.e($shipment->current_location).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['name' => 'google_map_location','label' => 'Google Map Location','value' => ''.e($shipment->current_location).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-input'); ?>
<?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(['name' => 'google_map_location','label' => 'Google Map Location','value' => ''.e($shipment->current_location).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['name' => 'description','label' => 'Description','type' => 'textarea']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-input'); ?>
<?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(['name' => 'description','label' => 'Description','type' => 'textarea']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['name' => 'date','label' => 'Date','type' => 'date']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-input'); ?>
<?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(['name' => 'date','label' => 'Date','type' => 'date']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginal63bead4e908ebc125014a497e80acb69 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal63bead4e908ebc125014a497e80acb69 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-input','data' => ['name' => 'time','label' => 'Time','type' => 'time']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-input'); ?>
<?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(['name' => 'time','label' => 'Time','type' => 'time']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $attributes = $__attributesOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__attributesOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal63bead4e908ebc125014a497e80acb69)): ?>
<?php $component = $__componentOriginal63bead4e908ebc125014a497e80acb69; ?>
<?php unset($__componentOriginal63bead4e908ebc125014a497e80acb69); ?>
<?php endif; ?>
                                <?php if (isset($component)) { $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-select','data' => ['name' => 'notification','label' => 'Notification','type' => 'select','options' => ['None', 'Email']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-select'); ?>
<?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(['name' => 'notification','label' => 'Notification','type' => 'select','options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['None', 'Email'])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $attributes = $__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__attributesOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca)): ?>
<?php $component = $__componentOriginal60bcc951c550d5b77fb7cdd189e510ca; ?>
<?php unset($__componentOriginal60bcc951c550d5b77fb7cdd189e510ca); ?>
<?php endif; ?>

                                <?php if (isset($component)) { $__componentOriginal9722d8890a2151e41969192a057a6c04 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9722d8890a2151e41969192a057a6c04 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.form-button'); ?>
<?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([]); ?>Update <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9722d8890a2151e41969192a057a6c04)): ?>
<?php $attributes = $__attributesOriginal9722d8890a2151e41969192a057a6c04; ?>
<?php unset($__attributesOriginal9722d8890a2151e41969192a057a6c04); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9722d8890a2151e41969192a057a6c04)): ?>
<?php $component = $__componentOriginal9722d8890a2151e41969192a057a6c04; ?>
<?php unset($__componentOriginal9722d8890a2151e41969192a057a6c04); ?>
<?php endif; ?>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <!-- end col -->
        </div>
        <!-- end row -->

    </div>
    <script>
        document.getElementById('location').addEventListener('input', function() {
            document.getElementById('google_map_location').value = this.value;
        });
    </script>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaldc6e6db4d58a7074b95f116fadae2b02)): ?>
<?php $attributes = $__attributesOriginaldc6e6db4d58a7074b95f116fadae2b02; ?>
<?php unset($__attributesOriginaldc6e6db4d58a7074b95f116fadae2b02); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaldc6e6db4d58a7074b95f116fadae2b02)): ?>
<?php $component = $__componentOriginaldc6e6db4d58a7074b95f116fadae2b02; ?>
<?php unset($__componentOriginaldc6e6db4d58a7074b95f116fadae2b02); ?>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\projects\logistics-v4.0\resources\views/dashboard/admin/shipment/show.blade.php ENDPATH**/ ?>