Merge branch 'jkace' of github.com:Gluejar/regluit into payment
commit
7012039aef
|
@ -158,11 +158,11 @@ class PaymentManager( object ):
|
||||||
t.save()
|
t.save()
|
||||||
|
|
||||||
# Check the amount
|
# Check the amount
|
||||||
if t.amount != D(p.amount):
|
if t.max_amount != D(p.amount):
|
||||||
#append_element(doc, tran, "amount_ours", str(t.amount))
|
#append_element(doc, tran, "amount_ours", str(t.amount))
|
||||||
#append_element(doc, tran, "amount_theirs", str(p.amount))
|
#append_element(doc, tran, "amount_theirs", str(p.amount))
|
||||||
preapproval_status["amount"] = {'ours':t.amount, 'theirs':p.amount}
|
preapproval_status["amount"] = {'ours':t.max_amount, 'theirs':p.amount}
|
||||||
t.amount = p.amount
|
t.max_amount = p.amount
|
||||||
t.save()
|
t.save()
|
||||||
|
|
||||||
# append only if there was a change in status
|
# append only if there was a change in status
|
||||||
|
|
Loading…
Reference in New Issue