diff --git a/client/src/partials/vouchers/complex.js b/client/src/partials/vouchers/complex.js index 0b59724742..646dd907ac 100644 --- a/client/src/partials/vouchers/complex.js +++ b/client/src/partials/vouchers/complex.js @@ -234,6 +234,7 @@ function ComplexJournalVoucherController(Vouchers, $translate, Currencies, Sessi .then(function (result) { Receipts.voucher(result.uuid, true); vm.Voucher.clear(); + form.$setPristine(); }) .catch(Notify.handleError); } diff --git a/client/src/partials/vouchers/toolkit/convention_payment.js b/client/src/partials/vouchers/toolkit/convention_payment.js index 0cd4765b0c..914afa1bc4 100644 --- a/client/src/partials/vouchers/toolkit/convention_payment.js +++ b/client/src/partials/vouchers/toolkit/convention_payment.js @@ -53,7 +53,7 @@ function ConventionPaymentKitController(Instance, DebtorGroup, Notify, Cashbox, .catch(Notify.handleError); // load conventions - DebtorGroup.read(null, { is_convention: 1}) + DebtorGroup.read() .then(function (list) { vm.conventionGroupList = list; }) diff --git a/client/src/partials/vouchers/toolkit/convention_payment.modal.html b/client/src/partials/vouchers/toolkit/convention_payment.modal.html index a3c24be78b..70eef41fa3 100644 --- a/client/src/partials/vouchers/toolkit/convention_payment.modal.html +++ b/client/src/partials/vouchers/toolkit/convention_payment.modal.html @@ -1,7 +1,7 @@