AllProductsTransportViewSet

This commit is contained in:
2026-01-31 22:26:38 +03:30
parent c55433a1b7
commit f3ef71ca3e

View File

@@ -4522,6 +4522,8 @@ class AllProductsTransportViewSet(viewsets.ModelViewSet):
filters['product'] = product_type filters['product'] = product_type
if destination_province and destination_province != 'undefined': if destination_province and destination_province != 'undefined':
if destination_province == 'مرکزی':
filters['destination_province'] = 'مركزي'
filters['destination_province'] = destination_province filters['destination_province'] = destination_province
if date1 and date2 and date1 != 'undefined' and date2 != 'undefined': if date1 and date2 and date1 != 'undefined' and date2 != 'undefined':