other fixes
Arcadei
This commit is contained in:
@@ -113,7 +113,7 @@ MovementSchema.statics.addMov = async function(idapp, accountFromIdTable, accoun
|
||||
// Update saldo dell'Account
|
||||
await Account.addtoSaldo(accountToIdTable, amount);
|
||||
|
||||
await Account.addtoSaldo(accountFromIdTable, amount);
|
||||
await Account.addtoSaldo(accountFromIdTable, -amount);
|
||||
|
||||
return mymov;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user