- decimal price fixes

This commit is contained in:
Peter Papp
2021-05-19 13:03:33 +02:00
parent 78aa1a0779
commit 983425b89a
7 changed files with 358 additions and 64 deletions
+6
View File
@@ -7,6 +7,12 @@ import router from "./router";
const OasisHelpers = {
install(Vue) {
Vue.prototype.$parseFloat = function (val) {
let number = val.toString().replace(',', '.')
return parseFloat(number)
}
Vue.prototype.$goToInvoice = function () {
router.push({name: 'InvoicesList'})