Merge pull request #44562 from frappe/mergify/bp/version-15-hotfix/pr-44560

fix: add labels for translation in sales_order_analysis.py (backport #44560)
This commit is contained in:
ruthra kumar
2024-12-06 12:07:15 +05:30
committed by GitHub

View File

@@ -206,7 +206,7 @@ def prepare_data(data, so_elapsed_time, filters):
def prepare_chart_data(pending, completed):
labels = ["Amount to Bill", "Billed Amount"]
labels = [_("Amount to Bill"), _("Billed Amount")]
return {
"data": {"labels": labels, "datasets": [{"values": [pending, completed]}]},