@extends('layouts.enterprise') @section('title', 'Listado de facturas') @section('content')
Gestión de facturas para carga de comprobantes y cambio a pagada.
@if(session('ok'))
Filtros
@if($hasActiveFilters)
Activos
@endif
| ID | Proveedor | RC | JN | Estatus | Monto facturado | Monto pendiente | Fecha pago | Comprobante | Acciones |
|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->id }} | {{ $invoice->company?->legal_name }} | {{ $invoice->rc_number }} |
{{ $invoice->pipefyRequest?->title ?: ($invoice->jn_number ?: '-') }}
@if($invoice->pipefyRequest?->project_name)
{{ $invoice->pipefyRequest->project_name }} @endif |
{{ $invoice->status }} @if($isPartialForProvider !== null) @if($isPartialForProvider) Parcial (pendientes {{ $providerPendingAfter }}) @else Completa ({{ $providerCoveredAfter }}/{{ $providerTrackableTotal }}) @endif @endif | ${{ number_format((float) $invoice->total, 2) }} | @if($pendingAmount !== null) ${{ number_format((float) $pendingAmount, 2) }} @if($coveredAmount !== null) Acumulado: ${{ number_format((float) $coveredAmount, 2) }} @endif @else - @endif | {{ $isRejected ? '-' : optional($invoice->payment_date)->format('Y-m-d') }} | @if($isRejected) - @elseif($proof) Ver comprobante @else Sin comprobante @endif |
@if($isRejected)
-
@elseif($canManagePayment)
@if($canUploadPaymentProof)
@else
Comprobante ya cargado
@endif
@else
Disponible al aprobar
@endif
|
| No hay facturas registradas. | |||||||||