add reference y report invoice

This commit is contained in:
Wilson Gomez 2023-09-27 10:05:47 -05:00
parent d8d48a9407
commit 13d50c0e52
1 changed files with 2 additions and 0 deletions

View File

@ -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']