Add freemium plans, wallet-billed host notifications, and Pro upgrades.
Deploy Ladill Frontdesk / deploy (push) Successful in 44s

Host alerts use email/phone on the host record without requiring a Ladill
account link; SMS and over-quota emails debit the org wallet at platform rates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-28 02:00:26 +00:00
co-authored by Cursor
parent 5a42759886
commit 33b6070207
23 changed files with 912 additions and 20 deletions
@@ -17,6 +17,15 @@ class IntegrationController extends Controller
{
$this->authorizeAbility($request, 'settings.view');
$organization = $this->organization($request);
$plans = app(\App\Services\Frontdesk\PlanService::class);
if (! $plans->hasFeature($organization, 'integrations')) {
return view('frontdesk.integrations.upgrade', [
'organization' => $organization,
'proPriceMinor' => $plans->proPriceMinor(),
]);
}
$canManage = app(\App\Services\Frontdesk\FrontdeskPermissions::class)
->isAdmin($this->member($request));
@@ -39,6 +48,10 @@ class IntegrationController extends Controller
$this->authorizeAbility($request, 'settings.manage');
$organization = $this->organization($request);
if (! app(\App\Services\Frontdesk\PlanService::class)->hasFeature($organization, 'integrations')) {
return back()->with('error', 'Webhooks and calendar feeds require Frontdesk Pro.');
}
$validated = $request->validate([
'webhook_url' => ['nullable', 'url', 'max:500'],
'webhook_secret' => ['nullable', 'string', 'max:128'],