Aggiunto comune, + filtro regione e provincia
aggiunto Visibilità (da fare check)
This commit is contained in:
@@ -88,6 +88,9 @@ MovementSchema.statics.executeQueryTable = function(idapp, params) {
|
||||
MovementSchema.statics.addMov = async function(idapp, accountFromIdTable, accountToIdTable, amount, causal) {
|
||||
|
||||
try {
|
||||
// Only positive values
|
||||
amount = Math.abs(amount);
|
||||
|
||||
let mymov = Movement(
|
||||
{
|
||||
_id: new ObjectID().toString(),
|
||||
|
||||
Reference in New Issue
Block a user