@php use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; $claimPrice = DB::connection('mysql5')->table('doctor_prices_pre')->first(); $realPriceInr = $claimPrice->real_price_inr_doc_pre ?? null; $discountedInr = $claimPrice->discounted_inr_doc_pre ?? null; $realPriceUsd = $claimPrice->real_price_usd_doc_pre ?? null; $discountedUsd = $claimPrice->discounted_usd_doc_pre ?? null; Log::info("💰 Claim Price Fetched - INR: $realPriceInr, Discount INR: $discountedInr, USD: $realPriceUsd, Discount USD: $discountedUsd"); @endphp

Submit Your Story

@if (session('success_for_story')) @endif @if (session('error_for_story')) @endif @if ($errors->any())
@endif @auth @if(auth()->user()->payment_premium == 1)
@csrf
@else

Become a Premium Doctor

Join MyHospitalNow and connect with patients actively searching for trusted healthcare professionals.

Showcase your expertise, receive high-quality patient inquiries, and provide personalized consultations. Enhance your visibility, grow your practice, and streamline patient interactions effortlessly.

@php $isIndia = auth()->user()->country_name == 'India'; $real = $isIndia ? $realPriceInr : $realPriceUsd; $discounted = $isIndia ? $discountedInr : $discountedUsd; $currencySymbol = $isIndia ? '₹' : '$'; $currencyLabel = $isIndia ? 'INR' : 'USD'; $hasDiscount = $discounted && $discounted < $real; $discountPercentage = $hasDiscount ? round((($real - $discounted) / $real) * 100) : 0; @endphp
@if ($hasDiscount)
SAVE {{ $discountPercentage }}%
{{ $currencySymbol }}{{ number_format($real, 2) }}
{{ $currencySymbol }}{{ number_format($discounted, 2) }} {{ $currencyLabel }} / year
@else
{{ $currencySymbol }}{{ number_format($real, 2) }} {{ $currencyLabel }} / year
@endif
@endif @endauth