fix to SalesInvoice format

This commit is contained in:
Rushabh Mehta 2014-02-03 14:38:18 +05:30
parent 23c28704d2
commit 8ed0268b9d

View File

@ -3,7 +3,7 @@
{%- endif -%} {%- endif -%}
<!-- Page Layout Settings --> <!-- Page Layout Settings -->
<div class='common page-header'> <div class='common page-header'>
<table class='header-table' cellspacing=0> <table class='header-table' cellspacing=0 style="width: 100%">
<thead> <thead>
<tr><td colspan="2"><h1>{{ doc.select_print_heading or 'Invoice' }}</h1></td></tr> <tr><td colspan="2"><h1>{{ doc.select_print_heading or 'Invoice' }}</h1></td></tr>
<tr><td colspan="2"><h3>{{ doc.name }}</h3></td></tr> <tr><td colspan="2"><h3>{{ doc.name }}</h3></td></tr>
@ -28,18 +28,18 @@
<tr> <tr>
<td width=40%><b>Invoice Date</b></td> <td width=40%><b>Invoice Date</b></td>
<td>{{ utils.formatdate(doc.posting_date) }}</td> <td>{{ utils.formatdate(doc.posting_date) }}</td>
<tr> </tr>
{%- if doc.convert_into_recurring_invoice and doc.recurring_id -%} {%- if doc.convert_into_recurring_invoice and doc.recurring_id -%}
<tr> <tr>
<td width=40%><b>Invoice Period</b></td> <td width=40%><b>Invoice Period</b></td>
<td>{{ (utils.formatdate(doc.invoice_period_from_date)) + <td>{{ (utils.formatdate(doc.invoice_period_from_date)) +
' to ' + utils.formatdate(doc.invoice_period_to_date) }}</td> ' to ' + utils.formatdate(doc.invoice_period_to_date) }}</td>
<tr> </tr>
{%- endif -%} {%- endif -%}
<tr> <tr>
<td><b>Due Date</b></td> <td><b>Due Date</b></td>
<td>{{ utils.formatdate(doc.due_date) }}</td> <td>{{ utils.formatdate(doc.due_date) }}</td>
<tr> </tr>
</tbody></table></td> </tbody></table></td>
</tr> </tr>
</tbody> </tbody>