2023-07-14 09:27:08 +00:00
|
|
|
<x-layout-subscription>
|
|
|
|
@if ($settings->is_resale_license_active)
|
2023-07-27 14:22:13 +00:00
|
|
|
<div class="flex justify-center mx-10">
|
2023-08-24 14:14:09 +00:00
|
|
|
<div x-data>
|
2023-07-27 14:22:13 +00:00
|
|
|
<div class="flex gap-2">
|
2023-08-14 12:00:10 +00:00
|
|
|
<h2>Subscription</h2>
|
2023-08-11 18:19:42 +00:00
|
|
|
<livewire:switch-team />
|
2023-07-27 14:22:13 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex items-center pb-8">
|
|
|
|
<span>Currently active team: <span
|
|
|
|
class="text-warning">{{ session('currentTeam.name') }}</span></span>
|
|
|
|
</div>
|
2023-08-24 14:14:09 +00:00
|
|
|
@if(request()->query->get('cancelled'))
|
|
|
|
<div class="text-xl text-center text-red-500">Something went wrong. Please try again.</div>
|
|
|
|
@endif
|
|
|
|
@if (config('subscription.provider') !== null)
|
|
|
|
<livewire:subscription.pricing-plans />
|
|
|
|
@endif
|
2023-07-27 14:22:13 +00:00
|
|
|
</div>
|
2023-07-14 09:27:08 +00:00
|
|
|
</div>
|
2023-07-14 10:09:56 +00:00
|
|
|
@else
|
2023-07-27 12:45:34 +00:00
|
|
|
<div class="px-10">Resale license is not active. Please contact your instance admin.</div>
|
2023-07-14 09:27:08 +00:00
|
|
|
@endif
|
|
|
|
</x-layout-subscription>
|