@extends('layouts.app') @section('title', 'Retenciones de Ventas') @section('content')
| N° Retención | Cliente | Factura | Fecha | Tipo | Porcentaje | Monto | Estado | Acciones |
|---|---|---|---|---|---|---|---|---|
| {{ $retention->retention_number }} |
{{ $retention->client->business_name ?? 'N/A' }}
@if($retention->client->legal_name)
{{ $retention->client->legal_name }} @endif |
@if($retention->salesInvoice) {{ $retention->salesInvoice->invoice_number }} @else N/A @endif | {{ $retention->retention_date ? $retention->retention_date->format('d/m/Y') : 'N/A' }} | {{ $retention->retention_type }} | {{ $retention->retention_percentage }}% | ${{ number_format($retention->retention_amount ?? 0, 2) }} | @php $statusClasses = [ 'draft' => 'badge-secondary', 'pending' => 'badge-warning', 'approved' => 'badge-success', 'rejected' => 'badge-danger', 'processed' => 'badge-info' ]; @endphp {{ ucfirst($retention->status) }} | |
|
No hay retenciones de ventas registradas |
||||||||