bank reconciliation fix
This commit is contained in:
parent
71a6b93d89
commit
0a3e5653ba
@ -16,3 +16,20 @@ cur_frm.cscript.onload = function(doc, cdt, cdn){
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
frappe.ui.form.on("Bank Reconciliation", "update_clearance_date", function(frm) {
|
||||
return frappe.call({
|
||||
method: "update_details",
|
||||
doc: frm.doc
|
||||
})
|
||||
})
|
||||
|
||||
frappe.ui.form.on("Bank Reconciliation", "get_relevant_entries", function(frm) {
|
||||
return frappe.call({
|
||||
method: "get_details",
|
||||
doc: frm.doc,
|
||||
callback: function(r, rt) {
|
||||
frm.refresh()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
"fieldname": "get_relevant_entries",
|
||||
"fieldtype": "Button",
|
||||
"label": "Get Relevant Entries",
|
||||
"options": "get_details",
|
||||
"options": "",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@ -68,7 +68,7 @@
|
||||
"fieldname": "update_clearance_date",
|
||||
"fieldtype": "Button",
|
||||
"label": "Update Clearance Date",
|
||||
"options": "update_details",
|
||||
"options": "",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
@ -85,7 +85,7 @@
|
||||
"icon": "icon-check",
|
||||
"idx": 1,
|
||||
"issingle": 1,
|
||||
"modified": "2014-12-25 13:16:16.711609",
|
||||
"modified": "2015-01-19 07:49:15.830001",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "Bank Reconciliation",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user