Renamed the "journal_entry_date" parameter to "date" in the constructor of the JournalEntryReorderForm form.
This commit is contained in:
parent
969e8c76a6
commit
f1351243a6
@ -48,12 +48,12 @@ def sort_journal_entries_in(date: dt.date, exclude: int | None = None) -> None:
|
|||||||
class JournalEntryReorderForm:
|
class JournalEntryReorderForm:
|
||||||
"""The form to reorder the journal entries."""
|
"""The form to reorder the journal entries."""
|
||||||
|
|
||||||
def __init__(self, journal_entry_date: dt.date):
|
def __init__(self, date: dt.date):
|
||||||
"""Constructs the form to reorder the journal entries in a day.
|
"""Constructs the form to reorder the journal entries in a day.
|
||||||
|
|
||||||
:param journal_entry_date: The date.
|
:param date: The date.
|
||||||
"""
|
"""
|
||||||
self.date: dt.date = journal_entry_date
|
self.date: dt.date = date
|
||||||
self.is_modified: bool = False
|
self.is_modified: bool = False
|
||||||
|
|
||||||
def save_order(self) -> None:
|
def save_order(self) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user