File manager - Edit - /var/www/payraty/inventory_main/storage/framework/views/eb1658332fd8f75a99a04662ba7f4f3ef35693c4.php
Back
<?php $position = null; for ($i=0; $i < $sub_category->position; $i++){ $position .= '-'; } ?> <option value="<?php echo e($sub_category->id); ?>" <?php echo e(@$product_category ? ($sub_category->id == $product_category->parent_id ? 'selected': '') : (@$product ? ($sub_category->id == $product->category_id) ? 'selected': '' : '')); ?> > <?php echo e($position."-".$sub_category->name); ?></option> <?php if($sub_category->subCategory): ?> <?php $__currentLoopData = $sub_category->subCategory; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $childCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->make('admin.product_categories.child-categories', ['sub_category' => $childCategory], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php /**PATH /var/www/payraty/inventory_main/resources/views/admin/product_categories/child-categories.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings