2023-06-02 10:34:45 +00:00
|
|
|
<x-layout>
|
2023-08-11 15:31:53 +00:00
|
|
|
<x-team.navbar :team="auth()
|
|
|
|
->user()
|
|
|
|
->currentTeam()" />
|
|
|
|
<livewire:team.form />
|
2023-08-09 13:57:53 +00:00
|
|
|
@if (is_cloud())
|
2023-07-13 20:03:27 +00:00
|
|
|
<div class="pb-8">
|
|
|
|
<h3>Subscription</h3>
|
|
|
|
@if (data_get(auth()->user()->currentTeam(),
|
|
|
|
'subscription'))
|
|
|
|
<div>Status: {{ auth()->user()->currentTeam()->subscription->lemon_status }}</div>
|
|
|
|
<div>Type: {{ auth()->user()->currentTeam()->subscription->lemon_variant_name }}</div>
|
|
|
|
@if (auth()->user()->currentTeam()->subscription->lemon_status === 'cancelled')
|
|
|
|
<div class="pb-4">Subscriptions ends at: {{ getRenewDate() }}</div>
|
2023-07-27 15:09:01 +00:00
|
|
|
<x-forms.button><a class="text-white" href="{{ route('subscription') }}">Subscribe
|
2023-07-13 20:03:27 +00:00
|
|
|
Again</a>
|
|
|
|
</x-forms.button>
|
|
|
|
@else
|
|
|
|
<div class="pb-4">Renews at: {{ getRenewDate() }}</div>
|
2023-06-13 08:51:58 +00:00
|
|
|
@endif
|
2023-07-13 20:03:27 +00:00
|
|
|
<x-forms.button><a class="text-white" href="{{ getPaymentLink() }}">Update Payment Details</a>
|
|
|
|
</x-forms.button>
|
|
|
|
@else
|
2023-07-27 15:09:01 +00:00
|
|
|
<x-forms.button class="mt-4"><a class="text-white" href="{{ route('subscription') }}">Subscribe Now</a>
|
2023-07-13 20:03:27 +00:00
|
|
|
</x-forms.button>
|
2023-06-12 18:54:29 +00:00
|
|
|
@endif
|
2023-07-13 20:03:27 +00:00
|
|
|
<x-forms.button><a class="text-white" href="https://app.lemonsqueezy.com/my-orders">Manage My
|
|
|
|
Subscription</a>
|
|
|
|
</x-forms.button>
|
2023-06-12 18:54:29 +00:00
|
|
|
</div>
|
2023-06-09 13:55:21 +00:00
|
|
|
@endif
|
2023-08-11 15:31:53 +00:00
|
|
|
<livewire:team.delete />
|
2023-06-02 10:34:45 +00:00
|
|
|
</x-layout>
|