import changes in notification
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user