clearance date will be copy while amending journal voucher

This commit is contained in:
Nabin Hait 2011-07-28 15:38:23 +05:30
parent c650616509
commit 43a3a619b3

View File

@ -1,9 +1,5 @@
cur_frm.cscript.onload = function(doc, cdt, cdn) {
var cp = locals['Control Panel']['Control Panel'];
if(doc.__islocal){
doc.clearance_date ='';
refresh_field('clearance_date');
}
if (!doc.voucher_date) doc.voucher_date = dateutil.obj_to_str(new Date());
@ -155,4 +151,4 @@ cur_frm.cscript['View Ledger Entry'] = function(doc,cdt,cdn){
report.dt.run();
}
loadreport('GL Entry','General Ledger', callback);
}
}