clearance date will be copy while amending journal voucher
This commit is contained in:
parent
c650616509
commit
43a3a619b3
@ -1,9 +1,5 @@
|
|||||||
cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
cur_frm.cscript.onload = function(doc, cdt, cdn) {
|
||||||
var cp = locals['Control Panel']['Control Panel'];
|
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());
|
if (!doc.voucher_date) doc.voucher_date = dateutil.obj_to_str(new Date());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user