Third-Culture-Software / bhima

A hospital information management application for rural Congolese hospitals
https://docs.bhi.ma/
GNU General Public License v2.0
218 stars 104 forks source link

fix(general ledger): link to journal rather than account stmt #7792

Closed jniles closed 10 hours ago

jniles commented 2 days ago

This commit fixes a long broken link in the General Ledger that links to the account statement report. This report was removed some time ago. It replaces this link with the filtered posting journal, which emulates the same behavior. It allows users to have a dynamic look at the transactions affecting the account in question.

Closes #7787.

To test this PR, it's best to use a database with posted records, such as one of the production databases.

  1. Navigate to Finance > General Ledger
  2. Find a row that has balances for any of the months of the year (not just opening balances)
  3. Click the "View in Posting Journal" action in the dropdown.

You should arrive at the posting journal, filtered on that year and account, with both posted and unposted transaction.