(payment) change to checkout payment in user page

This commit is contained in:
Julien Calixte
2020-02-23 12:33:28 +01:00
parent def7452a60
commit d72677df6e
9 changed files with 74 additions and 143 deletions

View File

@@ -20,9 +20,9 @@
@click="purge"
v-t="'user.purge'"
></button>
<confirm-button class="is-danger" @confirm="remove">{{
$t('user.delete')
}}</confirm-button>
<confirm-button class="is-danger" @confirm="remove">
{{ $t('user.delete') }}
</confirm-button>
</div>
</div>
</div>
@@ -32,6 +32,8 @@
<h3 class="subtitle is-3">Comptes cloturés</h3>
<account-list :archived="true" />
</div>
<pricing-table />
<payment-checkout :email="user.email" />
</div>
<div v-else>
<div class="tabs is-centered is-fullwidth">
@@ -243,7 +245,8 @@ const enableAnonymous: boolean = false
LangChanger,
'account-list': () => import('@/components/AccountList.vue'),
'confirm-button': () => import('@/components/ConfirmButton.vue'),
'pricing-table': () => import('@/components/PricingTable.vue')
'pricing-table': () => import('@/components/PricingTable.vue'),
'payment-checkout': () => import('@/components/Payment.vue')
}
})
export default class User extends Vue {