From 695f8cf6aeddde3e9a30b97a9181d6cff4ce0692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Fri, 2 Jan 2026 02:37:12 +0000 Subject: [PATCH] Fixed document currency conversation issue.. --- .../components/AkauntingCurrencyConversion.vue | 18 +++++++++--------- .../js/components/AkauntingSelectRemote.vue | 2 +- resources/lang/es-CO/currencies.php | 2 +- resources/lang/es-ES/currencies.php | 2 +- .../components/documents/form/totals.blade.php | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/resources/assets/js/components/AkauntingCurrencyConversion.vue b/resources/assets/js/components/AkauntingCurrencyConversion.vue index 58122ca50..187b89b59 100644 --- a/resources/assets/js/components/AkauntingCurrencyConversion.vue +++ b/resources/assets/js/components/AkauntingCurrencyConversion.vue @@ -48,7 +48,7 @@ default: 'sale' }, - currecyCode: { + currencyCode: { type: String, default: 'USD' }, @@ -58,7 +58,7 @@ }, currencySymbol: { - default: {} + default: {} } }, @@ -76,7 +76,7 @@ if (conversion[0]) { this.texts.push(conversion[0]); } - + if (conversion[1]) { this.texts.push(conversion[1].replace(':currency_code', company_currency_code).replace(':currency_rate', '')); } @@ -92,25 +92,25 @@ watch: { currencyConversionText: function (text) { - this.conversion = text.replace(':price', this.price).replace(':currency_code', this.currecyCode); + this.conversion = text.replace(':price', this.price).replace(':currency_code', this.currencyCode); }, price: function (price) { - this.conversion = this.currencyConversionText.replace(':price', price).replace(':currency_code', this.currecyCode).replace(); + this.conversion = this.currencyConversionText.replace(':price', price).replace(':currency_code', this.currencyCode).replace(); }, - currecyCode: function (currecyCode) { - this.conversion = this.currencyConversionText.replace(':price', this.price).replace(':currency_code', this.currecyCode).replace(); + currencyCode: function (currencyCode) { + this.conversion = this.currencyConversionText.replace(':price', this.price).replace(':currency_code', this.currencyCode).replace(); }, currencyRate: function (currencyRate) { this.rate = currencyRate; - this.conversion = this.currencyConversionText.replace(':price', this.price).replace(':currency_code', this.currecyCode).replace(); + this.conversion = this.currencyConversionText.replace(':price', this.price).replace(':currency_code', this.currencyCode).replace(); }, currencySymbol: function (currencySymbol) { - this.conversion = this.currencyConversionText.replace(':price', this.price).replace(':currency_code', this.currecyCode).replace(); + this.conversion = this.currencyConversionText.replace(':price', this.price).replace(':currency_code', this.currencyCode).replace(); }, }, }; diff --git a/resources/assets/js/components/AkauntingSelectRemote.vue b/resources/assets/js/components/AkauntingSelectRemote.vue index 4d2657008..0be791ebd 100644 --- a/resources/assets/js/components/AkauntingSelectRemote.vue +++ b/resources/assets/js/components/AkauntingSelectRemote.vue @@ -491,7 +491,7 @@ export default { currencyCode: { type: String, default: 'USD', - description: "Get remote item price currecy code" + description: "Get remote item price currency code" }, optionStyle: { diff --git a/resources/lang/es-CO/currencies.php b/resources/lang/es-CO/currencies.php index f87f39b12..995dc8ed1 100644 --- a/resources/lang/es-CO/currencies.php +++ b/resources/lang/es-CO/currencies.php @@ -8,7 +8,7 @@ return [ 'decimal_mark' => 'Punto decimal', 'thousands_separator' => 'Separador de miles', 'precision' => 'Precisión', - 'conversion' => 'Conversión de moneda: :price (:currecy_code) a :currency_rate', + 'conversion' => 'Conversión de moneda: :price (:currency_code) a :currency_rate', 'symbol' => [ 'symbol' => 'Símbolo', 'position' => 'Posición del Símbolo', diff --git a/resources/lang/es-ES/currencies.php b/resources/lang/es-ES/currencies.php index ef0db8ef8..9762fa14d 100644 --- a/resources/lang/es-ES/currencies.php +++ b/resources/lang/es-ES/currencies.php @@ -8,7 +8,7 @@ return [ 'decimal_mark' => 'Punto decimal', 'thousands_separator' => 'Separador de miles', 'precision' => 'Precisión', - 'conversion' => 'Conversión de moneda: :price (:currecy_code) a :currency_rate', + 'conversion' => 'Conversión de moneda: :price (:currency_code) a :currency_rate', 'symbol' => [ 'symbol' => 'Símbolo', 'position' => 'Posición de Símbolo', diff --git a/resources/views/components/documents/form/totals.blade.php b/resources/views/components/documents/form/totals.blade.php index 35bb8c5ac..615e62ed4 100644 --- a/resources/views/components/documents/form/totals.blade.php +++ b/resources/views/components/documents/form/totals.blade.php @@ -229,7 +229,7 @@