feat: enhance pricing page with feature limits and trial management

- Add comprehensive feature limits enforcement middleware
   - Implement subscription dashboard with usage analytics
   - Create reusable plan card component with feature badges
   - Add trial configuration support with limit overrides
   - Fix payment controller null safety issues
   - Improve pricing page UI with proper feature display
This commit is contained in:
idevakk
2025-11-21 10:55:57 -08:00
parent b497f7796d
commit 72b8109a3a
9 changed files with 1533 additions and 142 deletions

View File

@@ -19,6 +19,11 @@ class PlanUsage extends Model
'period_start',
'period_end',
'metadata',
'subscription_id',
'period_type',
'created_at',
'usage_value',
'updated_at',
];
protected $casts = [

View File

@@ -17,6 +17,8 @@ class TrialExtension extends Model
'granted_at',
'granted_by_admin_id',
'metadata',
'original_ends_at',
'status',
];
protected $casts = [