@if ($activeSection === 'categories') Categories @elseif ($activeSection === 'promo-codes') Promo Codes @else Subscription Plans @endif
Create marketplace categories, subscription plans, and plan-specific promo codes.
- @foreach ($errors->all() as $error)
- {{ $error }} @endforeach
Marketplace Setup
Categories
| Category | Status | Plans | Action |
|---|---|---|---|
{{ $category->name }} |
{{ ucfirst($category->status) }} | {{ $category->subscription_plans_count }} | |
| No categories created yet. | |||
Provider Billing
Subscription Plans
| Plan | Category | Duration | Price | GST | Status | Action |
|---|---|---|---|---|---|---|
{{ $plan->title }} |
{{ $plan->category->name }} |
{{ $plan->duration_months }} {{ Str::plural('month', $plan->duration_months) }} | ₹{{ number_format((float) $plan->price, 2) }} | {{ number_format((float) $plan->gst_percentage, 2) }}% {{ $plan->gst_included ? 'Included' : 'Extra' }} | {{ ucfirst($plan->status) }} | |
| {{ $selectedCategory ? 'No subscription plans created for this category yet.' : 'No subscription plans created yet.' }} | ||||||
Marketing Offers
Promo Codes
| Code | Plan | Discount | Usage | Validity | Status | Action |
|---|---|---|---|---|---|---|
{{ $promoCode->code }} |
{{ $promoCode->plan?->title ?? 'Plan missing' }} |
@if ($promoCode->discount_type === 'percentage') {{ number_format((float) $promoCode->discount_value, 2) }}% @else ₹{{ number_format((float) $promoCode->discount_value, 2) }} @endif | {{ $promoCode->used_count }} / {{ $promoCode->max_usage ?? 'Unlimited' }} |
{{ $promoCode->valid_from?->format('d M Y, h:i A') ?? 'Immediately' }} |
{{ ucfirst($promoCode->status) }} |
|
| No promo codes created yet. | ||||||