bugfix
This commit is contained in:
parent
d21a195acf
commit
d1f5095837
@ -59,7 +59,7 @@ async def pricing_program_charging(sor, pricing_program_id, data):
|
||||
elif spec.pricing_spec_mode == 'spec_amount':
|
||||
if charge.pricing_unit is None or charge.pricing_unit < 1:
|
||||
charge.pricing_unit = 1
|
||||
charge.amount = d * charge_amount / charge.pricing_unit
|
||||
charge.amount = d * charge.pricing_amount / charge.pricing_unit
|
||||
charges.append(charge)
|
||||
elif spec.pricing_spec_mode == 'remote_pricing':
|
||||
charge.amount = await get_remote_pricing(sor, charge, params=d)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user