Replaced "Need offset" with "Needs Offset" as the text of the badge.

This commit is contained in:
imacat committed 2023-03-20 22:43:53 +08:00
1 parent 9a4531b26c
commit 50dd6078c7
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ class LineItemCollector:
Account.title_l10n.contains(k),
code.contains(k),
Account.id.in_(select_l10n)]
if k in gettext("Need offset"):
if k in gettext("Needs Offset"):
conditions.append(Account.is_need_offset)
return sa.select(Account.id).filter(sa.or_(*conditions))