diff --git a/app/views.py b/app/views.py index fe75335..c875ead 100644 --- a/app/views.py +++ b/app/views.py @@ -4776,6 +4776,8 @@ class AllProductsTransportDashboardView(APIView): if destination_province and destination_province != 'undefined': bars = bars.filter(destination_province=destination_province) + if destination_province=='مرکزی': + bars = bars.filter(destination_province='مركزي') aggregation = bars.aggregate( @@ -4838,6 +4840,8 @@ class AllProductsTransportDashboardView(APIView): if destination_province and destination_province != 'undefined': bars = bars.filter(destination_province=destination_province) + if destination_province=='مرکزی': + bars = bars.filter(destination_province='مركزي') aggregation = bars.aggregate( total=Sum('quantity'),