#7897 - masterTest_24_36 #669

Merged
jsegarra merged 115 commits from 7897_masterTest_24_36 into master 2024-09-03 06:37:49 +00:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit 4a81598883 - Show all commits

View File

@ -30,10 +30,13 @@ const actions = {
let clonedTicketId;
try {
const { data } = await axios.post(`Tickets/${ticketId}/clone`, {
const { data } = await axios.post(`Tickets/cloneAll`, {
shipped: ticket.value.shipped,
ticketsIds: [ticket.value.id],
withWarehouse: true,
negative: false,
});
clonedTicketId = data;
clonedTicketId = data[0].id;
} catch (e) {
opts.message = t('It was not able to clone the ticket');
opts.type = 'negative';