@extends('layouts.subscriptions') @push('style') @endpush @section('content') @php $periodStart = $subscription->starts_at ?? now(); $periodEnd = $subscription->ends_at ?? $periodStart->copy()->addDays(30); $maxSlots = max((int) $subscription->available_slots, 1); $initialSlots = min(max((int) old('slots_taken', 1), 1), $maxSlots); $monthlyPrice = (float) $subscription->price_per_slot * $initialSlots; $platformFee = 0.64 * $initialSlots; $totalPayable = $monthlyPrice + $platformFee; $strikedPrice = (float) $subscription->total_price; $availableBalance = (float) (auth()->user()?->balance ?? 0); $hasSufficientBalance = $availableBalance >= $totalPayable; @endphp
You will not be able to join and be charged for a subscription until the owner agrees.
If the user accepts your request, cancellation right may not apply as per policy.