Hi,
I have practically no experience in HTML but i played around with some code and got to most of what i want.
Please help me in getting this invoice sorted out.
I need the following
- The columns are getting cut off on the sides
- How do I set information on the right side under Invoice. Where I will have Invoice number, Invoice date, and other dispatch details.
- I will also need to remove the boxes that separate each line so i can increase the number of line items.
- What code do i write when I use more than one sheet for an invoice
Thank you in advance
{{ doc.select_print_heading or "Invoice" }}
Customer Name
Invoice No.
<td><script>cur_frm.docname</script></td>
<div class="col-md-9 text-right">{{ doc.get_formatted("invoice_date") }}</div>
<div class="col-md-9"><b>{{ doc.customer_name }}</b></div>
Date:
{{doc.address_display}}
S.no | Description | Batch | Qty | M.R.P | Disc | Rate | Amount |
---|---|---|---|---|---|---|---|
{{ row.idx }} | {{ row.item_name }} | {{ row.batch_no }} | {{ row.qty }} | {{ row.base_price_list_rate }} | {{ row.discount_percentage }} | {{ row.base_rate }} | {{ row.get_formatted("amount") }} |
</thead>
<tbody>
<tr>
<td width=60% style='padding-right: 10px;'>
<b>Terms, Conditions & Other Information:</b><br />
<script>doc.terms</script>
</td>
<td>
<table cellspacing=0 width=100%><tbody>
<tr>
<td>Net Total</td>
<td style="width: 38%; text-align: right;"><script>
format_currency(doc.net_total_export, doc.currency)
</script></td>
</tr>
<tr><td colspan=3><script>si_std.print_other_charges()</script></td></tr>
<tr>
<td>Grand Total</td>
<td style="width: 38%; text-align: right;"><script>
format_currency(doc.grand_total_export, doc.currency)
</script></td>
</tr>
<tr style='font-weight: bold' class='imp-details'>
<td>Rounded Total</td>
<td style="width: 38%; text-align: right;"><script>
format_currency(doc.rounded_total_export, doc.currency)
</script></td>
</tr>
</tbody></table>
<br /><b>In Words</b><br />
<i><script>doc.in_words_export</script></i>
</td>
</tr>
</tbody>
<tfoot>
<tr><td colspan=2><div></div></td><tr>
</tfoot>
</table>