fix: refs #8441 update notification message for unassigning invoices
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jose Antonio Tubau 2025-05-16 11:54:11 +02:00
parent cf92ea8f47
commit f4d6d4ad54
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ const columns = computed(() => [
async function unassignInvoice(id) { async function unassignInvoice(id) {
try { try {
await axios.delete(`VehicleInvoiceIns/${id}`); await axios.delete(`VehicleInvoiceIns/${id}`);
notify(t('vehicle.ticket.unlinkedInvoice'), 'positive'); notify(t('vehicle.ticket.unassignedInvoice'), 'positive');
tableRef.value.reload(); tableRef.value.reload();
} catch (e) { } catch (e) {
throw e; throw e;

View File

@ -42,7 +42,7 @@ describe('Vehicle Invoice In', () => {
it('Should unassign an invoice', () => { it('Should unassign an invoice', () => {
cy.dataCy(selectors.unassignBtn).last().click(); cy.dataCy(selectors.unassignBtn).last().click();
cy.clickConfirm(); cy.clickConfirm();
cy.checkNotification('Unlinked invoice'); cy.checkNotification('Unassigned invoice');
}); });
describe('Supplier pop-ups', () => { describe('Supplier pop-ups', () => {