mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-20 23:35:11 +00:00
fix(Supplier Quotation Comparison): add a missing translate function (#49497)
* Update supplier_quotation_comparison.py
* refactor: text cleaning
(cherry picked from commit 6cacead726)
Co-authored-by: El-Shafei H. <el.shafei.developer@gmail.com>
This commit is contained in:
@@ -284,15 +284,15 @@ def get_columns(filters):
|
|||||||
|
|
||||||
|
|
||||||
def get_message():
|
def get_message():
|
||||||
return """<span class="indicator">
|
return f"""<span class="indicator">
|
||||||
Valid till :
|
{_("Valid Till")}:
|
||||||
</span>
|
</span>
|
||||||
<span class="indicator orange">
|
<span class="indicator orange">
|
||||||
Expires in a week or less
|
{_("Expires in a week or less")}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="indicator red">
|
<span class="indicator red">
|
||||||
Expires today / Already Expired
|
{_("Expires today or already expired")}
|
||||||
</span>"""
|
</span>"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user