@extends('template.layoutAdmin', ['activeButton'=>'']) @section('title') {{ trans('dashboard.dashboard') }} @endsection @section('cabecera')
@if(isset($_GET["fechaInicio"]) || isset($_GET["fechaFinal"])) @if(date_create($_GET["fechaInicio"])->format('Y-m-d h:i:s A') == date('Y-m-d h:i:s A',strtotime("now"))) @php $fechaInicio = date('Y-m-d ',strtotime("now -50 year")) ."00:00:00"; $fechaFinal = date_create($_GET["fechaFinal"])->format('Y-m-d h:i:s A'); @endphp @else @php $fechaInicio = date_create($_GET["fechaInicio"])->format('Y-m-d h:i:s A'); $fechaFinal = date_create($_GET["fechaFinal"])->format('Y-m-d h:i:s A'); @endphp @endif {{$fechaInicio.' - '.$fechaFinal}} @endif
{{ trans('dashboard.top') }} | {{ trans('dashboard.imagen') }} | {{ trans('dashboard.valor') }} | {{ trans('dashboard.nombre') }} | {{ trans('dashboard.vendidos') }} | {{ trans('dashboard.total') }} | ||
---|---|---|---|---|---|---|---|
{{$loop->iteration}} |
@if($listproduct->img == null)
![]() |
@if(isset($listproduct->producto))
{{$listproduct->producto->valor}} {{App\Helpers\monedaH::getCurrentSimbol()}} | @endif @if(!isset($listproduct->producto))0 | @endif{{$listproduct->nombre}} | {{$listproduct->cantidad}} | @if(isset($listproduct->producto)){{$listproduct->valorTotal}} {{App\Helpers\monedaH::getCurrentSimbol()}} | @endif @if(!isset($listproduct->producto))0 | @endif{{ trans('dashboard.noSeEncontraronRegistros') }} | @endif