%PDF- %PDF-
Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/pages/account/ |
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/pages/account/financial.vue |
<template> <div class="page-wrapper"> <PageHeader classObject='bg-pink'> <img class="relative z-20 mb-8" src="~assets/images/logo-white-small.svg" alt="Takeaseat" /> <span class="font-bold uppercase text-xl">Account</span> <h1 class="relative z-20 text-5xl lg:text-7xl font-bold m-0">Financial</h1> <AccountProgressBar slug="financial" /> <div class="page-header-bottom"> <AccountNav /> </div> </PageHeader> <AccountSubscription v-if="is_therapist" /> <AccountPayouts v-if="is_therapist" /> <SavedCards /> </div> </template> <script> export default { middleware: 'auth', head () { return { titleTemplate: 'Financial | %s', } }, computed: { is_therapist() { return this.$auth.user.data.role.name == 'therapist'; }, setup_intent() { return this.$store.state.account.billing.setupIntent }, payment_methods() { return this.$store.state.account.billing.paymentMethods }, default_payment_method() { return this.$store.state.account.billing.defaultPaymentMethod } } } </script>