fix: add labels for translation in purchase_order_analysis.py

(cherry picked from commit 342a398bec)
This commit is contained in:
mahsem
2024-12-05 08:41:02 +01:00
committed by Mergify
parent 0eccb01b7b
commit f9974f9eb0

View File

@@ -180,7 +180,7 @@ def prepare_data(data, 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]}]},