change validation resoluion in invoice subtype
This commit is contained in:
parent
2959ae5ab4
commit
3e97d453b9
3
api.py
3
api.py
@ -31,7 +31,8 @@ def print_bill(data, address):
|
||||
printer.text(d["shop_address"]+'\n')
|
||||
printer.set(align='right', bold=False, height=1, width=1)
|
||||
printer.textln('========================')
|
||||
if d['invoice']:
|
||||
|
||||
if d['invoice'] and d['invoice']['resolution']:
|
||||
text = "Resolucion de Facturacion # "+str(d['invoice']['resolution']['resolution_number']) \
|
||||
+ "\nValida desde "+d['invoice']['resolution']['valid_date_time_from']+ \
|
||||
" hasta "+str(d['invoice']['resolution']['valid_date_time_to'])
|
||||
|
Loading…
Reference in New Issue
Block a user