From 70262f48dca8995b06b63e4d596ba26285fa5190 Mon Sep 17 00:00:00 2001 From: 7nimor <7nimor@gmail.com> Date: Sat, 31 Jan 2026 22:33:16 +0330 Subject: [PATCH] AllProductsTransportViewSet --- app/views.py | 4 ++++ 1 file changed, 4 insertions(+) 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'),