A local-first personal finance app
Add example rule for using imported payee contains (#293)
youngcwfe8df6c57ca4
diff --git a/docs/budgeting/rules/custom.md b/docs/budgeting/rules/custom.mdindex 57fee48aa9..574b61697a 100644--- a/docs/budgeting/rules/custom.md+++ b/docs/budgeting/rules/custom.md@@ -1,7 +1,13 @@-# Supercharge your Budget+# Rules ExamplesThis page has examples of custom rules that some of our users have found useful for their own budgets. If you have any custom rules you're proud of, click the “Edit this page” button below to propose adding them to this page [tell us about them](/contact)!+### Q: How do I set the payee when the payee name changes between transactions++**A:** Sometimes the payee shows up slightly differently from transaction to transaction. To set the same payee every time and not create a new one every time a new transaction is imported, use a **Pre** rule that reads the imported payee field and finds the merchant name using a "contains" condition.+++### Q: How do I set a default account when I add transactions?**A:** Set a **Pre** rule to check for an empty account field. When entering a transaction in the "All Accounts" ledger or from the ledger of a Category listing, your preferred default account will be auto filled.diff --git a/static/img/rules-custom/custom-rules-imported-payee.png b/static/img/rules-custom/custom-rules-imported-payee.pngnew file mode 100644index 0000000000..fa380190f6Binary files /dev/null and b/static/img/rules-custom/custom-rules-imported-payee.png differ