import changes in notification

This commit is contained in:
2025-10-08 11:13:01 +03:30
parent cad4ccbe4b
commit f1a209a166
9 changed files with 104 additions and 25 deletions

View File

@@ -104,7 +104,7 @@ def quota_pricing_items_by_type(quota: Quota, sharing: list) -> typing.Any:
# calculate pos sharing accounts total price
# summation with bellow price items and set final total price in output
calculate_sharing_total_price = sum(item['amount'] for item in sharing)
calculate_sharing_total_price = sum(item['amount'] for item in sharing if item['amount'] is not None)
items = (
QuotaPriceCalculationItems.objects.filter(quota=quota).select_related(