Be able to add default taxes to team.

This commit is contained in:
HenriT
2021-04-14 13:21:36 +03:00
parent 328e30e874
commit 8bfb088f30
7 changed files with 184 additions and 2 deletions

View File

@ -17,6 +17,7 @@ export default {
dispatch('clients/terminate', null, { root: true }),
dispatch('bankAccounts/terminate', null, { root: true }),
dispatch('invoices/terminate', null, { root: true }),
dispatch('taxes/terminate', null, { root: true }),
]);
await dispatch('getTeam');
@ -24,6 +25,7 @@ export default {
dispatch('clients/init', null, { root: true });
dispatch('bankAccounts/init', null, { root: true });
dispatch('invoices/init', null, { root: true });
dispatch('taxes/init', null, { root: true });
},
async terminate() {
return Team.deleteAll();