mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
Fixed when default value incorrectly showing in switches in app settings
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
return [
|
||||
|
||||
'version' => '1.7.10',
|
||||
'version' => '1.7.10.1',
|
||||
|
||||
// Define size of chunk uploaded by MB. E.g. integer 128 means chunk size will be 128MB.
|
||||
'chunk_size' => env('CHUNK_SIZE', '128'),
|
||||
|
||||
2
public/chunks/app-appearance.js
vendored
2
public/chunks/app-appearance.js
vendored
File diff suppressed because one or more lines are too long
2
public/chunks/app-billings.js
vendored
2
public/chunks/app-billings.js
vendored
File diff suppressed because one or more lines are too long
2
public/chunks/app-others.js
vendored
2
public/chunks/app-others.js
vendored
File diff suppressed because one or more lines are too long
2
public/chunks/app-payments.js
vendored
2
public/chunks/app-payments.js
vendored
File diff suppressed because one or more lines are too long
2
public/chunks/stripe-credentials.js
vendored
2
public/chunks/stripe-credentials.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/main.js
vendored
2
public/js/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"/chunks/files~chunks/shared-files~chunks/shared-page~chunks/trash.js": "/chunks/files~chunks/shared-files~chunks/shared-page~chunks/trash.js?id=adad12e7b42316bdd659",
|
||||
"/js/main.js": "/js/main.js?id=a5e82cb9ec0f253b6343",
|
||||
"/js/main.js": "/js/main.js?id=56929a5bd004d4b75bea",
|
||||
"/css/app.css": "/css/app.css?id=dbf49843b327d3936c06",
|
||||
"/chunks/admin.js": "/chunks/admin.js?id=5bd95ece632ca142f035",
|
||||
"/chunks/admin-account.js": "/chunks/admin-account.js?id=b181a9ba45f475b9e004",
|
||||
"/chunks/app-appearance.js": "/chunks/app-appearance.js?id=f77c9be4514e7ab0ad0e",
|
||||
"/chunks/app-billings.js": "/chunks/app-billings.js?id=24259b32506484062990",
|
||||
"/chunks/app-appearance.js": "/chunks/app-appearance.js?id=f69d59d6794ea1499fe0",
|
||||
"/chunks/app-billings.js": "/chunks/app-billings.js?id=eeaf973796e2dc560813",
|
||||
"/chunks/app-email.js": "/chunks/app-email.js?id=471301be8d4dbb371fa0",
|
||||
"/chunks/app-index.js": "/chunks/app-index.js?id=ded9a59aa4d4d8040637",
|
||||
"/chunks/app-others.js": "/chunks/app-others.js?id=d1158ce36ac84d7fb317",
|
||||
"/chunks/app-payments.js": "/chunks/app-payments.js?id=c4a896c3218713699b17",
|
||||
"/chunks/app-others.js": "/chunks/app-others.js?id=3ad2d0ac11ce6252321a",
|
||||
"/chunks/app-payments.js": "/chunks/app-payments.js?id=819a1e3b30e7aa79c71d",
|
||||
"/chunks/app-settings.js": "/chunks/app-settings.js?id=8499d3cb5a2c547d3d69",
|
||||
"/chunks/app-setup.js": "/chunks/app-setup.js?id=f8769c14859175aad49b",
|
||||
"/chunks/billings-detail.js": "/chunks/billings-detail.js?id=410da17c566b388cb0a5",
|
||||
@@ -47,7 +47,7 @@
|
||||
"/chunks/shared-page.js": "/chunks/shared-page.js?id=9d725367306c477e5f78",
|
||||
"/chunks/sign-in.js": "/chunks/sign-in.js?id=0c9fe096135be58283b6",
|
||||
"/chunks/sign-up.js": "/chunks/sign-up.js?id=eaa8bc2819a9cc19dbc7",
|
||||
"/chunks/stripe-credentials.js": "/chunks/stripe-credentials.js?id=d384dddfe76d89164df3",
|
||||
"/chunks/stripe-credentials.js": "/chunks/stripe-credentials.js?id=cf445ba69a83dc2b3b00",
|
||||
"/chunks/subscription-plans.js": "/chunks/subscription-plans.js?id=d4434431a9c8fa3ffc2b",
|
||||
"/chunks/subscription-service.js": "/chunks/subscription-service.js?id=175f558c3e09887846a5",
|
||||
"/chunks/trash.js": "/chunks/trash.js?id=e00ce8bde9ea638f5049",
|
||||
|
||||
543
resources/js/store/modules/app.js
vendored
543
resources/js/store/modules/app.js
vendored
@@ -293,6 +293,548 @@ const defaultState = {
|
||||
value: 168,
|
||||
},
|
||||
],
|
||||
currencyList: [
|
||||
{
|
||||
label: 'USD - United States Dollar',
|
||||
value: 'USD',
|
||||
},
|
||||
{
|
||||
label: 'EUR - Euro',
|
||||
value: 'EUR',
|
||||
},
|
||||
{
|
||||
label: 'GBP - British Pound',
|
||||
value: 'GBP',
|
||||
},
|
||||
{
|
||||
label: 'AFN - Afghan Afghani',
|
||||
value: 'AFN',
|
||||
},
|
||||
{
|
||||
label: 'ALL - Albanian Lek',
|
||||
value: 'ALL',
|
||||
},
|
||||
{
|
||||
label: 'DZD - Algerian Dinar',
|
||||
value: 'DZD',
|
||||
},
|
||||
{
|
||||
label: 'AOA - Angolan Kwanza',
|
||||
value: 'AOA',
|
||||
},
|
||||
{
|
||||
label: 'ARS - Argentine Peso',
|
||||
value: 'ARS',
|
||||
},
|
||||
{
|
||||
label: 'AMD - Armenian Dram',
|
||||
value: 'AMD',
|
||||
},
|
||||
{
|
||||
label: 'AWG - Aruban Florin',
|
||||
value: 'AWG',
|
||||
},
|
||||
{
|
||||
label: 'AUD - Australian Dollar',
|
||||
value: 'AUD',
|
||||
},
|
||||
{
|
||||
label: 'AZN - Azerbaijani Manat',
|
||||
value: 'AZN',
|
||||
},
|
||||
{
|
||||
label: 'BDT - Bangladeshi Taka',
|
||||
value: 'BDT',
|
||||
},
|
||||
{
|
||||
label: 'BBD - Barbadian Dollar',
|
||||
value: 'BBD',
|
||||
},
|
||||
{
|
||||
label: 'BZD - Belize Dollar',
|
||||
value: 'BZD',
|
||||
},
|
||||
{
|
||||
label: 'BMD - Bermudian Dollar',
|
||||
value: 'BMD',
|
||||
},
|
||||
{
|
||||
label: 'BOB - Bolivian Boliviano',
|
||||
value: 'BOB',
|
||||
},
|
||||
{
|
||||
label: 'BAM - Bosnia & Herzegovina Convertible Mark',
|
||||
value: 'BAM',
|
||||
},
|
||||
{
|
||||
label: 'BWP - Botswana Pula',
|
||||
value: 'BWP',
|
||||
},
|
||||
{
|
||||
label: 'BRL - Brazilian Real',
|
||||
value: 'BRL',
|
||||
},
|
||||
{
|
||||
label: 'BND - Brunei Dollar',
|
||||
value: 'BND',
|
||||
},
|
||||
{
|
||||
label: 'BGN - Bulgarian Lev',
|
||||
value: 'BGN',
|
||||
},
|
||||
{
|
||||
label: 'BIF - Burundian Franc',
|
||||
value: 'BIF',
|
||||
},
|
||||
{
|
||||
label: 'KHR - Cambodian Riel',
|
||||
value: 'KHR',
|
||||
},
|
||||
{
|
||||
label: 'CAD - Canadian Dollar',
|
||||
value: 'CAD',
|
||||
},
|
||||
{
|
||||
label: 'CVE - Cape Verdean Escudo',
|
||||
value: 'CVE',
|
||||
},
|
||||
{
|
||||
label: 'KYD - Cayman Islands Dollar',
|
||||
value: 'KYD',
|
||||
},
|
||||
{
|
||||
label: 'XAF - Central African Cfa Franc',
|
||||
value: 'XAF',
|
||||
},
|
||||
{
|
||||
label: 'XPF - Cfp Franc',
|
||||
value: 'XPF',
|
||||
},
|
||||
{
|
||||
label: 'CLP - Chilean Peso',
|
||||
value: 'CLP',
|
||||
},
|
||||
{
|
||||
label: 'CNY - Chinese Renminbi Yuan',
|
||||
value: 'CNY',
|
||||
},
|
||||
{
|
||||
label: 'COP - Colombian Peso',
|
||||
value: 'COP',
|
||||
},
|
||||
{
|
||||
label: 'KMF - Comorian Franc',
|
||||
value: 'KMF',
|
||||
},
|
||||
{
|
||||
label: 'CDF - Congolese Franc',
|
||||
value: 'CDF',
|
||||
},
|
||||
{
|
||||
label: 'CRC - Costa Rican Colón',
|
||||
value: 'CRC',
|
||||
},
|
||||
{
|
||||
label: 'HRK - Croatian Kuna',
|
||||
value: 'HRK',
|
||||
},
|
||||
{
|
||||
label: 'CZK - Czech Koruna',
|
||||
value: 'CZK',
|
||||
},
|
||||
{
|
||||
label: 'DKK - Danish Krone',
|
||||
value: 'DKK',
|
||||
},
|
||||
{
|
||||
label: 'DJF - Djiboutian Franc',
|
||||
value: 'DJF',
|
||||
},
|
||||
{
|
||||
label: 'DOP - Dominican Peso',
|
||||
value: 'DOP',
|
||||
},
|
||||
{
|
||||
label: 'XCD - East Caribbean Dollar',
|
||||
value: 'XCD',
|
||||
},
|
||||
{
|
||||
label: 'EGP - Egyptian Pound',
|
||||
value: 'EGP',
|
||||
},
|
||||
{
|
||||
label: 'ETB - Ethiopian Birr',
|
||||
value: 'ETB',
|
||||
},
|
||||
{
|
||||
label: 'FKP - Falkland Islands Pound',
|
||||
value: 'FKP',
|
||||
},
|
||||
{
|
||||
label: 'FJD - Fijian Dollar',
|
||||
value: 'FJD',
|
||||
},
|
||||
{
|
||||
label: 'GMD - Gambian Dalasi',
|
||||
value: 'GMD',
|
||||
},
|
||||
{
|
||||
label: 'GEL - Georgian Lari',
|
||||
value: 'GEL',
|
||||
},
|
||||
{
|
||||
label: 'GIP - Gibraltar Pound',
|
||||
value: 'GIP',
|
||||
},
|
||||
{
|
||||
label: 'GTQ - Guatemalan Quetzal',
|
||||
value: 'GTQ',
|
||||
},
|
||||
{
|
||||
label: 'GNF - Guinean Franc',
|
||||
value: 'GNF',
|
||||
},
|
||||
{
|
||||
label: 'GYD - Guyanese Dollar',
|
||||
value: 'GYD',
|
||||
},
|
||||
{
|
||||
label: 'HTG - Haitian Gourde',
|
||||
value: 'HTG',
|
||||
},
|
||||
{
|
||||
label: 'HNL - Honduran Lempira',
|
||||
value: 'HNL',
|
||||
},
|
||||
{
|
||||
label: 'HKD - Hong Kong Dollar',
|
||||
value: 'HKD',
|
||||
},
|
||||
{
|
||||
label: 'HUF - Hungarian Forint',
|
||||
value: 'HUF',
|
||||
},
|
||||
{
|
||||
label: 'ISK - Icelandic Króna',
|
||||
value: 'ISK',
|
||||
},
|
||||
{
|
||||
label: 'INR - Indian Rupee',
|
||||
value: 'INR',
|
||||
},
|
||||
{
|
||||
label: 'IDR - Indonesian Rupiah',
|
||||
value: 'IDR',
|
||||
},
|
||||
{
|
||||
label: 'ILS - Israeli New Sheqel',
|
||||
value: 'ILS',
|
||||
},
|
||||
{
|
||||
label: 'JMD - Jamaican Dollar',
|
||||
value: 'JMD',
|
||||
},
|
||||
{
|
||||
label: 'JPY - Japanese Yen',
|
||||
value: 'JPY',
|
||||
},
|
||||
{
|
||||
label: 'KZT - Kazakhstani Tenge',
|
||||
value: 'KZT',
|
||||
},
|
||||
{
|
||||
label: 'KES - Kenyan Shilling',
|
||||
value: 'KES',
|
||||
},
|
||||
{
|
||||
label: 'KGS - Kyrgyzstani Som',
|
||||
value: 'KGS',
|
||||
},
|
||||
{
|
||||
label: 'LAK - Lao Kip',
|
||||
value: 'LAK',
|
||||
},
|
||||
{
|
||||
label: 'LBP - Lebanese Pound',
|
||||
value: 'LBP',
|
||||
},
|
||||
{
|
||||
label: 'LSL - Lesotho Loti',
|
||||
value: 'LSL',
|
||||
},
|
||||
{
|
||||
label: 'LRD - Liberian Dollar',
|
||||
value: 'LRD',
|
||||
},
|
||||
{
|
||||
label: 'MOP - Macanese Pataca',
|
||||
value: 'MOP',
|
||||
},
|
||||
{
|
||||
label: 'MKD - Macedonian Denar',
|
||||
value: 'MKD',
|
||||
},
|
||||
{
|
||||
label: 'MGA - Malagasy Ariary',
|
||||
value: 'MGA',
|
||||
},
|
||||
{
|
||||
label: 'MWK - Malawian Kwacha',
|
||||
value: 'MWK',
|
||||
},
|
||||
{
|
||||
label: 'MYR - Malaysian Ringgit',
|
||||
value: 'MYR',
|
||||
},
|
||||
{
|
||||
label: 'MVR - Maldivian Rufiyaa',
|
||||
value: 'MVR',
|
||||
},
|
||||
{
|
||||
label: 'MRO - Mauritanian Ouguiya',
|
||||
value: 'MRO',
|
||||
},
|
||||
{
|
||||
label: 'MUR - Mauritian Rupee',
|
||||
value: 'MUR',
|
||||
},
|
||||
{
|
||||
label: 'MXN - Mexican Peso',
|
||||
value: 'MXN',
|
||||
},
|
||||
{
|
||||
label: 'MDL - Moldovan Leu',
|
||||
value: 'MDL',
|
||||
},
|
||||
{
|
||||
label: 'MNT - Mongolian Tögrög',
|
||||
value: 'MNT',
|
||||
},
|
||||
{
|
||||
label: 'MAD - Moroccan Dirham',
|
||||
value: 'MAD',
|
||||
},
|
||||
{
|
||||
label: 'MZN - Mozambican Metical',
|
||||
value: 'MZN',
|
||||
},
|
||||
{
|
||||
label: 'MMK - Myanmar Kyat',
|
||||
value: 'MMK',
|
||||
},
|
||||
{
|
||||
label: 'NAD - Namibian Dollar',
|
||||
value: 'NAD',
|
||||
},
|
||||
{
|
||||
label: 'NPR - Nepalese Rupee',
|
||||
value: 'NPR',
|
||||
},
|
||||
{
|
||||
label: 'ANG - Netherlands Antillean Gulden',
|
||||
value: 'ANG',
|
||||
},
|
||||
{
|
||||
label: 'TWD - New Taiwan Dollar',
|
||||
value: 'TWD',
|
||||
},
|
||||
{
|
||||
label: 'NZD - New Zealand Dollar',
|
||||
value: 'NZD',
|
||||
},
|
||||
{
|
||||
label: 'NIO - Nicaraguan Córdoba',
|
||||
value: 'NIO',
|
||||
},
|
||||
{
|
||||
label: 'NGN - Nigerian Naira',
|
||||
value: 'NGN',
|
||||
},
|
||||
{
|
||||
label: 'NOK - Norwegian Krone',
|
||||
value: 'NOK',
|
||||
},
|
||||
{
|
||||
label: 'PKR - Pakistani Rupee',
|
||||
value: 'PKR',
|
||||
},
|
||||
{
|
||||
label: 'PAB - Panamanian Balboa',
|
||||
value: 'PAB',
|
||||
},
|
||||
{
|
||||
label: 'PGK - Papua New Guinean Kina',
|
||||
value: 'PGK',
|
||||
},
|
||||
{
|
||||
label: 'PYG - Paraguayan Guaraní',
|
||||
value: 'PYG',
|
||||
},
|
||||
{
|
||||
label: 'PEN - Peruvian Nuevo Sol',
|
||||
value: 'PEN',
|
||||
},
|
||||
{
|
||||
label: 'PHP - Philippine Peso',
|
||||
value: 'PHP',
|
||||
},
|
||||
{
|
||||
label: 'PLN - Polish Złoty',
|
||||
value: 'PLN',
|
||||
},
|
||||
{
|
||||
label: 'QAR - Qatari Riyal',
|
||||
value: 'QAR',
|
||||
},
|
||||
{
|
||||
label: 'RON - Romanian Leu',
|
||||
value: 'RON',
|
||||
},
|
||||
{
|
||||
label: 'RUB - Russian Ruble',
|
||||
value: 'RUB',
|
||||
},
|
||||
{
|
||||
label: 'RWF - Rwandan Franc',
|
||||
value: 'RWF',
|
||||
},
|
||||
{
|
||||
label: 'STD - São Tomé and Príncipe Dobra',
|
||||
value: 'STD',
|
||||
},
|
||||
{
|
||||
label: 'SHP - Saint Helenian Pound',
|
||||
value: 'SHP',
|
||||
},
|
||||
{
|
||||
label: 'SVC - Salvadoran Colón',
|
||||
value: 'SVC',
|
||||
},
|
||||
{
|
||||
label: 'WST - Samoan Tala',
|
||||
value: 'WST',
|
||||
},
|
||||
{
|
||||
label: 'SAR - Saudi Riyal',
|
||||
value: 'SAR',
|
||||
},
|
||||
{
|
||||
label: 'RSD - Serbian Dinar',
|
||||
value: 'RSD',
|
||||
},
|
||||
{
|
||||
label: 'SCR - Seychellois Rupee',
|
||||
value: 'SCR',
|
||||
},
|
||||
{
|
||||
label: 'SLL - Sierra Leonean Leone',
|
||||
value: 'SLL',
|
||||
},
|
||||
{
|
||||
label: 'SGD - Singapore Dollar',
|
||||
value: 'SGD',
|
||||
},
|
||||
{
|
||||
label: 'SBD - Solomon Islands Dollar',
|
||||
value: 'SBD',
|
||||
},
|
||||
{
|
||||
label: 'SOS - Somali Shilling',
|
||||
value: 'SOS',
|
||||
},
|
||||
{
|
||||
label: 'ZAR - South African Rand',
|
||||
value: 'ZAR',
|
||||
},
|
||||
{
|
||||
label: 'KRW - South Korean Won',
|
||||
value: 'KRW',
|
||||
},
|
||||
{
|
||||
label: 'LKR - Sri Lankan Rupee',
|
||||
value: 'LKR',
|
||||
},
|
||||
{
|
||||
label: 'SRD - Surinamese Dollar',
|
||||
value: 'SRD',
|
||||
},
|
||||
{
|
||||
label: 'SZL - Swazi Lilangeni',
|
||||
value: 'SZL',
|
||||
},
|
||||
{
|
||||
label: 'SEK - Swedish Krona',
|
||||
value: 'SEK',
|
||||
},
|
||||
{
|
||||
label: 'CHF - Swiss Franc',
|
||||
value: 'CHF',
|
||||
},
|
||||
{
|
||||
label: 'TJS - Tajikistani Somoni',
|
||||
value: 'TJS',
|
||||
},
|
||||
{
|
||||
label: 'TZS - Tanzanian Shilling',
|
||||
value: 'TZS',
|
||||
},
|
||||
{
|
||||
label: 'THB - Thai Baht',
|
||||
value: 'THB',
|
||||
},
|
||||
{
|
||||
label: 'TOP - Tongan Paʻanga',
|
||||
value: 'TOP',
|
||||
},
|
||||
{
|
||||
label: 'TTD - Trinidad and Tobago Dollar',
|
||||
value: 'TTD',
|
||||
},
|
||||
{
|
||||
label: 'TRY - Turkish Lira',
|
||||
value: 'TRY',
|
||||
},
|
||||
{
|
||||
label: 'UGX - Ugandan Shilling',
|
||||
value: 'UGX',
|
||||
},
|
||||
{
|
||||
label: 'UAH - Ukrainian Hryvnia',
|
||||
value: 'UAH',
|
||||
},
|
||||
{
|
||||
label: 'AED - United Arab Emirates Dirham',
|
||||
value: 'AED',
|
||||
},
|
||||
{
|
||||
label: 'UYU - Uruguayan Peso',
|
||||
value: 'UYU',
|
||||
},
|
||||
{
|
||||
label: 'UZS - Uzbekistani Som',
|
||||
value: 'UZS',
|
||||
},
|
||||
{
|
||||
label: 'VUV - Vanuatu Vatu',
|
||||
value: 'VUV',
|
||||
},
|
||||
{
|
||||
label: 'VND - Vietnamese Đồng',
|
||||
value: 'VND',
|
||||
},
|
||||
{
|
||||
label: 'XOF - West African Cfa Franc',
|
||||
value: 'XOF',
|
||||
},
|
||||
{
|
||||
label: 'YER - Yemeni Rial',
|
||||
value: 'YER',
|
||||
},
|
||||
{
|
||||
label: 'ZMW - Zambian Kwacha',
|
||||
value: 'ZMW',
|
||||
},
|
||||
],
|
||||
}
|
||||
const actions = {
|
||||
changePreviewType: ({commit, state}) => {
|
||||
@@ -353,6 +895,7 @@ const getters = {
|
||||
expirationList: state => state.expirationList,
|
||||
homeDirectory: state => state.homeDirectory,
|
||||
requestedPlan: state => state.requestedPlan,
|
||||
currencyList: state => state.currencyList,
|
||||
countries: state => state.countries,
|
||||
api: state => state.config.api,
|
||||
config: state => state.config,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<PageTab :is-loading="isLoading" class="form-fixed-width">
|
||||
|
||||
<!--Personal Information-->
|
||||
<PageTabGroup v-if="! isLoading">
|
||||
<PageTabGroup v-if="app">
|
||||
<div class="form block-form">
|
||||
<FormLabel>{{ $t('admin_settings.appearance.section_general') }}</FormLabel>
|
||||
|
||||
@@ -85,13 +85,7 @@
|
||||
data() {
|
||||
return {
|
||||
isLoading: true,
|
||||
app: {
|
||||
logo_horizontal: undefined,
|
||||
favicon: undefined,
|
||||
logo: undefined,
|
||||
description: '',
|
||||
title: '',
|
||||
},
|
||||
app: undefined,
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -101,11 +95,13 @@
|
||||
}
|
||||
})
|
||||
.then(response => {
|
||||
this.app.logo_horizontal = response.data.app_logo_horizontal
|
||||
this.app.description = response.data.app_description
|
||||
this.app.favicon = response.data.app_favicon
|
||||
this.app.title = response.data.app_title
|
||||
this.app.logo = response.data.app_logo
|
||||
this.app = {
|
||||
logo_horizontal: response.data.app_logo_horizontal,
|
||||
description: response.data.app_description,
|
||||
favicon: response.data.app_favicon,
|
||||
title: response.data.app_title,
|
||||
logo: response.data.app_logo,
|
||||
}
|
||||
})
|
||||
.finally(() => {
|
||||
this.isLoading = false
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<PageTab :is-loading="isLoading" class="form-fixed-width">
|
||||
|
||||
<!--Personal Information-->
|
||||
<PageTabGroup>
|
||||
<PageTabGroup v-if="billingInformation">
|
||||
<div class="form block-form">
|
||||
<FormLabel>{{ $t('admin_settings.billings.section_company') }}</FormLabel>
|
||||
|
||||
@@ -105,6 +105,7 @@
|
||||
import InfoBox from '@/components/Others/Forms/InfoBox'
|
||||
import {required} from 'vee-validate/dist/rules'
|
||||
import axios from 'axios'
|
||||
import { mapGetters } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'AppAppearance',
|
||||
@@ -122,264 +123,13 @@
|
||||
PageTab,
|
||||
InfoBox,
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['countries']),
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
isLoading: true,
|
||||
countries: [
|
||||
{label: 'Afghanistan', value: 'AF'},
|
||||
{label: 'Åland Islands', value: 'AX'},
|
||||
{label: 'Albania', value: 'AL'},
|
||||
{label: 'Algeria', value: 'DZ'},
|
||||
{label: 'American Samoa', value: 'AS'},
|
||||
{label: 'AndorrA', value: 'AD'},
|
||||
{label: 'Angola', value: 'AO'},
|
||||
{label: 'Anguilla', value: 'AI'},
|
||||
{label: 'Antarctica', value: 'AQ'},
|
||||
{label: 'Antigua and Barbuda', value: 'AG'},
|
||||
{label: 'Argentina', value: 'AR'},
|
||||
{label: 'Armenia', value: 'AM'},
|
||||
{label: 'Aruba', value: 'AW'},
|
||||
{label: 'Australia', value: 'AU'},
|
||||
{label: 'Austria', value: 'AT'},
|
||||
{label: 'Azerbaijan', value: 'AZ'},
|
||||
{label: 'Bahamas', value: 'BS'},
|
||||
{label: 'Bahrain', value: 'BH'},
|
||||
{label: 'Bangladesh', value: 'BD'},
|
||||
{label: 'Barbados', value: 'BB'},
|
||||
{label: 'Belarus', value: 'BY'},
|
||||
{label: 'Belgium', value: 'BE'},
|
||||
{label: 'Belize', value: 'BZ'},
|
||||
{label: 'Benin', value: 'BJ'},
|
||||
{label: 'Bermuda', value: 'BM'},
|
||||
{label: 'Bhutan', value: 'BT'},
|
||||
{label: 'Bolivia', value: 'BO'},
|
||||
{label: 'Bosnia and Herzegovina', value: 'BA'},
|
||||
{label: 'Botswana', value: 'BW'},
|
||||
{label: 'Bouvet Island', value: 'BV'},
|
||||
{label: 'Brazil', value: 'BR'},
|
||||
{label: 'British Indian Ocean Territory', value: 'IO'},
|
||||
{label: 'Brunei Darussalam', value: 'BN'},
|
||||
{label: 'Bulgaria', value: 'BG'},
|
||||
{label: 'Burkina Faso', value: 'BF'},
|
||||
{label: 'Burundi', value: 'BI'},
|
||||
{label: 'Cambodia', value: 'KH'},
|
||||
{label: 'Cameroon', value: 'CM'},
|
||||
{label: 'Canada', value: 'CA'},
|
||||
{label: 'Cape Verde', value: 'CV'},
|
||||
{label: 'Cayman Islands', value: 'KY'},
|
||||
{label: 'Central African Republic', value: 'CF'},
|
||||
{label: 'Chad', value: 'TD'},
|
||||
{label: 'Chile', value: 'CL'},
|
||||
{label: 'China', value: 'CN'},
|
||||
{label: 'Christmas Island', value: 'CX'},
|
||||
{label: 'Cocos (Keeling) Islands', value: 'CC'},
|
||||
{label: 'Colombia', value: 'CO'},
|
||||
{label: 'Comoros', value: 'KM'},
|
||||
{label: 'Congo', value: 'CG'},
|
||||
{label: 'Congo, The Democratic Republic of the', value: 'CD'},
|
||||
{label: 'Cook Islands', value: 'CK'},
|
||||
{label: 'Costa Rica', value: 'CR'},
|
||||
{label: 'Cote D\'Ivoire', value: 'CI'},
|
||||
{label: 'Croatia', value: 'HR'},
|
||||
{label: 'Cuba', value: 'CU'},
|
||||
{label: 'Cyprus', value: 'CY'},
|
||||
{label: 'Czech Republic', value: 'CZ'},
|
||||
{label: 'Denmark', value: 'DK'},
|
||||
{label: 'Djibouti', value: 'DJ'},
|
||||
{label: 'Dominica', value: 'DM'},
|
||||
{label: 'Dominican Republic', value: 'DO'},
|
||||
{label: 'Ecuador', value: 'EC'},
|
||||
{label: 'Egypt', value: 'EG'},
|
||||
{label: 'El Salvador', value: 'SV'},
|
||||
{label: 'Equatorial Guinea', value: 'GQ'},
|
||||
{label: 'Eritrea', value: 'ER'},
|
||||
{label: 'Estonia', value: 'EE'},
|
||||
{label: 'Ethiopia', value: 'ET'},
|
||||
{label: 'Falkland Islands (Malvinas)', value: 'FK'},
|
||||
{label: 'Faroe Islands', value: 'FO'},
|
||||
{label: 'Fiji', value: 'FJ'},
|
||||
{label: 'Finland', value: 'FI'},
|
||||
{label: 'France', value: 'FR'},
|
||||
{label: 'French Guiana', value: 'GF'},
|
||||
{label: 'French Polynesia', value: 'PF'},
|
||||
{label: 'French Southern Territories', value: 'TF'},
|
||||
{label: 'Gabon', value: 'GA'},
|
||||
{label: 'Gambia', value: 'GM'},
|
||||
{label: 'Georgia', value: 'GE'},
|
||||
{label: 'Germany', value: 'DE'},
|
||||
{label: 'Ghana', value: 'GH'},
|
||||
{label: 'Gibraltar', value: 'GI'},
|
||||
{label: 'Greece', value: 'GR'},
|
||||
{label: 'Greenland', value: 'GL'},
|
||||
{label: 'Grenada', value: 'GD'},
|
||||
{label: 'Guadeloupe', value: 'GP'},
|
||||
{label: 'Guam', value: 'GU'},
|
||||
{label: 'Guatemala', value: 'GT'},
|
||||
{label: 'Guernsey', value: 'GG'},
|
||||
{label: 'Guinea', value: 'GN'},
|
||||
{label: 'Guinea-Bissau', value: 'GW'},
|
||||
{label: 'Guyana', value: 'GY'},
|
||||
{label: 'Haiti', value: 'HT'},
|
||||
{label: 'Heard Island and Mcdonald Islands', value: 'HM'},
|
||||
{label: 'Holy See (Vatican City State)', value: 'VA'},
|
||||
{label: 'Honduras', value: 'HN'},
|
||||
{label: 'Hong Kong', value: 'HK'},
|
||||
{label: 'Hungary', value: 'HU'},
|
||||
{label: 'Iceland', value: 'IS'},
|
||||
{label: 'India', value: 'IN'},
|
||||
{label: 'Indonesia', value: 'ID'},
|
||||
{label: 'Iran, Islamic Republic Of', value: 'IR'},
|
||||
{label: 'Iraq', value: 'IQ'},
|
||||
{label: 'Ireland', value: 'IE'},
|
||||
{label: 'Isle of Man', value: 'IM'},
|
||||
{label: 'Israel', value: 'IL'},
|
||||
{label: 'Italy', value: 'IT'},
|
||||
{label: 'Jamaica', value: 'JM'},
|
||||
{label: 'Japan', value: 'JP'},
|
||||
{label: 'Jersey', value: 'JE'},
|
||||
{label: 'Jordan', value: 'JO'},
|
||||
{label: 'Kazakhstan', value: 'KZ'},
|
||||
{label: 'Kenya', value: 'KE'},
|
||||
{label: 'Kiribati', value: 'KI'},
|
||||
{label: 'Korea, Democratic People\'S Republic of', value: 'KP'},
|
||||
{label: 'Korea, Republic of', value: 'KR'},
|
||||
{label: 'Kuwait', value: 'KW'},
|
||||
{label: 'Kyrgyzstan', value: 'KG'},
|
||||
{label: 'Lao People\'S Democratic Republic', value: 'LA'},
|
||||
{label: 'Latvia', value: 'LV'},
|
||||
{label: 'Lebanon', value: 'LB'},
|
||||
{label: 'Lesotho', value: 'LS'},
|
||||
{label: 'Liberia', value: 'LR'},
|
||||
{label: 'Libyan Arab Jamahiriya', value: 'LY'},
|
||||
{label: 'Liechtenstein', value: 'LI'},
|
||||
{label: 'Lithuania', value: 'LT'},
|
||||
{label: 'Luxembourg', value: 'LU'},
|
||||
{label: 'Macao', value: 'MO'},
|
||||
{label: 'Macedonia, The Former Yugoslav Republic of', value: 'MK'},
|
||||
{label: 'Madagascar', value: 'MG'},
|
||||
{label: 'Malawi', value: 'MW'},
|
||||
{label: 'Malaysia', value: 'MY'},
|
||||
{label: 'Maldives', value: 'MV'},
|
||||
{label: 'Mali', value: 'ML'},
|
||||
{label: 'Malta', value: 'MT'},
|
||||
{label: 'Marshall Islands', value: 'MH'},
|
||||
{label: 'Martinique', value: 'MQ'},
|
||||
{label: 'Mauritania', value: 'MR'},
|
||||
{label: 'Mauritius', value: 'MU'},
|
||||
{label: 'Mayotte', value: 'YT'},
|
||||
{label: 'Mexico', value: 'MX'},
|
||||
{label: 'Micronesia, Federated States of', value: 'FM'},
|
||||
{label: 'Moldova, Republic of', value: 'MD'},
|
||||
{label: 'Monaco', value: 'MC'},
|
||||
{label: 'Mongolia', value: 'MN'},
|
||||
{label: 'Montserrat', value: 'MS'},
|
||||
{label: 'Morocco', value: 'MA'},
|
||||
{label: 'Mozambique', value: 'MZ'},
|
||||
{label: 'Myanmar', value: 'MM'},
|
||||
{label: 'Namibia', value: 'NA'},
|
||||
{label: 'Nauru', value: 'NR'},
|
||||
{label: 'Nepal', value: 'NP'},
|
||||
{label: 'Netherlands', value: 'NL'},
|
||||
{label: 'Netherlands Antilles', value: 'AN'},
|
||||
{label: 'New Caledonia', value: 'NC'},
|
||||
{label: 'New Zealand', value: 'NZ'},
|
||||
{label: 'Nicaragua', value: 'NI'},
|
||||
{label: 'Niger', value: 'NE'},
|
||||
{label: 'Nigeria', value: 'NG'},
|
||||
{label: 'Niue', value: 'NU'},
|
||||
{label: 'Norfolk Island', value: 'NF'},
|
||||
{label: 'Northern Mariana Islands', value: 'MP'},
|
||||
{label: 'Norway', value: 'NO'},
|
||||
{label: 'Oman', value: 'OM'},
|
||||
{label: 'Pakistan', value: 'PK'},
|
||||
{label: 'Palau', value: 'PW'},
|
||||
{label: 'Palestinian Territory, Occupied', value: 'PS'},
|
||||
{label: 'Panama', value: 'PA'},
|
||||
{label: 'Papua New Guinea', value: 'PG'},
|
||||
{label: 'Paraguay', value: 'PY'},
|
||||
{label: 'Peru', value: 'PE'},
|
||||
{label: 'Philippines', value: 'PH'},
|
||||
{label: 'Pitcairn', value: 'PN'},
|
||||
{label: 'Poland', value: 'PL'},
|
||||
{label: 'Portugal', value: 'PT'},
|
||||
{label: 'Puerto Rico', value: 'PR'},
|
||||
{label: 'Qatar', value: 'QA'},
|
||||
{label: 'Reunion', value: 'RE'},
|
||||
{label: 'Romania', value: 'RO'},
|
||||
{label: 'Russian Federation', value: 'RU'},
|
||||
{label: 'RWANDA', value: 'RW'},
|
||||
{label: 'Saint Helena', value: 'SH'},
|
||||
{label: 'Saint Kitts and Nevis', value: 'KN'},
|
||||
{label: 'Saint Lucia', value: 'LC'},
|
||||
{label: 'Saint Pierre and Miquelon', value: 'PM'},
|
||||
{label: 'Saint Vincent and the Grenadines', value: 'VC'},
|
||||
{label: 'Samoa', value: 'WS'},
|
||||
{label: 'San Marino', value: 'SM'},
|
||||
{label: 'Sao Tome and Principe', value: 'ST'},
|
||||
{label: 'Saudi Arabia', value: 'SA'},
|
||||
{label: 'Senegal', value: 'SN'},
|
||||
{label: 'Serbia and Montenegro', value: 'CS'},
|
||||
{label: 'Seychelles', value: 'SC'},
|
||||
{label: 'Sierra Leone', value: 'SL'},
|
||||
{label: 'Singapore', value: 'SG'},
|
||||
{label: 'Slovakia', value: 'SK'},
|
||||
{label: 'Slovenia', value: 'SI'},
|
||||
{label: 'Solomon Islands', value: 'SB'},
|
||||
{label: 'Somalia', value: 'SO'},
|
||||
{label: 'South Africa', value: 'ZA'},
|
||||
{label: 'South Georgia and the South Sandwich Islands', value: 'GS'},
|
||||
{label: 'Spain', value: 'ES'},
|
||||
{label: 'Sri Lanka', value: 'LK'},
|
||||
{label: 'Sudan', value: 'SD'},
|
||||
{label: 'Suriname', value: 'SR'},
|
||||
{label: 'Svalbard and Jan Mayen', value: 'SJ'},
|
||||
{label: 'Swaziland', value: 'SZ'},
|
||||
{label: 'Sweden', value: 'SE'},
|
||||
{label: 'Switzerland', value: 'CH'},
|
||||
{label: 'Syrian Arab Republic', value: 'SY'},
|
||||
{label: 'Taiwan, Province of China', value: 'TW'},
|
||||
{label: 'Tajikistan', value: 'TJ'},
|
||||
{label: 'Tanzania, United Republic of', value: 'TZ'},
|
||||
{label: 'Thailand', value: 'TH'},
|
||||
{label: 'Timor-Leste', value: 'TL'},
|
||||
{label: 'Togo', value: 'TG'},
|
||||
{label: 'Tokelau', value: 'TK'},
|
||||
{label: 'Tonga', value: 'TO'},
|
||||
{label: 'Trinidad and Tobago', value: 'TT'},
|
||||
{label: 'Tunisia', value: 'TN'},
|
||||
{label: 'Turkey', value: 'TR'},
|
||||
{label: 'Turkmenistan', value: 'TM'},
|
||||
{label: 'Turks and Caicos Islands', value: 'TC'},
|
||||
{label: 'Tuvalu', value: 'TV'},
|
||||
{label: 'Uganda', value: 'UG'},
|
||||
{label: 'Ukraine', value: 'UA'},
|
||||
{label: 'United Arab Emirates', value: 'AE'},
|
||||
{label: 'United Kingdom', value: 'GB'},
|
||||
{label: 'United States', value: 'US'},
|
||||
{label: 'United States Minor Outlying Islands', value: 'UM'},
|
||||
{label: 'Uruguay', value: 'UY'},
|
||||
{label: 'Uzbekistan', value: 'UZ'},
|
||||
{label: 'Vanuatu', value: 'VU'},
|
||||
{label: 'Venezuela', value: 'VE'},
|
||||
{label: 'Viet Nam', value: 'VN'},
|
||||
{label: 'Virgin Islands, British', value: 'VG'},
|
||||
{label: 'Virgin Islands, U.S.', value: 'VI'},
|
||||
{label: 'Wallis and Futuna', value: 'WF'},
|
||||
{label: 'Western Sahara', value: 'EH'},
|
||||
{label: 'Yemen', value: 'YE'},
|
||||
{label: 'Zambia', value: 'ZM'},
|
||||
{label: 'Zimbabwe', value: 'ZW'}
|
||||
],
|
||||
billingInformation: {
|
||||
billing_phone_number: '',
|
||||
billing_postal_code: '',
|
||||
billing_vat_number: '',
|
||||
billing_address: '',
|
||||
billing_country: '',
|
||||
billing_state: '',
|
||||
billing_city: '',
|
||||
billing_name: '',
|
||||
}
|
||||
billingInformation: undefined
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -391,14 +141,17 @@
|
||||
.then(response => {
|
||||
this.isLoading = false
|
||||
|
||||
this.billingInformation.billing_phone_number = response.data.billing_phone_number
|
||||
this.billingInformation.billing_postal_code = response.data.billing_postal_code
|
||||
this.billingInformation.billing_vat_number = response.data.billing_vat_number
|
||||
this.billingInformation.billing_address = response.data.billing_address
|
||||
this.billingInformation.billing_country = response.data.billing_country
|
||||
this.billingInformation.billing_state = response.data.billing_state
|
||||
this.billingInformation.billing_city = response.data.billing_city
|
||||
this.billingInformation.billing_name = response.data.billing_name
|
||||
this.billingInformation = {
|
||||
billing_phone_number: response.data.billing_phone_number,
|
||||
billing_postal_code: response.data.billing_postal_code,
|
||||
billing_vat_number: response.data.billing_vat_number,
|
||||
billing_address: response.data.billing_address,
|
||||
billing_country: response.data.billing_country,
|
||||
billing_state: response.data.billing_state,
|
||||
billing_city: response.data.billing_city,
|
||||
billing_name: response.data.billing_name,
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<PageTab :is-loading="isLoading" class="form-fixed-width">
|
||||
|
||||
<!--Personal Information-->
|
||||
<PageTabGroup>
|
||||
<PageTabGroup v-if="app">
|
||||
<div class="form block-form">
|
||||
<FormLabel>
|
||||
{{ $t('admin_settings.others.section_user') }}
|
||||
@@ -131,13 +131,7 @@
|
||||
return {
|
||||
isLoading: true,
|
||||
isFlushingCache: false,
|
||||
app: {
|
||||
contactMail: '',
|
||||
googleAnalytics: '',
|
||||
defaultStorage: '',
|
||||
userRegistration: 1,
|
||||
storageLimitation: 1,
|
||||
},
|
||||
app: undefined,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -166,11 +160,13 @@
|
||||
.then(response => {
|
||||
this.isLoading = false
|
||||
|
||||
this.app.contactMail = response.data.contact_email
|
||||
this.app.googleAnalytics = response.data.google_analytics
|
||||
this.app.defaultStorage = response.data.storage_default
|
||||
this.app.userRegistration = parseInt(response.data.registration)
|
||||
this.app.storageLimitation = parseInt(response.data.storage_limitation)
|
||||
this.app = {
|
||||
contactMail: response.data.contact_email,
|
||||
googleAnalytics: response.data.google_analytics,
|
||||
defaultStorage: response.data.storage_default,
|
||||
userRegistration: parseInt(response.data.registration),
|
||||
storageLimitation: parseInt(response.data.storage_limitation),
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
InfoBox,
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['config']),
|
||||
...mapGetters(['config', 'currencyList']),
|
||||
stripeWebhookEndpoint() {
|
||||
return this.config.host + '/stripe/webhook'
|
||||
},
|
||||
@@ -150,548 +150,6 @@
|
||||
webhookSecret: '',
|
||||
currency: '',
|
||||
},
|
||||
currencyList: [
|
||||
{
|
||||
label: 'USD - United States Dollar',
|
||||
value: 'USD',
|
||||
},
|
||||
{
|
||||
label: 'EUR - Euro',
|
||||
value: 'EUR',
|
||||
},
|
||||
{
|
||||
label: 'GBP - British Pound',
|
||||
value: 'GBP',
|
||||
},
|
||||
{
|
||||
label: 'AFN - Afghan Afghani',
|
||||
value: 'AFN',
|
||||
},
|
||||
{
|
||||
label: 'ALL - Albanian Lek',
|
||||
value: 'ALL',
|
||||
},
|
||||
{
|
||||
label: 'DZD - Algerian Dinar',
|
||||
value: 'DZD',
|
||||
},
|
||||
{
|
||||
label: 'AOA - Angolan Kwanza',
|
||||
value: 'AOA',
|
||||
},
|
||||
{
|
||||
label: 'ARS - Argentine Peso',
|
||||
value: 'ARS',
|
||||
},
|
||||
{
|
||||
label: 'AMD - Armenian Dram',
|
||||
value: 'AMD',
|
||||
},
|
||||
{
|
||||
label: 'AWG - Aruban Florin',
|
||||
value: 'AWG',
|
||||
},
|
||||
{
|
||||
label: 'AUD - Australian Dollar',
|
||||
value: 'AUD',
|
||||
},
|
||||
{
|
||||
label: 'AZN - Azerbaijani Manat',
|
||||
value: 'AZN',
|
||||
},
|
||||
{
|
||||
label: 'BDT - Bangladeshi Taka',
|
||||
value: 'BDT',
|
||||
},
|
||||
{
|
||||
label: 'BBD - Barbadian Dollar',
|
||||
value: 'BBD',
|
||||
},
|
||||
{
|
||||
label: 'BZD - Belize Dollar',
|
||||
value: 'BZD',
|
||||
},
|
||||
{
|
||||
label: 'BMD - Bermudian Dollar',
|
||||
value: 'BMD',
|
||||
},
|
||||
{
|
||||
label: 'BOB - Bolivian Boliviano',
|
||||
value: 'BOB',
|
||||
},
|
||||
{
|
||||
label: 'BAM - Bosnia & Herzegovina Convertible Mark',
|
||||
value: 'BAM',
|
||||
},
|
||||
{
|
||||
label: 'BWP - Botswana Pula',
|
||||
value: 'BWP',
|
||||
},
|
||||
{
|
||||
label: 'BRL - Brazilian Real',
|
||||
value: 'BRL',
|
||||
},
|
||||
{
|
||||
label: 'BND - Brunei Dollar',
|
||||
value: 'BND',
|
||||
},
|
||||
{
|
||||
label: 'BGN - Bulgarian Lev',
|
||||
value: 'BGN',
|
||||
},
|
||||
{
|
||||
label: 'BIF - Burundian Franc',
|
||||
value: 'BIF',
|
||||
},
|
||||
{
|
||||
label: 'KHR - Cambodian Riel',
|
||||
value: 'KHR',
|
||||
},
|
||||
{
|
||||
label: 'CAD - Canadian Dollar',
|
||||
value: 'CAD',
|
||||
},
|
||||
{
|
||||
label: 'CVE - Cape Verdean Escudo',
|
||||
value: 'CVE',
|
||||
},
|
||||
{
|
||||
label: 'KYD - Cayman Islands Dollar',
|
||||
value: 'KYD',
|
||||
},
|
||||
{
|
||||
label: 'XAF - Central African Cfa Franc',
|
||||
value: 'XAF',
|
||||
},
|
||||
{
|
||||
label: 'XPF - Cfp Franc',
|
||||
value: 'XPF',
|
||||
},
|
||||
{
|
||||
label: 'CLP - Chilean Peso',
|
||||
value: 'CLP',
|
||||
},
|
||||
{
|
||||
label: 'CNY - Chinese Renminbi Yuan',
|
||||
value: 'CNY',
|
||||
},
|
||||
{
|
||||
label: 'COP - Colombian Peso',
|
||||
value: 'COP',
|
||||
},
|
||||
{
|
||||
label: 'KMF - Comorian Franc',
|
||||
value: 'KMF',
|
||||
},
|
||||
{
|
||||
label: 'CDF - Congolese Franc',
|
||||
value: 'CDF',
|
||||
},
|
||||
{
|
||||
label: 'CRC - Costa Rican Colón',
|
||||
value: 'CRC',
|
||||
},
|
||||
{
|
||||
label: 'HRK - Croatian Kuna',
|
||||
value: 'HRK',
|
||||
},
|
||||
{
|
||||
label: 'CZK - Czech Koruna',
|
||||
value: 'CZK',
|
||||
},
|
||||
{
|
||||
label: 'DKK - Danish Krone',
|
||||
value: 'DKK',
|
||||
},
|
||||
{
|
||||
label: 'DJF - Djiboutian Franc',
|
||||
value: 'DJF',
|
||||
},
|
||||
{
|
||||
label: 'DOP - Dominican Peso',
|
||||
value: 'DOP',
|
||||
},
|
||||
{
|
||||
label: 'XCD - East Caribbean Dollar',
|
||||
value: 'XCD',
|
||||
},
|
||||
{
|
||||
label: 'EGP - Egyptian Pound',
|
||||
value: 'EGP',
|
||||
},
|
||||
{
|
||||
label: 'ETB - Ethiopian Birr',
|
||||
value: 'ETB',
|
||||
},
|
||||
{
|
||||
label: 'FKP - Falkland Islands Pound',
|
||||
value: 'FKP',
|
||||
},
|
||||
{
|
||||
label: 'FJD - Fijian Dollar',
|
||||
value: 'FJD',
|
||||
},
|
||||
{
|
||||
label: 'GMD - Gambian Dalasi',
|
||||
value: 'GMD',
|
||||
},
|
||||
{
|
||||
label: 'GEL - Georgian Lari',
|
||||
value: 'GEL',
|
||||
},
|
||||
{
|
||||
label: 'GIP - Gibraltar Pound',
|
||||
value: 'GIP',
|
||||
},
|
||||
{
|
||||
label: 'GTQ - Guatemalan Quetzal',
|
||||
value: 'GTQ',
|
||||
},
|
||||
{
|
||||
label: 'GNF - Guinean Franc',
|
||||
value: 'GNF',
|
||||
},
|
||||
{
|
||||
label: 'GYD - Guyanese Dollar',
|
||||
value: 'GYD',
|
||||
},
|
||||
{
|
||||
label: 'HTG - Haitian Gourde',
|
||||
value: 'HTG',
|
||||
},
|
||||
{
|
||||
label: 'HNL - Honduran Lempira',
|
||||
value: 'HNL',
|
||||
},
|
||||
{
|
||||
label: 'HKD - Hong Kong Dollar',
|
||||
value: 'HKD',
|
||||
},
|
||||
{
|
||||
label: 'HUF - Hungarian Forint',
|
||||
value: 'HUF',
|
||||
},
|
||||
{
|
||||
label: 'ISK - Icelandic Króna',
|
||||
value: 'ISK',
|
||||
},
|
||||
{
|
||||
label: 'INR - Indian Rupee',
|
||||
value: 'INR',
|
||||
},
|
||||
{
|
||||
label: 'IDR - Indonesian Rupiah',
|
||||
value: 'IDR',
|
||||
},
|
||||
{
|
||||
label: 'ILS - Israeli New Sheqel',
|
||||
value: 'ILS',
|
||||
},
|
||||
{
|
||||
label: 'JMD - Jamaican Dollar',
|
||||
value: 'JMD',
|
||||
},
|
||||
{
|
||||
label: 'JPY - Japanese Yen',
|
||||
value: 'JPY',
|
||||
},
|
||||
{
|
||||
label: 'KZT - Kazakhstani Tenge',
|
||||
value: 'KZT',
|
||||
},
|
||||
{
|
||||
label: 'KES - Kenyan Shilling',
|
||||
value: 'KES',
|
||||
},
|
||||
{
|
||||
label: 'KGS - Kyrgyzstani Som',
|
||||
value: 'KGS',
|
||||
},
|
||||
{
|
||||
label: 'LAK - Lao Kip',
|
||||
value: 'LAK',
|
||||
},
|
||||
{
|
||||
label: 'LBP - Lebanese Pound',
|
||||
value: 'LBP',
|
||||
},
|
||||
{
|
||||
label: 'LSL - Lesotho Loti',
|
||||
value: 'LSL',
|
||||
},
|
||||
{
|
||||
label: 'LRD - Liberian Dollar',
|
||||
value: 'LRD',
|
||||
},
|
||||
{
|
||||
label: 'MOP - Macanese Pataca',
|
||||
value: 'MOP',
|
||||
},
|
||||
{
|
||||
label: 'MKD - Macedonian Denar',
|
||||
value: 'MKD',
|
||||
},
|
||||
{
|
||||
label: 'MGA - Malagasy Ariary',
|
||||
value: 'MGA',
|
||||
},
|
||||
{
|
||||
label: 'MWK - Malawian Kwacha',
|
||||
value: 'MWK',
|
||||
},
|
||||
{
|
||||
label: 'MYR - Malaysian Ringgit',
|
||||
value: 'MYR',
|
||||
},
|
||||
{
|
||||
label: 'MVR - Maldivian Rufiyaa',
|
||||
value: 'MVR',
|
||||
},
|
||||
{
|
||||
label: 'MRO - Mauritanian Ouguiya',
|
||||
value: 'MRO',
|
||||
},
|
||||
{
|
||||
label: 'MUR - Mauritian Rupee',
|
||||
value: 'MUR',
|
||||
},
|
||||
{
|
||||
label: 'MXN - Mexican Peso',
|
||||
value: 'MXN',
|
||||
},
|
||||
{
|
||||
label: 'MDL - Moldovan Leu',
|
||||
value: 'MDL',
|
||||
},
|
||||
{
|
||||
label: 'MNT - Mongolian Tögrög',
|
||||
value: 'MNT',
|
||||
},
|
||||
{
|
||||
label: 'MAD - Moroccan Dirham',
|
||||
value: 'MAD',
|
||||
},
|
||||
{
|
||||
label: 'MZN - Mozambican Metical',
|
||||
value: 'MZN',
|
||||
},
|
||||
{
|
||||
label: 'MMK - Myanmar Kyat',
|
||||
value: 'MMK',
|
||||
},
|
||||
{
|
||||
label: 'NAD - Namibian Dollar',
|
||||
value: 'NAD',
|
||||
},
|
||||
{
|
||||
label: 'NPR - Nepalese Rupee',
|
||||
value: 'NPR',
|
||||
},
|
||||
{
|
||||
label: 'ANG - Netherlands Antillean Gulden',
|
||||
value: 'ANG',
|
||||
},
|
||||
{
|
||||
label: 'TWD - New Taiwan Dollar',
|
||||
value: 'TWD',
|
||||
},
|
||||
{
|
||||
label: 'NZD - New Zealand Dollar',
|
||||
value: 'NZD',
|
||||
},
|
||||
{
|
||||
label: 'NIO - Nicaraguan Córdoba',
|
||||
value: 'NIO',
|
||||
},
|
||||
{
|
||||
label: 'NGN - Nigerian Naira',
|
||||
value: 'NGN',
|
||||
},
|
||||
{
|
||||
label: 'NOK - Norwegian Krone',
|
||||
value: 'NOK',
|
||||
},
|
||||
{
|
||||
label: 'PKR - Pakistani Rupee',
|
||||
value: 'PKR',
|
||||
},
|
||||
{
|
||||
label: 'PAB - Panamanian Balboa',
|
||||
value: 'PAB',
|
||||
},
|
||||
{
|
||||
label: 'PGK - Papua New Guinean Kina',
|
||||
value: 'PGK',
|
||||
},
|
||||
{
|
||||
label: 'PYG - Paraguayan Guaraní',
|
||||
value: 'PYG',
|
||||
},
|
||||
{
|
||||
label: 'PEN - Peruvian Nuevo Sol',
|
||||
value: 'PEN',
|
||||
},
|
||||
{
|
||||
label: 'PHP - Philippine Peso',
|
||||
value: 'PHP',
|
||||
},
|
||||
{
|
||||
label: 'PLN - Polish Złoty',
|
||||
value: 'PLN',
|
||||
},
|
||||
{
|
||||
label: 'QAR - Qatari Riyal',
|
||||
value: 'QAR',
|
||||
},
|
||||
{
|
||||
label: 'RON - Romanian Leu',
|
||||
value: 'RON',
|
||||
},
|
||||
{
|
||||
label: 'RUB - Russian Ruble',
|
||||
value: 'RUB',
|
||||
},
|
||||
{
|
||||
label: 'RWF - Rwandan Franc',
|
||||
value: 'RWF',
|
||||
},
|
||||
{
|
||||
label: 'STD - São Tomé and Príncipe Dobra',
|
||||
value: 'STD',
|
||||
},
|
||||
{
|
||||
label: 'SHP - Saint Helenian Pound',
|
||||
value: 'SHP',
|
||||
},
|
||||
{
|
||||
label: 'SVC - Salvadoran Colón',
|
||||
value: 'SVC',
|
||||
},
|
||||
{
|
||||
label: 'WST - Samoan Tala',
|
||||
value: 'WST',
|
||||
},
|
||||
{
|
||||
label: 'SAR - Saudi Riyal',
|
||||
value: 'SAR',
|
||||
},
|
||||
{
|
||||
label: 'RSD - Serbian Dinar',
|
||||
value: 'RSD',
|
||||
},
|
||||
{
|
||||
label: 'SCR - Seychellois Rupee',
|
||||
value: 'SCR',
|
||||
},
|
||||
{
|
||||
label: 'SLL - Sierra Leonean Leone',
|
||||
value: 'SLL',
|
||||
},
|
||||
{
|
||||
label: 'SGD - Singapore Dollar',
|
||||
value: 'SGD',
|
||||
},
|
||||
{
|
||||
label: 'SBD - Solomon Islands Dollar',
|
||||
value: 'SBD',
|
||||
},
|
||||
{
|
||||
label: 'SOS - Somali Shilling',
|
||||
value: 'SOS',
|
||||
},
|
||||
{
|
||||
label: 'ZAR - South African Rand',
|
||||
value: 'ZAR',
|
||||
},
|
||||
{
|
||||
label: 'KRW - South Korean Won',
|
||||
value: 'KRW',
|
||||
},
|
||||
{
|
||||
label: 'LKR - Sri Lankan Rupee',
|
||||
value: 'LKR',
|
||||
},
|
||||
{
|
||||
label: 'SRD - Surinamese Dollar',
|
||||
value: 'SRD',
|
||||
},
|
||||
{
|
||||
label: 'SZL - Swazi Lilangeni',
|
||||
value: 'SZL',
|
||||
},
|
||||
{
|
||||
label: 'SEK - Swedish Krona',
|
||||
value: 'SEK',
|
||||
},
|
||||
{
|
||||
label: 'CHF - Swiss Franc',
|
||||
value: 'CHF',
|
||||
},
|
||||
{
|
||||
label: 'TJS - Tajikistani Somoni',
|
||||
value: 'TJS',
|
||||
},
|
||||
{
|
||||
label: 'TZS - Tanzanian Shilling',
|
||||
value: 'TZS',
|
||||
},
|
||||
{
|
||||
label: 'THB - Thai Baht',
|
||||
value: 'THB',
|
||||
},
|
||||
{
|
||||
label: 'TOP - Tongan Paʻanga',
|
||||
value: 'TOP',
|
||||
},
|
||||
{
|
||||
label: 'TTD - Trinidad and Tobago Dollar',
|
||||
value: 'TTD',
|
||||
},
|
||||
{
|
||||
label: 'TRY - Turkish Lira',
|
||||
value: 'TRY',
|
||||
},
|
||||
{
|
||||
label: 'UGX - Ugandan Shilling',
|
||||
value: 'UGX',
|
||||
},
|
||||
{
|
||||
label: 'UAH - Ukrainian Hryvnia',
|
||||
value: 'UAH',
|
||||
},
|
||||
{
|
||||
label: 'AED - United Arab Emirates Dirham',
|
||||
value: 'AED',
|
||||
},
|
||||
{
|
||||
label: 'UYU - Uruguayan Peso',
|
||||
value: 'UYU',
|
||||
},
|
||||
{
|
||||
label: 'UZS - Uzbekistani Som',
|
||||
value: 'UZS',
|
||||
},
|
||||
{
|
||||
label: 'VUV - Vanuatu Vatu',
|
||||
value: 'VUV',
|
||||
},
|
||||
{
|
||||
label: 'VND - Vietnamese Đồng',
|
||||
value: 'VND',
|
||||
},
|
||||
{
|
||||
label: 'XOF - West African Cfa Franc',
|
||||
value: 'XOF',
|
||||
},
|
||||
{
|
||||
label: 'YER - Yemeni Rial',
|
||||
value: 'YER',
|
||||
},
|
||||
{
|
||||
label: 'ZMW - Zambian Kwacha',
|
||||
value: 'ZMW',
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -710,9 +168,6 @@
|
||||
.post('/api/settings/stripe', this.stripeCredentials)
|
||||
.then(() => {
|
||||
|
||||
// End loading
|
||||
this.isLoading = false
|
||||
|
||||
// Store Stripe Public
|
||||
this.$store.commit('SET_STRIPE_PUBLIC_KEY', this.stripeCredentials.key)
|
||||
|
||||
@@ -728,6 +183,8 @@
|
||||
this.isError = true
|
||||
this.errorMessage = error.response.data.message
|
||||
}
|
||||
})
|
||||
.finally(() => {
|
||||
|
||||
// End loading
|
||||
this.isLoading = false
|
||||
|
||||
Reference in New Issue
Block a user