fix structure of base_prices in rancher pos distributions data

This commit is contained in:
2025-10-06 10:32:29 +03:30
parent c3f745f5d0
commit 7fad8b58b9
3 changed files with 31 additions and 26 deletions

View File

@@ -60,15 +60,7 @@ def pos_organizations_sharing_information(
) if quota.pricing_items.filter(
name='base_price'
) else None,
# """
# if we will need to get agencies share amount, we can use this bellow code
#
# # item.holders_share_amount.filter(quota_distribution=distribution).first().share_amount
# # if item.holders_share_amount.filter(quota_distribution=distribution).exists() else None
# """
"default_account": item.default
"default_account": True
})
return sharing_information_list