Mulighet til aa endre total amount
This commit is contained in:
parent
5aa4c9553f
commit
9d5b2d0907
|
@ -1227,6 +1227,9 @@ much money you're due in credits for the purchase when prompted.
|
||||||
# Add the thing to the pending adjustments:
|
# Add the thing to the pending adjustments:
|
||||||
self.add_thing_to_pending(thing,amount)
|
self.add_thing_to_pending(thing,amount)
|
||||||
|
|
||||||
|
if self.confirm('Do you want to change the total amount?', default=False):
|
||||||
|
self.price = self.input_int('Total amount> ', (1,100000), default=self.price)
|
||||||
|
|
||||||
self.perform_transaction()
|
self.perform_transaction()
|
||||||
|
|
||||||
def complete_input(self):
|
def complete_input(self):
|
||||||
|
|
Loading…
Reference in New Issue