vikram1
1
Hello Dear,
I want to some change in my billing format. i want to give border in invoice.
so please suggest me how can i do ?
Tut
2
vikram1
3
sorry i also make customize templates so please it detail as under.
!! Shree Ganeshay Namah !!
Invoice
{% if business.logo != empty %}
{% endif %}
To
{{ customer.name }}
{{ billing_address | newline_to_br }}
{{ customer.identifier }}
|
Issue date
{{ issue_date | date_to_string }}
{% if due_date != null %}
Due date
{{ due_date | date_to_string }}
{% endif %}
Invoice number
{{ reference }}
{% if sales_quote != empty %}
sales_quote
{{ sales_quote }}
{% endif %}
{% if purchase_order != empty %}
Purchase order
{{ purchase_order }}
{% endif %}
|
{{ business.name }}
{{ business.contact_information | newline_to_br }}
{{ business.identifier }}
|
|
{{ summary }}
{% for line in lines %}
{% endfor %}
{% if amounts_include_tax %}
{% if rounding != 0 %}
<tr>
<td colspan="5" style="text-align: right; padding: 5px 10px">Round off</td>
<td style="border: 1px solid #000; text-align: right; padding: 5px 10px; white-space: nowrap">{{ rounding | money }}</td>
</tr>
{% endif %}
<tr>
<td colspan="5" style="text-align: right; padding: 5px 10px; font-weight: bold">Total</td>
<td style="border: 1px solid #000; text-align: right; padding: 5px 10px; font-weight: bold; white-space: nowrap">{{ total | money }}</td>
</tr>
{% for tax_component in tax_components %}
<tr>
<td colspan="5" style="text-align: right; padding: 5px 10px">{{ tax_component.code }}</td>
<td style="border: 1px solid #000; text-align: right; padding: 5px 10px; white-space: nowrap">{{ tax_component.amount | money }}</td>
</tr>
{% endfor %}
{% else %}
{% assign tax_components_count = tax_components | size %}
{% if tax_components_count > 0 %}
<tr>
<td colspan="5" style="text-align: right; padding: 5px 10px; font-weight: bold">Subtotal</td>
<td style="border: 1px solid #000; text-align: right; padding: 5px 10px; font-weight: bold; white-space: nowrap">{{ subtotal | money }}</td>
</tr>
{% endif %}
{% for tax_component in tax_components %}
<tr>
<td colspan="5" style="text-align: right; padding: 5px 10px">{{ tax_component.code }}</td>
<td style="border: 1px solid #000; text-align: right; padding: 5px 10px; white-space: nowrap">{{ tax_component.amount | money }}</td>
</tr>
{% endfor %}
{% if rounding != 0 %}
<tr>
<td colspan="5" style="text-align: right; padding: 5px 10px">Round off</td>
<td style="border: 1px solid #000; text-align: right; padding: 5px 10px; white-space: nowrap">{{ rounding | money }}</td>
</tr>
{% endif %}
<tr>
<td colspan="5" style="text-align: right; padding: 5px 10px; font-weight: bold">Total</td>
<td style="border: 1px solid #000; text-align: right; padding: 5px 10px; font-weight: bold; white-space: nowrap">{{ total | money }}</td>
</tr>
{% endif %}
</table>
</table>
</table>
<div>{{ notes }}</div>
<div style="border: 1px ; width: 200px; height: 20px; margin-bottom: 10px"></div>
<div style="float:right; border:1px ; width:130px; height:10px; margin-bottom:10px; font-size: 13px; font-weight: bold;">For SAGAR SALES</div>
<div style="float:left; border:1px ; width:200px; height:10px; margin-bottom:10px; font-size: 13px; font-weight: bold;">Received By</div>
<div style="border: 1px ; width: 200px; height: 20px; margin-bottom: 10px"></div>
<div style="float:right; border:1px ; width:125px; height:10px; margin-bottom:10px; font-size: 11px; font-weight: bold;">Authorized Signature</div>
<div style="border: 1px ; width: 200px; height: 100px; margin-bottom: 10px"></div>
<div style="float:right; border:1px ; width:390px; height:10px; margin-bottom:10px; font-size: 12px; font-weight: bold;">Welcome</div>
<div style="float:right; border:1px ; width:448px; height:10px; margin-bottom:10px; font-size: 12px; font-weight: bold;">Thank you for your business</div>
</tr>
</tbody>
Item |
Description |
Qty |
Unit price |
Discount |
Amount |
{{ line.item.name }} |
{{ line.description | newline_to_br }} |
{{ line.qty }} |
{{ line.unit_price | money_without_currency }} |
{{ line.discount }} |
{{ line.total | money_without_currency }} |
|
|
|
|
|
|
|