-
DevPilot authored
A cheque that was collected and then closed fell out of every bucket, so the five cards stopped summing to the total. 'closed' is archival and is reachable from collected/paid/endorsed/returned/replaced/cancelled, so resolve it back to the status it held before the close movement. Buckets are now defined once in bucketStatuses() and read by both the summary and the filter, and the cards link by bucket instead of a single status, so the number on a card equals what you get when you click it. 'open' is the remainder so the cards always reconcile. The summary ignores the selected status/bucket so you can still navigate between cards after clicking one.
761ee72a