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

@ -28,18 +28,3 @@ frappe.ui.form.on('Bank Guarantee', {
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);
// }
// });