|
@@ -82,6 +82,7 @@ class M_mailer(object):
|
|
|
cam = mentor.cam_payable(account)
|
|
|
tax_payable = mentor.tax_payable(account)
|
|
|
div_tax = mentor.div_tax_payable(account)
|
|
|
+ other_tax = mentor.other_tax_payable(account)
|
|
|
an_inc = mentor.an_inc(account, 0, 6, 8)
|
|
|
result = mentor.result(account, 0, 6, 8)
|
|
|
vat_period = M_mailer.get_vat_period(company[10].split(sep=',')[0])
|
|
@@ -94,15 +95,17 @@ class M_mailer(object):
|
|
|
'cam': cam,
|
|
|
'tax_payable': tax_payable,
|
|
|
'div_tax': div_tax,
|
|
|
+ 'other_tax': other_tax,
|
|
|
'an_inc': an_inc,
|
|
|
'result': result,
|
|
|
'tax_type': tax_type,
|
|
|
'vat_period': vat_period,
|
|
|
'due_date': M_mailer.due_date()}
|
|
|
body = M_mailer.template.render(data)
|
|
|
+ # print(body)
|
|
|
self._body = body
|
|
|
tax = Taxes(name=name, vat=vat, vat_final=vat_final, contribs=contr,
|
|
|
- cam=cam, income_tax=tax_payable, dividend_tax=div_tax,
|
|
|
+ cam=cam, income_tax=tax_payable, dividend_tax=div_tax, other_tax=other_tax,
|
|
|
return_=an_inc, result=result, tax_type=tax_type, period=M_mailer.mentor_date)
|
|
|
taxes.append(tax)
|
|
|
if send:
|