Fixed the text message in the add_journal_entry view.
This commit is contained in:
parent
116089d1d2
commit
19a93cb4c3
@ -93,7 +93,7 @@ def add_journal_entry(journal_entry_type: JournalEntryType) -> redirect:
|
|||||||
form.populate_obj(journal_entry)
|
form.populate_obj(journal_entry)
|
||||||
db.session.add(journal_entry)
|
db.session.add(journal_entry)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
flash(s(lazy_gettext("The journal entry is added successfully")),
|
flash(s(lazy_gettext("The journal entry is added successfully.")),
|
||||||
"success")
|
"success")
|
||||||
return redirect(inherit_next(__get_detail_uri(journal_entry)))
|
return redirect(inherit_next(__get_detail_uri(journal_entry)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user