Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table style="margin:5px; padding:30px 30px 0px 30px;">
- <thead style="padding:5px">
- <tr>
- <td colspan="99" style="text-align:center;">
- <div style="font-weight:bold; font-size:20px;">TAX INVOICE</div>
- </td>
- </tr>
- <tr>
- <td colspan="99" style="text-align:center;">
- <div style="font-weight:bold; font-size:12px;"> </div>
- </td>
- </tr>
- <tr>
- <td colspan="24" style="text-align:left;">
- <div>
- <div style="font-weight:bold; font-size:12px;">{{ business.name }} ( <span style="font-size:10px;">{% for field in business.custom_fields %}{% if field.label == "GSTIN" %}{{ field.label }} : {{ field.text }}{% endif %}{% endfor %}</span>) </div>
- <div style="font-weight:normal; font-size:12px;">{{ business.address | newline_to_br }}</div>
- </div>
- </td>
- <td colspan="75" style="text-align:left;">
- <table>
- <tr>
- <td colspan="24" style="text-align:left;">
- <div style="font-weight:bold; font-size:12px;">Invoice Number</div>
- </td>
- <td colspan="25" style="text-align:left;">
- {% for field in fields %}{% if field.label == "Invoice number" %} <div style="font-weight:bold;">{{ field.text }}</div> {% endif %}{% endfor %}
- </td>
- <td colspan="25" style="text-align:left;">
- <div style="font-weight:bold; font-size:12px;">Quote Number</div>
- </td>
- <td colspan="25" style="text-align:left;">
- {% for field in fields %}{% if field.label == "Quote number" %} <div>{{ field.text }}</div> {% endif %}{% endfor %}
- </td>
- </tr>
- <tr>
- <td colspan="24" style="text-align:left;">
- <div style="font-weight:bold; font-size:12px;">Invoice Date</div>
- </td>
- <td colspan="25" style="text-align:left;">
- {% for field in fields %}{% if field.label == "Invoice date" %} <div>{{ field.text }}</div> {% endif %}{% endfor %}
- </td>
- <td colspan="25" style="text-align:left;">
- <div style="font-weight:bold; font-size:12px;">Invoice Due Date</div>
- </td>
- <td colspan="25" style="text-align:left;">
- {% for field in fields %}{% if field.label == "Due date" %} <div style="color:red;">{{ field.text }}</div> {% endif %}{% endfor %}
- </td>
- </tr>
- <tr>
- <td colspan="24" style="text-align:left;">
- <div style="font-weight:bold; font-size:12px;">Place of Supply</div>
- </td>
- <td colspan="25" style="text-align:left;">
- {% for field in custom_fields %} {% if field.label == "Place Of Supply" %} <div style="font-weight: normal;font-size: 12px;">{{ field.text }}</div> {% endif %} {% endfor %}
- </td>
- <td colspan="25" style="text-align:left;">
- <div style="font-weight:bold; font-size:12px;">Service from</div>
- </td>
- <td colspan="25" style="text-align:left;">
- <div style="font-weight: normal;font-size: 12px;">State Name</div>
- </td>
- </tr>
- <tr>
- <td colspan="24" style="text-align:left;">
- <div style="font-weight: bold;">Project Category:</div>
- </td>
- <td colspan="25" style="text-align:left;">
- {% for field in custom_fields %} {% if field.label == "Project Category" %} <div style="font-weight: normal;font-size: 12px;">{{ field.text }}</div> {% endif %} {% endfor %}
- </td>
- <td colspan="25" style="text-align:left;">
- <div style="font-weight: bold;">Notes:</div>
- </td>
- <td colspan="25" style="text-align:left;">
- {% for field in custom_fields %} {% if field.label == "Notes" %} <div style="font-weight: normal;font-size: 12px;">{{ field.text }}</div> {% endif %} {% endfor %}
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <tr><td><br></td></tr>
- <tr>
- <td colspan="99" style="text-align:left;">
- <div style="font-weight: bold;">Billing Address : {{ recipient.name }} (<span style="font-weight: bold;font-size: 10px;">{{ recipient.identifier }}</span>)</div>
- <div>{{recipient.address }}</div><br>
- <div style="font-weight: bold;">Shipping Address : {{ recipient.name }} (<span style="font-weight: bold;font-size: 10px;">{{ recipient.identifier }})</span></div>
- <div>{{recipient.address }}</div>
- </td>
- </tr>
- <tr><td><br></td></tr>
- <tr style="text-align:left;">
- <td colspan="99">
- <div style="font-size: 12px;font-weight: bold;">{{ description }}</div>
- <td>
- </tr>
- </thead>
- </table>
- <table style="padding: 0px 30px 30px 30px;">
- <thead>
- <tr>
- {% for column in table.columns %}
- <td style="font-weight: bold; padding: 5px 10px; text-align: {{ column.align }}; border-left-width: 1px; border-bottom-width: 1px; border-top-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if column.nowrap %}; width: 80px{% endif %}">{{ column.label }}</td>
- {% endfor %}
- </tr>
- </thead>
- <tbody>
- {% for row in table.rows %}
- <tr>
- {% for cell in row.cells %}
- <td style="padding: 5px 10px; text-align: {{ table.columns[forloop.index0].align }}; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if table.columns[forloop.index0].nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ cell.text | newline_to_br }}</td>
- {% endfor %}
- </tr>
- {% endfor %}
- <tr>
- {% for column in table.columns %}
- <td style="border-bottom-width: 1px; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}"> </td>
- {% endfor %}
- </tr>
- {% for total in table.totals %}
- <tr>
- <td colspan="{{ table.columns | size | minus:1 }}" style="padding: 5px 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.label }}</td>
- <td style="border-left-width: 1px; white-space: nowrap; border-right-width: 1px; border-bottom-width: 1px; padding: 5px 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.text }}</td>
- </tr>
- {% endfor %}
- {% for field in custom_fields %}
- <tr>
- <td colspan="99">
- <div style="font-weight: bold; padding-top: 20px">{{ field.label }}</div>
- <div>{{ field.text | newline_to_br }}</div>
- </td>
- </tr>
- {% endfor %}
- <tr>
- <td colspan="99">
- <div><b>Bank Details</b> : A/c Name : xxxxxxxxxxx Bank : xxxxxxxxxxxxx Current A/c No.: xxxxxxxxxxxx, IFSC Code : xxxxxxxxxxxx, Branch : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div>
- <div><b>Terms</b> : All matters subject to xxxxxxxxxxxx jurisdiction. Interest at the rate of 18% per annum for delayed payments. Tax Invoice not valid without the seal.</div>
- </td>
- </tr>
- <tr>
- <td colspan="99">
- {% if emphasis.text != null and emphasis.positive %}
- <div style="text-align: center; margin-top: 40px"><span style="color: #006400; border-width: 5px; border-color: #006400; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div>
- {% endif %}
- {% if emphasis.text != null and emphasis.negative %}
- <div style="text-align: center; margin-top: 40px"><span style="color: #FF0000; border-width: 5px; border-color: #FF0000; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div>
- {% endif %}
- </td>
- </tr>
- </tbody>
- </table>
Add Comment
Please, Sign In to add comment