From 7b2b274cd513613e2bea727f00def26531acd730 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 4 Jan 2022 08:54:19 +0100 Subject: [PATCH 1/2] .icon-deletedTicket icon name --- front/core/styles/icons/salixfont.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/core/styles/icons/salixfont.css b/front/core/styles/icons/salixfont.css index 6c7a90051..d0e2692ec 100644 --- a/front/core/styles/icons/salixfont.css +++ b/front/core/styles/icons/salixfont.css @@ -145,7 +145,7 @@ .icon-credit:before { content: "\e923"; } -.icon-deletedTicketCross:before { +.icon-deletedTicket:before { content: "\e924"; } .icon-deleteline:before { -- 2.40.1 From 8dbd184cce7ebf0ee67f96c4e74eff9dc47aec17 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 4 Jan 2022 10:01:34 +0100 Subject: [PATCH 2/2] invoiceOut donwload test fixed for any year --- .../invoiceOut/back/methods/invoiceOut/specs/download.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/invoiceOut/back/methods/invoiceOut/specs/download.spec.js b/modules/invoiceOut/back/methods/invoiceOut/specs/download.spec.js index 3a46311ad..4029bfbcf 100644 --- a/modules/invoiceOut/back/methods/invoiceOut/specs/download.spec.js +++ b/modules/invoiceOut/back/methods/invoiceOut/specs/download.spec.js @@ -23,6 +23,6 @@ describe('InvoiceOut download()', () => { const result = await models.InvoiceOut.download(ctx, invoiceId); expect(result[1]).toEqual('application/pdf'); - expect(result[2]).toEqual('filename="2021T1111111.pdf"'); + expect(result[2]).toMatch(/filename="\d{4}T1111111.pdf"/); }); }); -- 2.40.1