Skip to content

A local-first personal finance app

Merge pull request #260 from MatissJanis/feat-reconciliation-updates

Matiss Janis Aboltins880309485894
diff --cc packages/desktop-client/src/components/accounts/Account.js
index b7e0361a19,26a346566d..1a240eb165
--- a/packages/desktop-client/src/components/accounts/Account.js
+++ b/packages/desktop-client/src/components/accounts/Account.js
@@@ -104,10 -105,14 +106,15 @@@ function EmptyMessage({ onAdd })
);
}
- function ReconcilingMessage({ balanceQuery, targetBalance, onDone }) {
+ function ReconcilingMessage({
+ balanceQuery,
+ targetBalance,
+ onDone,
+ onCreateTransaction
+ }) {
let cleared = useSheetValue({
name: balanceQuery.name + '-cleared',
+ value: 0,
query: balanceQuery.query.filter({ cleared: true })
});
let targetDiff = targetBalance - cleared;