projecten

This commit is contained in:
2018-01-23 08:45:44 +01:00
parent 970aa53971
commit fb19c401fd
36 changed files with 1402 additions and 184 deletions
+3 -2
View File
@@ -18,9 +18,9 @@ dbo.helpers = {
// convert to comma or point number
if ( point ) {
input = input.replace( ',', '' );
input = input.toString().replace( ',', '' );
} else {
input = input.replace( '.', '' );
input = input.toString().replace( '.', '' );
}
//remain only last comma or point and remove all non numbers
@@ -58,6 +58,7 @@ dbo.helpers = {
},
mysql2date : function(date){
if( ! date ) return null;
if( date.length != 10 ) return null;
var dateParts = date.split("-");