From fd8b6c15b5fb27ed1601f0225c9eb2e371888c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihan=20=C5=9Eent=C3=BCrk?= Date: Fri, 24 Mar 2023 17:37:37 +0300 Subject: [PATCH] currency issue --- .../assets/js/components/AkauntingModalAddNew.vue | 10 ---------- .../views/components/layouts/admin/head.blade.php | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/resources/assets/js/components/AkauntingModalAddNew.vue b/resources/assets/js/components/AkauntingModalAddNew.vue index 152f912a4..5d4aff79e 100644 --- a/resources/assets/js/components/AkauntingModalAddNew.vue +++ b/resources/assets/js/components/AkauntingModalAddNew.vue @@ -188,16 +188,6 @@ export default { created: function() { this.form = new Form('form-create'); - // for override global currency variable.. - this.currency = { - decimal: '.', - thousands: ',', - prefix: '$ ', - suffix: '', - precision: 2, - masked: false /* doesn't work with directive */ - }; - // Parent vue instance methods merge with child vue instance methods if (this.$root.$options.methods) { let parent_methods = this.$root.$options.methods; diff --git a/resources/views/components/layouts/admin/head.blade.php b/resources/views/components/layouts/admin/head.blade.php index 24c175771..98397ddf4 100644 --- a/resources/views/components/layouts/admin/head.blade.php +++ b/resources/views/components/layouts/admin/head.blade.php @@ -1,5 +1,5 @@ @props([ - 'metaTitle', 'title', + 'metaTitle', 'title', 'currency' ])