@php $VerEditor = auth()->user()->can('Tienda - Visor') || auth()->user()->can('Tienda - Editor') @endphp @if($VerEditor) @extends('layouts.app') @section('tituloModulo', 'COMPRAS') @section('contenido')
NOMBRE | DESCRIPCION | CANTIDAD | PRECIO UNITARIO | TOTAL | FECHA DE COMPRA | ESTATUS | ACCIÓN |
---|---|---|---|---|---|---|---|
{{ $item->producto }} | {!! $item->descripcion !!} | {{ $item->cantidad }} | {{ "$" . number_format($item->precio, 2) }} | {{ "$" . number_format($item->total, 2) }} | {{ date("d/m/Y", strtotime($item->fecha)) }} | @if($item->estatus == 'Entregado') {{$item->estatus}} @endif @if ($item->estatus == 'Pagado') {{$item->estatus}} @endif |
@if ($item->estatus == 'Pagado')
@endif
|