Skip to content

Commit

Permalink
Merge branch 'master' of https://gitee.com/jone/oejia_weshop_p
Browse files Browse the repository at this point in the history
  • Loading branch information
JoneXiong committed Dec 1, 2022
2 parents 8f09b99 + 6a5a1c7 commit 49b1913
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def create(self, sub_domain, **kwargs):
'amountTax': order_dict.get('amount_tax', 0),
'extra': order_dict['extra']
}
_data['amountReal'] = _data['amountTotle'] + _data['amountLogistics'] + _data['amountTax']
_data.update(self.calculate_ext_info(wechat_user, order_dict, order_lines, _data))
for line in order_lines:
line['price_unit'] = round(line['price_unit'], 2)
Expand Down

0 comments on commit 49b1913

Please sign in to comment.