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
@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('frontdesk_notification_usage', function (Blueprint $table) {
$table->id();
$table->foreignId('organization_id')->constrained('frontdesk_organizations')->cascadeOnDelete();
$table->string('period', 7);
$table->unsignedInteger('email_count')->default(0);
$table->unsignedInteger('sms_count')->default(0);
$table->unsignedInteger('email_charged_minor')->default(0);
$table->unsignedInteger('sms_charged_minor')->default(0);
$table->timestamps();
$table->unique(['organization_id', 'period']);
});
}
public function down(): void
{
Schema::dropIfExists('frontdesk_notification_usage');
}
};