Hi,
How can we create a print format of sales invoice as same as a tally tax invoice?
I am sharing an Image of the tax invoice that I need in the sales invoice.
This script is JINJA or JS?
This is Jinja.
We used this same example in the tutorial:
Pasted the script as shown in figure and while selecting print format an error occur:-
Server Error
Close Report
TypeError: ‘NoneType’ object is not callable
I tried this script but got an error.
You’ll need to post the code in order for anyone to be able to further assist on this.
I am using the script that you suggested i.e.
Does this help?
<center><h3>Tax Invoice</h3><center>
<table width=90% height=30% border=1>
<tr>
<td width=50% rowspan=3>
<strong>{{ doc.company or "" }}</strong><br>
{{ frappe.db.get_value("Company", doc.company, "registration_details") or "" }}
</td>
<td width=25%>
Invoice No.<br>
<b>{{ doc.name }}</b>
</td>
<td width=25%>
Dated<br>
<b>{{ frappe.utils.formatdate(doc.posting_date) }}</b>
</td>…