company wise letter head feature added

This commit is contained in:
Neil Trini Lasrado
2014-12-15 15:49:40 +05:30
committed by Nabin Hait
parent b0b7e7fdf8
commit 31a92bd9d9
4 changed files with 341 additions and 312 deletions

View File

@@ -413,3 +413,8 @@ def get_outstanding_invoices(amount_query, account, party_type, party):
})
return all_outstanding_vouchers
@frappe.whitelist()
def get_letter_head(company):
return frappe.db.get_value("Company",company,"default_letter_head")