7691-testToMaster #537

Merged
alexm merged 395 commits from 7691-testToMaster into master 2024-07-09 05:39:56 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit d73b5b6f4c - Show all commits

View File

@ -81,8 +81,7 @@ const transferInvoice = async () => {
const { data } = await axios.post('InvoiceOuts/transferInvoice', params);
notify(t('Transferred invoice'), 'positive');
closeForm();
router.push('InvoiceOutSummary', { id: data.id });
if (data.id) router.push({ name: 'InvoiceOutSummary', params: { id: data.id } });
} catch (err) {
console.error('Error transfering invoice', err);
}