feat: cards, attributes and modules
This commit is contained in:
@@ -42,7 +42,7 @@ class PriceListPdfGenerator:
|
||||
# Определяем функцию сортировки категорий по рангу
|
||||
def category_sort_key(category):
|
||||
if service_type == ServiceType.DEAL_SERVICE:
|
||||
return category.deal_service_rank
|
||||
return category.card_service_rank
|
||||
else:
|
||||
return category.product_service_rank
|
||||
|
||||
|
||||
Reference in New Issue
Block a user