Fix
This commit is contained in:
@@ -84,6 +84,8 @@ dbo.helpers = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
numberWithPoints :function(myNumber) {
|
numberWithPoints :function(myNumber) {
|
||||||
|
if( ! myNumber) return 0;
|
||||||
|
|
||||||
return myNumber.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");
|
return myNumber.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -205,6 +205,7 @@ $( function () {
|
|||||||
description: '',
|
description: '',
|
||||||
date : null,
|
date : null,
|
||||||
costs : 0,
|
costs : 0,
|
||||||
|
payed : 0,
|
||||||
inEdit : true
|
inEdit : true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user