23 lines
448 B
PHP
23 lines
448 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Subscription;
|
|
|
|
use Livewire\Component;
|
|
|
|
class Show extends Component
|
|
{
|
|
public function mount()
|
|
{
|
|
if (!isCloud()) {
|
|
return redirect()->route('dashboard');
|
|
}
|
|
if (!data_get(currentTeam(), 'subscription')) {
|
|
return redirect()->route('subscription.index');
|
|
}
|
|
}
|
|
public function render()
|
|
{
|
|
return view('livewire.subscription.show');
|
|
}
|
|
}
|