- Fix: saldo pendenze e totali Transati.

This commit is contained in:
Surya Paolo
2024-02-17 14:13:39 +01:00
parent e6fd8e1fed
commit 8c471c0e81
6 changed files with 105 additions and 20 deletions

View File

@@ -252,8 +252,8 @@ AccountSchema.statics.addtoSaldo = async function (myaccount, amount, mitt) {
$set: myaccountupdate
});
await myaccount.calcPending(mitt);
// Calcola Saldo Pendente !
await myaccount.calcPending(true);
return ris;