From 19a93cb4c3d556446172b57f9a49a9b69499d541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 20 Mar 2023 22:44:55 +0800 Subject: [PATCH] Fixed the text message in the add_journal_entry view. --- src/accounting/journal_entry/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/journal_entry/views.py b/src/accounting/journal_entry/views.py index 25f0e71..ba821bb 100644 --- a/src/accounting/journal_entry/views.py +++ b/src/accounting/journal_entry/views.py @@ -93,7 +93,7 @@ def add_journal_entry(journal_entry_type: JournalEntryType) -> redirect: form.populate_obj(journal_entry) db.session.add(journal_entry) db.session.commit() - flash(s(lazy_gettext("The journal entry is added successfully")), + flash(s(lazy_gettext("The journal entry is added successfully.")), "success") return redirect(inherit_next(__get_detail_uri(journal_entry)))