Renamed "sorting" to "reorder", and the "sort-form" route to "order".

This commit is contained in:
2023-02-03 10:19:52 +08:00
parent 8363ce6602
commit 589da0c1c6
7 changed files with 56 additions and 60 deletions

View File

@ -131,11 +131,11 @@ def sort_accounts_in(base_code: str, exclude: int) -> None:
accounts[i].no = i + 1
class AccountSortForm:
"""The form to sort the accounts."""
class AccountReorderForm:
"""The form to reorder the accounts."""
def __init__(self, base: BaseAccount):
"""Constructs the form to sort the accounts under a base account.
"""Constructs the form to reorder the accounts under a base account.
:param base: The base account.
"""