@php $bookingRoutePrefix = request()->routeIs('crm.booking.*') ? 'crm.booking.' : 'booking.'; $stripePublishableKey = config('services.stripe.key'); $defaultPaymentAmount = number_format($booking->balance_due > 0 ? $booking->balance_due : $booking->total_amount, 2, '.', ''); @endphp @if(filled($stripePublishableKey)) @endif