mark transactions as reconciled
This commit is contained in:
@@ -49,6 +49,7 @@ require("dotenv").config();
|
||||
date: interestTransactionDate,
|
||||
payee: payeeId,
|
||||
amount: compoundedInterest,
|
||||
cleared: true,
|
||||
notes: `Interest for 1 month at ${100*interestRate}%`,
|
||||
}]);
|
||||
}
|
||||
|
||||
@@ -64,6 +64,8 @@ async function getKBB(URL) {
|
||||
date: new Date(),
|
||||
payee: payeeId,
|
||||
amount: diff,
|
||||
cleared: true,
|
||||
reconciled: true,
|
||||
notes: `Update KBB to ${kbb / 100}`,
|
||||
}]);
|
||||
}
|
||||
|
||||
@@ -116,6 +116,8 @@ const zeroTransaction = async (payment) => {
|
||||
date: new Date(),
|
||||
payee: payeeId,
|
||||
amount: diff,
|
||||
cleared: true,
|
||||
reconciled: true,
|
||||
category: categoryId,
|
||||
notes: `Update investment balance to ${simplefinBalance / 100}`,
|
||||
}]);
|
||||
|
||||
@@ -54,6 +54,8 @@ async function getZestimate(URL) {
|
||||
date: new Date(),
|
||||
payee: payeeId,
|
||||
amount: diff,
|
||||
cleared: true,
|
||||
reconciled: true,
|
||||
notes: `Update Zestimate to ${zestimate * ownership / 100} (${zestimate / 100}*${ownership * 100}%)`,
|
||||
}]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user