@extends('template.layoutAdmin', ['activeButton'=>'personal']) @section('title') {{ trans('restaurantes.titulorRestaurante') }} @endsection @section('cabecera')

{{ trans('restaurantes.titulorRestaurante') }}

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

{{ trans('restaurantes.listaRestaurante') }} @if(count($search) > 0) @endif

@if (env('MULTISERVER') == "CO") @else @endif
@php $ID = 1; @endphp @if(count($dataRest) <> 0) @foreach ($dataRest as $item) @if ($item->funDetalleRest->config_domicilio_vp == 43) @elseif($item->funDetalleRest->domicilioGratis == 1) @else @endif @php $ID++; @endphp @endforeach @else @endif
# {{ trans('restaurantes.razonSocial') }} {{ trans('restaurantes.nit') }} {{ trans('restaurantes.encargado') }} {{ trans('restaurantes.valorDomicilio') }} {{ trans('restaurantes.email') }} {{ trans('restaurantes.telefono') }} {{ trans('restaurantes.tipo') }} {{ trans('restaurantes.estado') }}
{{$ID}} {{$item->userName}} @if ($item->isPremium()) @endif @if(!empty($item->funDetalleRest->nitRestaurante)) {{$item->funDetalleRest->nitRestaurante}} @else {{ trans('restaurantes.actualizar') }} @endif {{$item->nombre}} {{$item->apellido}}ZonasGratis{{App\Helpers\monedaH::getCurrentSimbol($item->idUsuario)}} {{number_format($item->funDetalleRest->valorTarifaApp)}}{{$item->email}} {{$item->telefono}} @if (App::getLocale() == 'es') {{$item->funPerfil->nombre}} @else {{$item->funPerfil->nombre_ingles}} @endif @switch($item->active) @case(0) {{ trans('restaurantes.faltaCorreo') }} @break @case(1) {{ trans('restaurantes.pendiente') }} @break @case(2) {{ trans('restaurantes.espera') }} @break @case(3) @if ($item->idPerfil == 68) {{ trans('restaurantes.pendientePublicar') }} @else {{ trans('restaurantes.pendientePublicar') }} @endif @break @default @if ($item->idEstado == 1) {{ trans('restaurantes.activo') }} @else {{ trans('restaurantes.inactivo') }} @endif @endswitch

{{ trans('restaurantes.noDatos') }}

{!! $dataRest->appends(Request::all())->render() !!}
@if(count($dataRest) <> 0) @endif @endsection @section('js') @endsection