From a6aaa4a275747390c6579187afeabeae75ee525b Mon Sep 17 00:00:00 2001 From: Juliana <juliana@le-filament.com> Date: Thu, 27 Apr 2023 15:40:58 +0200 Subject: [PATCH] [UPD]Change label autocons -> autoprod --- models/acc_operation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/acc_operation.py b/models/acc_operation.py index 246a4a4..912386a 100644 --- a/models/acc_operation.py +++ b/models/acc_operation.py @@ -708,7 +708,7 @@ class AccOperation(models.Model): "hidden": "true" }, { - "label": "Autoconso", + "label": "Autoprod", "data": chart_data["autocons"], "backgroundColor": "rgba(91, 154, 81, 0.4)", "borderColor": "rgba(91, 154, 81, 1)", @@ -790,7 +790,7 @@ class AccOperation(models.Model): "labels": data_label, "datasets": [ { - "label": "AutoConso", + "label": "AutoProd", "data": data_autocons, "backgroundColor": "rgba(91, 154, 81, 0.4)", "hoverBackgroundColor": "rgba(91, 154, 81, 0.7)", @@ -863,7 +863,7 @@ class AccOperation(models.Model): sum_res1 = sum(chart_data["autocons"]) sum_res2 = sum(chart_data["allocons"]) - label = ["Autoconso", "Alloconso"] + label = ["Autoprod", "Alloconso"] res = [int(sum_res1), int(sum_res2)] result["donuts_chart_conso"] = { -- GitLab