fixed null issue in recurring invoice
This commit is contained in:
parent
5ca0f44890
commit
0a8a67129e
@ -822,7 +822,9 @@ def send_notification(new_rv):
|
|||||||
</tr>
|
</tr>
|
||||||
'''
|
'''
|
||||||
for d in getlist(new_rv.doclist, 'entries'):
|
for d in getlist(new_rv.doclist, 'entries'):
|
||||||
tbl += '<tr><td>' + d.item_code +'</td><td>' + d.description+'</td><td>' + cstr(d.qty) +'</td><td>' + cstr(d.basic_rate) +'</td><td>' + cstr(d.amount) +'</td></tr>'
|
tbl += '<tr><td>' + cstr(d.item_code) +'</td><td>' + cstr(d.description) + \
|
||||||
|
'</td><td>' + cstr(d.qty) +'</td><td>' + cstr(d.basic_rate) + \
|
||||||
|
'</td><td>' + cstr(d.amount) +'</td></tr>'
|
||||||
tbl += '</table>'
|
tbl += '</table>'
|
||||||
|
|
||||||
totals ='''<table cellspacing= "5" cellpadding="5" width = "100%%">
|
totals ='''<table cellspacing= "5" cellpadding="5" width = "100%%">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user