seee prev. commit
This commit is contained in:
@@ -137,3 +137,12 @@ export function calcDays(data, isyear) {
|
||||
return days;
|
||||
};
|
||||
|
||||
export const setoptionfromtable = (opt,tabval) => {
|
||||
let ret = opt
|
||||
if ((opt === null) || (opt === '') || (opt === undefined) || (opt < tabval)){
|
||||
ret = tabval
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user