@extends('layouts.app') @section('title', 'Manage Billing Plans - Admin Panel') @section('page_title', 'Billing Plans') @section('styles') @endsection @section('content')
@if (session('success')) @endif @if (session('error')) @endif @if ($errors->any()) @endif
Billing Plans Management
@csrf
Subscriptions
@forelse($subscriptions as $plan) @empty @endforelse
Sort Order Product ID (RevenueCat) Plan Name Credits Badge Type Default Selected Status Action
{{ $plan->sort_order }} {{ $plan->product_id }} {{ $plan->name }} {{ $plan->credits }} @if($plan->offer_type === 'discount') {{ $plan->discount_percentage }}% OFF @elseif($plan->offer_type === 'promo_badge' && $plan->badge) {{ $plan->badge }} @else - @endif {{ ucfirst($plan->type) }}
is_default ? 'checked' : '' }}>
is_active ? 'checked' : '' }}>
Edit
@csrf @method('DELETE')
No subscriptions found.
Credit Packs
@forelse($creditPacks as $plan) @empty @endforelse
Sort Order Product ID (RevenueCat) Plan Name Credits Badge Type Default Selected Status Action
{{ $plan->sort_order }} {{ $plan->product_id }} {{ $plan->name }} {{ $plan->credits }} @if($plan->offer_type === 'discount') {{ $plan->discount_percentage }}% OFF @elseif($plan->offer_type === 'promo_badge' && $plan->badge) {{ $plan->badge }} @else - @endif Credit Pack
is_default ? 'checked' : '' }}>
is_active ? 'checked' : '' }}>
Edit
@csrf @method('DELETE')
No credit packs found.
@endsection @section('scripts') @endsection