AllProductsTransportViewSet

This commit is contained in:
2026-01-31 22:37:08 +03:30
parent 70262f48dc
commit b0cde349b6
2 changed files with 10 additions and 4 deletions

View File

@@ -2589,7 +2589,10 @@ def all_products_transport_excel(request):
filters['product'] = product_type
if destination_province and destination_province != 'undefined':
filters['destination_province'] = destination_province
if destination_province == 'مرکزی':
filters['destination_province'] = 'مركزي'
else:
filters['destination_province'] = destination_province
if date1 and date2 and date1 != 'undefined' and date2 != 'undefined':
try: