@extends('front.default.layout') @section('meta-keywords', 'emergency, help, medical') @section('meta-description', 'Get emergency medical help in Bangladesh.') @section('content')
{{-- Show this if not logged in --}} @guest

Please Login or Register to avail Free Membership.

@endguest {{-- Show this only if logged in --}} @auth @if (session('success'))
{{ session('success') }}
@endif {{-- Membership Selection --}} @if (!request()->has('type'))

Select Membership Type To Avail Emergency Medical Service In Bangladesh
বাংলাদেশে জরুরি চিকিৎসা সেবা পেতে সদস্যতার ধরণ নির্বাচন করুন

@elseif(request('type') === 'free')
{{-- Dashboard Options (Sidebar) --}} @include('user.inc.site_bar')
{{-- FREE MEMBERSHIP FORM/CONFIRMATION --}}

Emergency Medical Help Request
জরুরী চিকিৎসা সহায়তার অনুরোধ

@if (Auth::check() && isset($user))

Hi, {{ $user->username }} This is your serial number, {{ $user->user_sl }} pls remember this/ এটা আপনার আইডি, দয়া করে মনে রাখবেন।

{{-- Confirmation Requirement for Free Membership (Only for logged-in users) --}}

To take this service you have to pay the service service charge! / এই পরিষেবাটি নিতে হলে আপনাকে পরিষেবা চার্জ দিতে হবে! Do you agree?

{{-- Message for "No" selection --}}
এই পরিষেবাটি পেতে আপনাকে অবশ্যই পরিষেবা চার্জ দিতে সম্মত হতে হবে!!!
{{-- Emergency Form (Hidden Initially, shown by JS if 'Yes' is clicked) --}}
@csrf
@if ($errors->has('customer_name')) {{ $errors->first('customer_name') }} @endif
@if ($errors->has('mobile_number')) {{ $errors->first('mobile_number') }} @endif
@if ($errors->has('akama_number')) {{ $errors->first('akama_number') }} @endif
@if ($errors->has('passport_number')) {{ $errors->first('passport_number') }} @endif

Current Address / বর্তমান ঠিকানা

@if ($errors->has('current_country')) {{ $errors->first('current_country') }} @endif
@if ($errors->has('currrent_state')) {{ $errors->first('currrent_state') }} @endif
@if ($errors->has('current_post_code')) {{ $errors->first('current_post_code') }} @endif
@if ($errors->has('current_address')) {{ $errors->first('current_address') }} @endif

Permanent Address / স্থায়ী ঠিকানা

@if ($errors->has('parmanent_division_id')) {{ $errors->first('parmanent_division_id') }} @endif
@if ($errors->has('parmanent_district_id')) {{ $errors->first('parmanent_district_id') }} @endif
@if ($errors->has('parmanent_thana_id')) {{ $errors->first('parmanent_thana_id') }} @endif
@if ($errors->has('parmanent_post_code')) {{ $errors->first('parmanent_post_code') }} @endif
@if ($errors->has('help_address')) {{ $errors->first('help_address') }} @endif
@if ($errors->has('descrive_issue')) {{ $errors->first('descrive_issue') }} @endif
@if ($errors->has('local_contact')) {{ $errors->first('local_contact') }} @endif
@else

Please Login or Register to avail Free Membership.

@endif
@elseif(in_array(request('type'), ['general', 'vip'])) {{--GENERAL or VIP MEMBERSHIP --}}
{{-- Changed from col-md-10 col-lg-8 to col-md-12 for consistent width --}}

Emergency Medical Help Request
জরুরী চিকিৎসা সহায়তার অনুরোধ

@if (Auth::check() && isset($user))

Hi, {{ $user->username }} This is your serial number, {{ $user->user_sl }} pls remember this/ এটা আপনার আইডি, দয়া করে মনে রাখবেন।

{{-- Benefits Section with Expand/Collapse (if logged in) --}} {{-- Emergency Form (Always Visible for General/VIP if logged in) --}}
@csrf

Current Address / বর্তমান ঠিকানা

Permanent Address / স্থায়ী ঠিকানা

@else

To avail **{{ ucfirst(request('type')) }}** membership services, please Login or Register.

@endif
@endif
@endauth @endsection