Files
sure/app/models
Aluisio Pereira 6d4a5dd743 Add customizable menu order for user accounts (#44)
* Add customizable menu order for user accounts

Introduces a MenuOrder model and concern to allow users to select their preferred account ordering (by name or balance, ascending or descending). Adds a default_order field to users, updates user preferences UI, and applies the selected order to balance sheet account listings.

* Rename MenuOrder to AccountOrder and update user order field

Refactors the MenuOrder model to AccountOrder and updates all references accordingly. Replaces the user's default_order field with default_account_order, including migration changes, validations, and form fields. Updates localization and schema to reflect the new naming.

* Update balance_sheet.rb

* Fix for nil Current.user when rake runs in balance_sheet model

---------

Signed-off-by: Aluisio Pereira <oaluiser@gmail.com>
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
2025-08-11 22:58:44 +02:00
..
2025-03-28 13:08:22 -04:00
2025-08-05 23:35:01 +02:00
2024-02-02 09:05:04 -06:00
2024-10-18 11:26:58 -05:00
2025-07-24 10:50:05 -04:00
2024-10-18 11:26:58 -05:00
2025-07-24 11:41:42 -04:00
2024-11-08 09:58:35 -06:00
2024-08-23 10:06:24 -04:00
2025-05-23 18:58:22 -04:00
2024-08-23 09:33:42 -04:00
2025-05-07 22:19:09 -04:00
2024-05-23 08:09:33 -04:00
2025-03-28 13:08:22 -04:00
2025-07-10 18:40:38 -04:00