feat(web): anticipo total, importe aplicado y saldo pendiente en el pie de facturas y notas de crédito
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c28207b0fa
commit
0b988733f6
7 files changed
+43
-11
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { TAX_DOCUMENT, type DocumentScreen, invoiceColumns, marketing, referenceColumns } from '../screen-kit';
|
||||
import { BILLING_DOCUMENT, TAX_DOCUMENT, type DocumentScreen, invoiceColumns, marketing, referenceColumns } from '../screen-kit';
|
||||
|
||||
/**
|
||||
* Filtros que separan las cuatro pantallas de `Invoices`: `ReserveInvoice` (reserva sí/no) y el subtipo
|
||||
@@ -21,29 +21,29 @@ export const VENTAS_SCREENS: readonly DocumentScreen[] = [
|
||||
// Facturas, boletas y sus reservas son el mismo recurso (`Invoices`); cada pantalla filtra por su
|
||||
// `DocumentSubType` exacto y por `ReserveInvoice`, y envía ambos al crear.
|
||||
marketing('/ventas/facturas', 'Invoices', 'Nueva factura', 'Cliente', {
|
||||
...TAX_DOCUMENT,
|
||||
...BILLING_DOCUMENT,
|
||||
columns: invoiceColumns,
|
||||
baseFilter: `${NOT_RESERVE} and ${INVOICE}`,
|
||||
fixed: { DocumentSubType: 'bod_None' },
|
||||
}),
|
||||
marketing('/ventas/boletas', 'Invoices', 'Nueva boleta', 'Cliente', {
|
||||
...TAX_DOCUMENT,
|
||||
...BILLING_DOCUMENT,
|
||||
columns: invoiceColumns,
|
||||
baseFilter: `${NOT_RESERVE} and ${BILL}`,
|
||||
fixed: { DocumentSubType: 'bod_Bill' },
|
||||
}),
|
||||
marketing('/ventas/facturas-reserva', 'Invoices', 'Nueva factura de reserva', 'Cliente', {
|
||||
...TAX_DOCUMENT,
|
||||
...BILLING_DOCUMENT,
|
||||
columns: invoiceColumns,
|
||||
baseFilter: `${RESERVE} and ${INVOICE}`,
|
||||
fixed: { ReserveInvoice: 'tYES', DocumentSubType: 'bod_None' },
|
||||
}),
|
||||
marketing('/ventas/boletas-reserva', 'Invoices', 'Nueva boleta de reserva', 'Cliente', {
|
||||
...TAX_DOCUMENT,
|
||||
...BILLING_DOCUMENT,
|
||||
columns: invoiceColumns,
|
||||
baseFilter: `${RESERVE} and ${BILL}`,
|
||||
fixed: { ReserveInvoice: 'tYES', DocumentSubType: 'bod_Bill' },
|
||||
}),
|
||||
marketing('/ventas/devoluciones', 'Returns', 'Nueva devolución', 'Cliente'),
|
||||
marketing('/ventas/notas-credito', 'CreditNotes', 'Nueva nota de crédito', 'Cliente', TAX_DOCUMENT),
|
||||
marketing('/ventas/notas-credito', 'CreditNotes', 'Nueva nota de crédito', 'Cliente', BILLING_DOCUMENT),
|
||||
];
|
||||
Reference in new issue
Block a user