minor fix print residual_amount
This commit is contained in:
parent
f111364db6
commit
9cb83a5195
|
@ -528,11 +528,12 @@ class Receipt(object):
|
|||
pass
|
||||
change = sale['change']
|
||||
if sale['cash_received'] < net_amount:
|
||||
# pending to remove
|
||||
msg_residual = 'Pendiente:'
|
||||
change = sale.get('residual_amount', 0)
|
||||
else:
|
||||
msg_residual = 'Cambio:'
|
||||
if doc != 'sale_verification':
|
||||
if doc != 'sale_verification' and msg_residual == 'Cambio:':
|
||||
self.print_split(msg_residual, money(change))
|
||||
self.print_enter()
|
||||
if not short:
|
||||
|
|
Loading…
Reference in New Issue