fix: refs #8441 update notification message for unassigning invoices
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
cf92ea8f47
commit
f4d6d4ad54
|
@ -81,7 +81,7 @@ const columns = computed(() => [
|
|||
async function unassignInvoice(id) {
|
||||
try {
|
||||
await axios.delete(`VehicleInvoiceIns/${id}`);
|
||||
notify(t('vehicle.ticket.unlinkedInvoice'), 'positive');
|
||||
notify(t('vehicle.ticket.unassignedInvoice'), 'positive');
|
||||
tableRef.value.reload();
|
||||
} catch (e) {
|
||||
throw e;
|
||||
|
|
|
@ -42,7 +42,7 @@ describe('Vehicle Invoice In', () => {
|
|||
it('Should unassign an invoice', () => {
|
||||
cy.dataCy(selectors.unassignBtn).last().click();
|
||||
cy.clickConfirm();
|
||||
cy.checkNotification('Unlinked invoice');
|
||||
cy.checkNotification('Unassigned invoice');
|
||||
});
|
||||
|
||||
describe('Supplier pop-ups', () => {
|
||||
|
|
Loading…
Reference in New Issue