ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/resources/views/categories/
Upload File :
Current File : /home2/selectio/www/limpiar.in.net/resources/views/categories/child_category.blade.php

@php
    $value = null;
    for ($i=0; $i < $child_category->level; $i++){
        $value .= '--';
    }
@endphp
<option value="{{ $child_category->id }}">{{ $value." ".$child_category->getTranslation('name') }}</option>
@if ($child_category->categories)
    @foreach ($child_category->categories as $childCategory)
        @include('categories.child_category', ['child_category' => $childCategory])
    @endforeach
@endif

Zerion Mini Shell 1.0