update
This commit is contained in:
parent
3914831cc9
commit
2a358bf82e
@ -93,9 +93,9 @@ def calculate_price(price_request: OrderPriceCalculateRequest,user: UserDB,db: S
|
|||||||
CommunityDB.id == price_request.community_id
|
CommunityDB.id == price_request.community_id
|
||||||
).first()
|
).first()
|
||||||
if community:
|
if community:
|
||||||
base_price = community.base_price
|
base_price = float(community.base_price)
|
||||||
extra_package_price = community.extra_package_price
|
extra_package_price = float(community.extra_package_price)
|
||||||
extra_package_threshold = community.extra_package_threshold
|
extra_package_threshold = int(community.extra_package_threshold)
|
||||||
|
|
||||||
original_amount = base_price
|
original_amount = base_price
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user