@if ($sectionData && isset($sectionData['section_4']) && $sectionData['section_4']['section_4'] == 1) @php $mediaGooglePay = Spatie\MediaLibrary\MediaCollections\Models\Media::where('collection_name', 'google_play')->first(); $mediaAppStore = Spatie\MediaLibrary\MediaCollections\Models\Media::where('collection_name','app_store')->first(); $mediaMainImage = Spatie\MediaLibrary\MediaCollections\Models\Media::where('collection_name','main_image')->first(); $playstore_url = App\Models\Setting::where('name','patient_app_play_store')->first(); $appstore_url = App\Models\Setting::where('name','patient_app_app_store')->first(); $playStoreUrl = $playstore_url ? $playstore_url->val : 'https://play.google.com/'; $appStoreUrl = $appstore_url && $appstore_url->val != '-' ? $appstore_url->val : 'https://apps.apple.com/'; @endphp
@endif