Remove commented out code

This commit is contained in:
Ishan Loya 2017-04-24 16:20:02 +05:30 committed by Nabin Hait
parent 0fc57a7df2
commit e1ed5ba726

View File

@ -27,19 +27,4 @@ frappe.ui.form.on('Bank Guarantee', {
end_date = frappe.datetime.add_days(cur_frm.doc.start_date, cur_frm.doc.validity - 1);
cur_frm.set_value("end_date", end_date);
}
});
// $.extend(cur_frm.cscript, {
// start_date: function(doc, dt, dn) {
// var me = this;
// end_date =
// frappe.datetime.add_days(this.frm.doc.start_date, this.frm.doc.validity - 1);
// this.frm.set_value("end_date", end_date);
// },
// validity: function(doc, dt, dn) {
// var me = this;
// end_date =
// frappe.datetime.add_days(this.frm.doc.start_date, this.frm.doc.validity - 1);
// this.frm.set_value("end_date", end_date);
// }
// });
});