@extends('layouts.enterprise') @section('title', 'Ver pagos') @section('content')
Consulta de egresos con el módulo Pagos de la semana.
Rango: {{ $filters['date_from'] }} a {{ $filters['date_to'] }}
@if(session('ok'))
Filtros
@if($hasActiveFilters)
Activos
@endif
| ID | Proveedor | RC | PROJECT NAME | Estatus | Fecha pago | Factura | Comprobante | Total | Monto facturado | Por facturar | Pagado | Saldo pago | Acciones |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->id }} | {{ $invoice->company?->legal_name }} | {{ $invoice->rc_number }} |
{{ $invoice->pipefyRequest?->project_name ?: '-' }}
{{ $invoice->pipefyRequest?->title ?: '-' }}
|
{{ $invoice->status }} | {{ optional($invoice->payment_date)->format('Y-m-d') }} | @if($invoicePdf) Ver factura @else Sin factura @endif | @if($proof) Ver comprobante @else Sin comprobante @endif | ${{ number_format((float) $invoice->total, 2) }} | @if($providerAmounts) ${{ number_format($coveredAmount, 2) }} @else - @endif | @if($providerAmounts) ${{ number_format($pendingAmount, 2) }} @else - @endif | ${{ number_format($paidAmount, 2) }} | ${{ number_format($pendingPayment, 2) }} |
@if(!$hasInvoicePayments)
Ejecuta migraciones
@elseif($canRegisterPayment)
Últimos pagos:
@foreach($invoice->payments as $movement)
@endif
${{ number_format((float) $movement->amount, 2) }}
· {{ optional($movement->paid_at)->format('Y-m-d') ?: '-' }}
@if($movement->is_advance)
· Anticipo
@endif
@endforeach
|
| No hay pagos para mostrar. | |||||||||||||