mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-22 08:08:29 +00:00
message updates in Leave / Expense, catch localstorage error
This commit is contained in:
@@ -105,7 +105,7 @@ cur_frm.cscript.sanctioned_amount = function(doc,cdt,cdn){
|
||||
}
|
||||
|
||||
cur_frm.cscript.on_submit = function(doc, cdt, cdn) {
|
||||
if(cint(wn.boot.notification_settings.expense_claim)) {
|
||||
if(cint(wn.boot.notification_settings && wn.boot.notification_settings.expense_claim)) {
|
||||
cur_frm.email_doc(wn.boot.notification_settings.expense_claim_message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user