mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 19:10:40 +00:00
- decimal price fixes
This commit is contained in:
Vendored
+6
@@ -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'})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user