add reference y report invoice
This commit is contained in:
parent
d8d48a9407
commit
13d50c0e52
|
@ -580,6 +580,8 @@ class Receipt(object):
|
|||
self.print_split(line_pt, line_total)
|
||||
if line['discount'] and Decimal(line['discount']) and self._show_discount:
|
||||
self.print_split(initial, discount)
|
||||
if line.get('reference'):
|
||||
self._printer.textln('REF: ' + line['reference'])
|
||||
|
||||
def print_totals(self, sale, short=None, doc=None):
|
||||
untaxed_amount = sale['untaxed_amount']
|
||||
|
|
Loading…
Reference in New Issue