ERP Creation : fixing NaN date message in confirm box
Fixes #138: time variable references a function and not a variable
Fixes #140 : no test if visit duration was null
Merge pull request #139 from A511701/master

ERP Creation : fixing NaN date message in confirm box