@extends("admin.layouts.app") @section("styles") @endsection @section("content")
Warehouses
{{-- --}} {{-- --}} @forelse($warehouses as $warehouse) {{-- --}} {{-- --}} @empty @endforelse
@lang("constants.title") Nickname Code @lang("constants.is_active") PublishedIs OnlineShow In FilterAbout-UsTYPE @lang("constants.options")
{{$warehouse->title}} {{$warehouse->nickname}} {{$warehouse->code}} @if ($warehouse->is_active) @else @endif @if ($warehouse->is_published) @else @endif --}} {{-- @if ($warehouse->is_online) @else @endif--}} {{-- @if ($warehouse->show_in_filter) @else @endif --}} {{-- @if ($warehouse->is_only_about_us) @else @endif--}} {{-- {{Form::select("type",config('ihouse.warehouses_type'),$warehouse->type,['class'=>"select2 form-control w-auto",'placeholder'=>'Select Type', 'id'=>'updatetype','data-id'=>$warehouse->id])}} {{Form::open(['route'=>["admin.warehouses.destroy",$warehouse->id],'method'=>"delete"])}} id)}}" class="btn btn-outline btn-sm purple" title="Edit"> @lang("constants.edit") {!! Form::close() !!}
{!! $warehouses->links()!!}
Warehouses
{{ Form::open(['route' => "admin.warehouses.order",'class'=>"form-horizontal"]) }} {{ Form::hidden('reorder',"",array('id'=>'reorder')) }}
    @foreach ($items as $item)
  1. {{$item['title']}}
    @if(count($item['childs']) > 0)
      @foreach ($item['childs'] as $item2)
    1. {{$item2['title']}}
      @if(count($item2['childs']) > 0)
        @foreach($item2['childs'] as $item3)
      1. {{ $item3['title'] }}
        @if(count($item3['childs']) > 0)
          @foreach($item3['childs'] as $item4)
        1. {{ $item4['title'] }}
        2. @endforeach
        @endif
      2. @endforeach
      @endif
    2. @endforeach
    @endif
  2. @endforeach
{!! Form::close()!!}
@endsection @section("scripts") @include("admin.layouts.update_attribute") @endsection