@php $VerEditor = auth()->user()->can('Productos - Visor') || auth()->user()->can('Productos - Editor') @endphp @if($VerEditor) @extends('layouts/app') @section('tituloModulo', 'PRODUCTOS') @section('contenido')
| IMAGEN | NOMBRE | DESCRIPCIÓN | COMPRA | VENTA | PROVEEDOR | STOCK | ESTATUS | @can('Productos - Editor')ACCIÓN | @endcan
|---|---|---|---|---|---|---|---|---|
@if ($item->imagen_prod)
@endif
|
{{ $item->nombre_prod }} | {{ $item->descripcion_prod }} | {{ "$" . number_format($item->compra_prod, 2) }} | {{ "$" . number_format($item->venta_prod, 2) }} | {{ $item->compania_prpr }} | {{ $item->stock_prod }} | @if($item->estatus_prod == 'Activo') {{$item->estatus_prod}} @endif @if ($item->estatus_prod == 'Inactivo') {{$item->estatus_prod}} @endif | @can('Productos - Editor')
|
@endcan