@extends('template.layoutAdmin', ['activeButton'=>'servicios']) @section('style') @endsection @section('title') {{ trans('galeria.galeria') }} @endsection @section('cabecera')

{{ trans('galeria.galeria') }} {{ trans('galeria.mensajeAyuda') }}

@endsection @section('contenido')
@if(Session::has('message')) @endif @if(Session::has('message_error')) @endif

{{ trans('galeria.listaGaleria') }}

{{-- @if(count($search) > 0) @endif --}}
{{-- Categorias --}}
@if(auth()->user()->idPerfil == 1)
@endif
@if(auth()->user()->idPerfil == 1) @endif @foreach($imagenes as $imagen) @if(auth()->user()->idPerfil == 1) @endif @endforeach {{-- @foreach ($productos as $listproduct) @if($listproduct->funComanda) @else @endif @endforeach --}}
{{ trans('galeria.imagen') }} {{ trans('galeria.name') }} {{ trans('galeria.restaurante') }} {{ trans('galeria.estado') }} {{ trans('galeria.opciones') }}
{{$imagen->nombre}}{{$imagen->funRestaurante->userName}} @if ($imagen->estado == 1) {{ trans('galeria.activo') }} @else {{ trans('galeria.inactivo') }} @endif @if ($imagen->estado == 1)
@csrf
@endif
@if($listproduct->imagen == null) @else @endif {{substr($listproduct->nombre, 0, 50)}}... @switch($listproduct->valoracion) @case(1) @break @case(2) @break @case(3) @break @case(4) @break @case(5) @break @default @endswitch $ {{number_format($listproduct->valor, 2, ',', '.')}} {{$listproduct->funsubCategoria->nombre}}{{$listproduct->funComanda->nombre}} {{ trans('galeria.aunSinComanda') }} @if ($listproduct->idEstado == 1) {{ trans('galeria.activo') }} @else {{ trans('galeria.inactivo') }} @endif
{{-- {!! $productos->render() !!} --}}
@endsection @section('js') @endsection