Half day validation in leave application
This commit is contained in:
parent
3cb7b165d1
commit
d0d9bdfe90
@ -55,9 +55,6 @@ cur_frm.cscript.to_date = function(doc, dt, dn) {
|
||||
if(cint(doc.half_day) == 1 && cstr(doc.from_date) && doc.from_date != doc.to_date){
|
||||
msgprint("To Date should be same as From Date for Half Day leave");
|
||||
set_multiple(dt,dn,{to_date:doc.from_date});
|
||||
}
|
||||
if(cint(doc.half_day) == 1){
|
||||
|
||||
}
|
||||
calculate_total_days(doc, dt, dn);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user