Open msajadi824 opened 10 years ago
Attention: when distributor increase retailer credit limit, there must be a tranaction on the distributor's account. for example:
state 1) retailer credit limit = 0.00 state 2) distributor increase retailer's credit limit to 100.00 => transaction on distributor's account = 0.00-100.00 = -100.00 & credit_limit.amount = account.credit_limit = 100.00 state 3) distributor decrease retailer's credit limit to 40.00 credit_limit.amount = account.credit_limit = 40.00
user don't enter an value to add before credit limit and enter final value.