- Fixed UpgradeBilling.vue

- Fixed CreatePaymentMethod.vue
This commit is contained in:
Peter Papp
2021-03-24 08:19:52 +01:00
parent 888d76fea0
commit 480f518ebc
11 changed files with 116 additions and 54 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ class User extends Authenticatable
// Find tax rate
$user_tax_rate = $rates->first(function ($item) {
return $item['jurisdiction'] === $this->settings->billing_country && $item['active'];
return $item['country'] === $this->settings->country && $item['active'];
});
return $user_tax_rate ? [$user_tax_rate['id']] : [];