관리-도구
편집 파일: 649c85be532295a1c0adfc89d56052ca.php
<form action="<?php echo e(route('admin.products.list', ['type' => request('type')])); ?>" method="GET"> <div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasProductFilter" aria-labelledby="offcanvasProductFilterLabel" style="--bs-offcanvas-width: 500px;"> <div class="offcanvas-header bg-body"> <h3 class="mb-0"><?php echo e(translate('Filter')); ?></h3> <button type="button" class="btn btn-circle bg-white text-dark fs-10" style="--size: 1.5rem;" data-bs-dismiss="offcanvas" aria-label="Close"> <i class="fi fi-rr-cross"></i> </button> </div> <div class="offcanvas-body"> <?php $filterSections = ['sorting', 'product_type', 'product_status', 'brand', 'category']; if (request('type') == 'vendor' && (!in_array(request('request_status', ''), [1]))) { $filterSections = ['sorting', 'product_type', 'brand', 'category']; } ?> <?php if(request()->has('request_status')): ?> <input type="hidden" name="request_status" value="<?php echo e(request('request_status')); ?>"> <?php endif; ?> <?php echo $__env->make("admin-views.partials._product-filters-sections", [ 'filterSection' => $filterSections, 'productBrands' => $brands, 'productCategories' => $categories ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="offcanvas-footer shadow-popup"> <div class="d-flex justify-content-center gap-3 bg-white px-3 py-2"> <a class="btn btn-secondary w-100" href="<?php echo e(route('admin.products.list', ['type' => request('type')])); ?>"> <?php echo e(translate('Clear_Filter')); ?> </a> <button type="submit" class="btn btn-primary w-100"> <?php echo e(translate('Apply')); ?> </button> </div> </div> </div> </form> <?php /**PATH /home2/slnssare/public_html/resources/views/admin-views/product/partials/offcanvas/_filter-offcanvas.blade.php ENDPATH**/ ?>