fix structure of base_prices in rancher pos distributions data
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user