1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 15:32:22 +00:00

🐛 Reset transfer form even if the note has not enough money

This commit is contained in:
Yohann D'ANELLO 2020-08-03 10:54:52 +02:00
parent 0e8174aacd
commit 6c8843e5fc

View File

@ -296,6 +296,7 @@ $("#btn_transfer").click(function() {
addMsg("Le transfert de "
+ pretty_money(source.quantity * dest.quantity * amount) + " de la note " + source.name
+ " vers la note " + dest.name + " a échoué : Solde insuffisant", "danger", 10000);
reset();
}).fail(function (err) {
addMsg("Le transfert de "
+ pretty_money(source.quantity * dest.quantity * amount) + " de la note " + source.name