<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\AppLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <?php
        $firstPatch = false;
    ?>
    <div class="row">
        <div class="col-md-12">
            <ul class="list-group">
                <?php $__empty_1 = true; $__currentLoopData = $patches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $patch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                    <li class="list-group-item">
                        <div class="d-flex justify-content-between align-items-center">
                            <div class="patch-detail">
                                <div class="fw-bold">
                                    <?php echo e($patch['message']); ?>

                                </div>
                                <span class="small text-muted">
                                    Released: <?php echo e($patch['date']); ?> - for v<?php echo e($patch['required']); ?>

                                </span>
                            </div>
                            <div class="patch-action">
                                <?php if(is_array($applied) && !in_array($patch['id'], $applied) && !$firstPatch): ?>
                                    <?php
                                        $firstPatch = true;
                                    ?>
                                    <form method="post"
                                        action="<?php echo e(route('system.patches.apply', ['id' => $patch['id']])); ?>">
                                        <?php echo csrf_field(); ?>
                                        <button class="btn btn-sm rounded-pill btn-primary text-white" type="submit">
                                            <?php echo app('translator')->get('admin.applyPatch'); ?>
                                        </button>
                                    </form>
                                <?php else: ?>
                                    <button class="btn btn-sm rounded-pill btn-disabled" type="button" disabled>
                                        <?php echo app('translator')->get('admin.applyPatch'); ?>
                                    </button>
                                <?php endif; ?>
                            </div>
                        </div>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                    <li class="list-group-item">
                        <?php echo app('translator')->get('common.noRecordsFund'); ?>
                    </li>
                <?php endif; ?>
            </ul>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php /**PATH /www/wwwroot/webtoolzone.com/resources/themes/admin/patches.blade.php ENDPATH**/ ?>