@extends('template.layoutAdmin', ['activeButton'=>'productos']) @section('style') @endsection @section('title') {{ trans('promociones.tituloPromocionesProductos') }} @endsection @section('cabecera') @include('system.promociones.cabecera') @endsection @section('contenido')
@if(Session::has('message')) @endif @if(Session::has('message_error')) @endif @if(Session::has('message_error_moneda')) @endif

{{ trans('promociones.listaPromocionesPorcentuales') }}

@if(count($search) > 0) @endif
@foreach ($promociones as $listproduct) @if ($listproduct->funProduct != null) @if($listproduct->funProduct->funComanda) @else @endif @endif @endforeach
{{ trans('promociones.imagen') }} {{ trans('promociones.nombre') }} {{ trans('promociones.valor') }} {{ trans('promociones.categoria') }} {{ trans('promociones.comanda') }} {{ trans('promociones.estado') }} {{ trans('promociones.opciones') }}
@if($listproduct->imagen == null) @else @endif {{substr($listproduct->funProduct->nombre, 0, 50)}}... @switch($listproduct->funProduct->valoracion) @case(1) @break @case(2) @break @case(3) @break @case(4) @break @case(5) @break @default @endswitch {{App\Helpers\monedaH::getCurrentSimbol() ." ". number_format($listproduct->precio, 2, ',', '.')}} {{$listproduct->funProduct->funsubCategoria->nombre}}{{$listproduct->funProduct->funComanda->nombre}} {{ trans('promociones.sinComanda') }} @if ($listproduct->state == 1) {{ trans('promociones.activo') }} @elseif($listproduct->state == 0) {{ trans('promociones.inactivo') }} @endif
@csrf @method('PUT')
{!! $productos->appends(Request::all())->render() !!}
@endsection @section('js') @endsection