company wise letter head feature added
diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js
index f716723..5528322 100644
--- a/erpnext/public/js/utils.js
+++ b/erpnext/public/js/utils.js
@@ -99,6 +99,20 @@
d.show();
});
},
+
+ get_letter_head: function(company) {
+ frappe.call({
+ type:"GET",
+ method: "erpnext.accounts.utils.get_letter_head",
+ args: {
+ "company": company
+ },
+ callback: function(r) {
+ if (!r.exe) cur_frm.set_value("letter_head", r.message);
+ }
+ });
+ },
+
});