You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The receipt produced by any voucher has the tendency to be quite complex. It is hard to read as well, because the lines tend to be printed in a nonsensical order. See below for an example:
Fig 1: Voucher Receipt with Multiple Lines
This can easily be solved by sorting by account. This will (at minimum) group the debtor lines by arranging them with the 41 and 42s clumped together.
Note that you should sort by account number, and not account_id. The account_id is not guaranteed to be in order.
The text was updated successfully, but these errors were encountered:
This commit fixes the voucher receipt by sorting the lines first by
account, then by amounts, and finally by the entity affected. This
should ensure a fairly stable appearance to all receipts, no matter how
the accountant ordered the transaction initially or in what order the
database decided to enter them.
ClosesIMA-WorldHealth#2221.
The receipt produced by any voucher has the tendency to be quite complex. It is hard to read as well, because the lines tend to be printed in a nonsensical order. See below for an example:
Fig 1: Voucher Receipt with Multiple Lines
This can easily be solved by sorting by account. This will (at minimum) group the debtor lines by arranging them with the 41 and 42s clumped together.
Note that you should sort by account number, and not account_id. The account_id is not guaranteed to be in order.
The text was updated successfully, but these errors were encountered: