coolify/resources/views/team/show.blade.php

43 lines
2.0 KiB
PHP
Raw Normal View History

2023-06-02 12:34:45 +02:00
<x-layout>
2023-08-11 17:31:53 +02:00
<x-team.navbar :team="auth()
->user()
->currentTeam()" />
<livewire:team.form />
@if (is_cloud())
2023-07-13 22:03:27 +02:00
<div class="pb-8">
2023-08-14 15:22:29 +02:00
<h2>Subscription</h2>
2023-07-13 22:03:27 +02:00
@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-08-14 15:22:29 +02:00
<x-forms.button class="bg-coollabs-gradient"><a class="text-white hover:no-underline"
href="{{ route('subscription') }}">Resume Subscription</a>
2023-07-13 22:03:27 +02:00
</x-forms.button>
2023-08-14 15:22:29 +02:00
<div class="py-4">If you would like to change the subscription to a lower/higher plan, <a
class="text-white underline" href="https://docs.coollabs.io/contact" target="_blank">please
contact
us.</a></div>
2023-07-13 22:03:27 +02:00
@else
<div class="pb-4">Renews at: {{ getRenewDate() }}</div>
2023-06-13 10:51:58 +02:00
@endif
2023-08-14 15:22:29 +02:00
2023-08-14 14:00:10 +02:00
<x-forms.button><a class="text-white hover:no-underline" href="{{ getPaymentLink() }}">Update Payment
Details</a>
2023-07-13 22:03:27 +02:00
</x-forms.button>
@else
2023-08-14 14:00:10 +02:00
<x-forms.button class="mt-4"><a class="text-white hover:no-underline"
href="{{ route('subscription') }}">Subscribe Now</a>
2023-07-13 22:03:27 +02:00
</x-forms.button>
2023-06-12 20:54:29 +02:00
@endif
2023-08-14 14:00:10 +02:00
<x-forms.button><a class="text-white hover:no-underline"
href="https://app.lemonsqueezy.com/my-orders">Manage My
2023-07-13 22:03:27 +02:00
Subscription</a>
</x-forms.button>
2023-06-12 20:54:29 +02:00
</div>
2023-06-09 15:55:21 +02:00
@endif
2023-08-11 17:31:53 +02:00
<livewire:team.delete />
2023-06-02 12:34:45 +02:00
</x-layout>