Added help in landed cost voucher
diff --git a/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js b/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js
index 207b12b..6101074 100644
--- a/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js
+++ b/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.js
@@ -36,6 +36,35 @@
},
+ refresh: function() {
+ var help_content = ['<table class="table table-bordered" style="background-color: #f9f9f9;">',
+ '<tr><td>',
+ '<h4><i class="icon-hand-right"></i> ',
+ __('Notes'),
+ ':</h4>',
+ '<ul>',
+ '<li>',
+ __("Charges will be distributed proportionately based on item amount"),
+ '</li>',
+ '<li>',
+ __("Remove item if charges is not applicable to that item"),
+ '</li>',
+ '<li>',
+ __("Charges are updated in Purchase Receipt against each item"),
+ '</li>',
+ '<li>',
+ __("Item valuation rate is recalculated considering landed cost voucher amount"),
+ '</li>',
+ '<li>',
+ __("Stock Ledger Entries and GL Entries are reposted for the selected Purchase Receipts"),
+ '</li>',
+ '</ul>',
+ '</td></tr>',
+ '</table>'].join("\n");
+
+ set_field_options("landed_cost_help", help_content);
+ },
+
get_items_from_purchase_receipts: function() {
var me = this;
if(!this.frm.doc.landed_cost_purchase_receipts.length) {