feat: boletas de venta (Invoices con DocumentSubType bod_Bill); la lista de facturas las excluye
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d926519f1b
commit
1834c64f6f
18 files changed
+122
-19
No files matched your search
@@ -63,10 +63,13 @@ describe('folio y RUT en los formularios', () => {
|
||||
|
||||
beforeEach(() => TestBed.resetTestingModule());
|
||||
|
||||
it('lo llevan facturas, notas de crédito, entregas y recepciones (ventas y compras)', () => {
|
||||
const withFolio = DOCUMENT_SCREENS.filter((s) => hasFolio(s.layout)).map((s) => s.resource);
|
||||
it('lo llevan facturas, boletas, notas de crédito, entregas y recepciones (ventas y compras)', () => {
|
||||
const withFolio = DOCUMENT_SCREENS.filter((s) => hasFolio(s.layout)).map((s) => s.path);
|
||||
expect(withFolio.sort()).toEqual(
|
||||
['CreditNotes', 'DeliveryNotes', 'Invoices', 'PurchaseCreditNotes', 'PurchaseDeliveryNotes', 'PurchaseInvoices'].sort(),
|
||||
[
|
||||
'/ventas/facturas', '/ventas/boletas', '/ventas/notas-credito', '/ventas/entrega',
|
||||
'/compras/facturas', '/compras/notas-credito', '/compras/recepcion',
|
||||
].sort(),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user