osb/spark/resources/views/settings/subscription.blade.php

32 lines
1.1 KiB
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<spark-subscription :user="user" :team="team" :billable-type="billableType" inline-template>
<div>
<div v-if="plans.length > 0">
<!-- Trial Expiration Notice -->
@include('spark::settings.subscription.trial-expiration-notice')
<!-- New Subscription -->
<div v-if="needsSubscription">
@include('spark::settings.subscription.subscribe')
</div>
<!-- Update Subscription -->
<div v-if="subscriptionIsActive">
@include('spark::settings.subscription.update-subscription')
</div>
<!-- Resume Subscription -->
<div v-if="subscriptionIsOnGracePeriod">
@include('spark::settings.subscription.resume-subscription')
</div>
<!-- Cancel Subscription -->
<div v-if="subscriptionIsActive">
@include('spark::settings.subscription.cancel-subscription')
</div>
</div>
<!-- Plan Features Modal -->
@include('spark::modals.plan-details')
</div>
</spark-subscription>