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

{{ trans('dashboard.dashboard') }} {{ trans('dashboard.restauranteMayorDemanda') }}

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

{{ trans('dashboard.lsitadoPlatos') }}

@if($search > 0) @endif
{{-- --}}
{{--
--}}
@if (request()->typeList=="true") @else @endif {{-- {{dd($productos)}} --}} @if (count($productos) > 0) @foreach ($productos as $listproduct) @if (request()->typeList=="true") @else @endif @endforeach @else @endif
{{ trans('dashboard.top') }} {{ trans('dashboard.imagen') }} {{ trans('dashboard.nombre') }} {{ trans('dashboard.totalVentas') }} {{ trans('dashboard.noVentas') }}
{{ trans('dashboard.top') }} {{$loop->iteration}} {{-- @dd($listproduct); --}} @if( $listproduct->getUser->fotoPerfil== null) @else @endif {{$listproduct->getUser->userName}}{{App\Helpers\monedaH::getCurrentSimbol($listproduct->idRestaurante)}} {{ number_format($listproduct->valorPedido, 1, ',', '.') }}{{$listproduct->numeroPedido}}
{{ trans('dashboard.noSeEncontraronRegistros') }}
{{-- {!! $productos->render() !!} --}}
@endsection