@php $VerEditor = auth()->user()->can('Pedidos - Visor') || auth()->user()->can('Pedidos - Editor') @endphp @if($VerEditor) @extends('layouts/app') @section('tituloModulo', 'PEDIDOS') @section('contenido')
| {{ "NO. COMPRA" }} | ID MERCADO PAGO | @role('Administrador')DATOS DEL CLIENTE | @endroleSUBTOTAL | DESCUENTO | TOTAL | REQUIERE FACTURA | ESTATUS | @can('Pedidos - Editor')ACCIÓN | @endcan
|---|---|---|---|---|---|---|---|---|
| {{ $item->numero_pago }} | {{ $item->payment_id_paco }} | @role('Administrador'){{ $item->nombre_comp }} {{ $item->telefono_comp }} {{ $item->email_comp }} |
@endrole
{{ "$" . number_format($item->sub_total_comp, 2) }} | {{ "$" . number_format($item->descuento_comp, 2) }} | {{ "$" . number_format($item->total_comp, 2) }} | @if ($item->requiereFact) Requiere Factura @else Sin Factura @endif | @if($item->estatus_paco == 'Pagado') {{$item->estatus_paco}} @endif @if ($item->estatus_paco == 'Enviado') {{$item->estatus_paco}} @endif @if ($item->estatus_paco == 'Entregado') {{$item->estatus_paco}} @endif | @can('Pedidos - Editor')
@role('Administrador')
@endrole
|
@endcan