Changes in Sales Invoice Print Formats
diff --git a/erpnext/patches/print_formats/SalesInvoiceClassic.html b/erpnext/patches/print_formats/SalesInvoiceClassic.html
index f7eddcb..dc0d092 100644
--- a/erpnext/patches/print_formats/SalesInvoiceClassic.html
+++ b/erpnext/patches/print_formats/SalesInvoiceClassic.html
@@ -98,7 +98,7 @@
'RV Detail',
[// Here specify the table columns to be displayed
'SR', 'item_name', 'description', 'qty', 'stock_uom',
- 'basic_rate', 'amount'
+ 'export_rate', 'export_amount'
],
[// Here specify the labels of column headings
'Sr', 'Item Name', 'Description', 'Qty',
@@ -229,7 +229,7 @@
<td>Net Total</td>
<td></td>
<td width=38%><script>
- fmt_money(doc.net_total)
+ fmt_money(doc.net_total/doc.conversion_rate)
</script></td>
</tr>
<tr><td colspan=3><script>si_std.print_other_charges()</script></td></tr>
diff --git a/erpnext/patches/print_formats/SalesInvoiceModern.html b/erpnext/patches/print_formats/SalesInvoiceModern.html
index f5d4d7c..bdffa1c 100644
--- a/erpnext/patches/print_formats/SalesInvoiceModern.html
+++ b/erpnext/patches/print_formats/SalesInvoiceModern.html
@@ -121,7 +121,7 @@
'RV Detail',
[// Here specify the table columns to be displayed
'SR', 'item_name', 'description', 'qty', 'stock_uom',
- 'basic_rate', 'amount'
+ 'export_rate', 'export_amount'
],
[// Here specify the labels of column headings
'Sr', 'Item Name', 'Description', 'Qty',
@@ -256,7 +256,7 @@
<td>Net Total</td>
<td></td>
<td width=38%><script>
- fmt_money(doc.net_total)
+ fmt_money(doc.net_total/doc.conversion_rate)
</script></td>
</tr>
<tr><td colspan=3><script>si_std.print_other_charges()</script></td></tr>
diff --git a/erpnext/patches/print_formats/SalesInvoiceSpartan.html b/erpnext/patches/print_formats/SalesInvoiceSpartan.html
index d25bc1a..b8983ef 100644
--- a/erpnext/patches/print_formats/SalesInvoiceSpartan.html
+++ b/erpnext/patches/print_formats/SalesInvoiceSpartan.html
@@ -120,7 +120,7 @@
'RV Detail',
[// Here specify the table columns to be displayed
'SR', 'item_name', 'description', 'qty', 'stock_uom',
- 'basic_rate', 'amount'
+ 'export_rate', 'export_amount'
],
[// Here specify the labels of column headings
'Sr', 'Item Name', 'Description', 'Qty',
@@ -251,7 +251,7 @@
<td>Net Total</td>
<td></td>
<td width=38%><script>
- fmt_money(doc.net_total)
+ fmt_money(doc.net_total/doc.conversion_rate)
</script></td>
</tr>
<tr><td colspan=3><script>si_std.print_other_charges()</script></td></tr>