mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 19:10:40 +00:00
- Fixed UpgradeBilling.vue
- Fixed CreatePaymentMethod.vue
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
</div>
|
||||
<div class="row" v-if="taxRates">
|
||||
<div class="cell">
|
||||
<b>{{ $t('page_upgrade_account.summary.vat') }} - ({{ taxRates.jurisdiction }} {{ taxRates.percentage }}%)</b>
|
||||
<b>{{ $t('page_upgrade_account.summary.vat') }} - ({{ taxRates.country }} {{ taxRates.percentage }}%)</b>
|
||||
</div>
|
||||
<div class="cell">
|
||||
<b>{{ taxRates.plan_price_formatted }}</b>
|
||||
@@ -150,7 +150,7 @@
|
||||
...mapGetters(['config', 'countries']),
|
||||
taxRates() {
|
||||
return this.requestedPlan.data.relationships.plan.data.attributes.tax_rates.find(taxRate => {
|
||||
return taxRate.jurisdiction === this.requestedPlan.data.relationships.user.data.attributes.country
|
||||
return taxRate.country === this.requestedPlan.data.relationships.user.data.attributes.country
|
||||
})
|
||||
}
|
||||
},
|
||||
@@ -205,8 +205,12 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
.then(() => this.successOrder())
|
||||
.catch((error) => this.errorOrder(error))
|
||||
.then(() => {
|
||||
this.successOrder()
|
||||
})
|
||||
.catch((error) => {
|
||||
this.errorOrder(error)
|
||||
})
|
||||
.finally(() => {
|
||||
this.isSubmitted = false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user