@extends('user.layout') @section('pagename') - {{ __('Service Form') }} @endsection @section('content') @php $value = $user->email; $isEmail = filter_var($value, FILTER_VALIDATE_EMAIL); $isPhone = preg_match('/^\+?[0-9]{6,20}$/', $value); // basic phone check @endphp
@if (session('success'))
{{ session('success') }}
@endif
@if(isset(auth()->user()->member) && auth()->user()->member->count() > 0)

You are already applied for Membership

({{ auth()->user()->member->type }})

Your membership status is @if(auth()->user()->member->status == 0) Initiate @elseif(auth()->user()->member->status == 1) Processing @elseif(auth()->user()->member->status == 2) Active @elseif(auth()->user()->member->status == 3) Rejected @else Unknown @endif @if(auth()->user()->member->status == 2)

Download your membership card Download

@endif

Select Membership Type
সেবার ধরণ নির্বাচন করুন

@else

Membership Application From

({{ $type == '' ? 'Free' : $type }})

@csrf

User Information / ব্যাক্তিগত তথ্য

@if ($errors->has('customer_name')) {{ $errors->first('customer_name') }} @endif
@if ($errors->has('father_name')) {{ $errors->first('father_name') }} @endif
@if ($errors->has('mother_name')) {{ $errors->first('mother_name') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('nid_number')) {{ $errors->first('nid_number') }} @endif
@if ($errors->has('birth_reg_number')) {{ $errors->first('birth_reg_number') }} @endif
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@if ($errors->has('marital_status')) {{ $errors->first('marital_status') }} @endif
@if ($errors->has('passport_number')) {{ $errors->first('passport_number') }} @endif
@if ($errors->has('religion')) {{ $errors->first('religion') }} @endif
@if ($errors->has('mobile_number')) {{ $errors->first('mobile_number') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endif
{{-- /col-lg-9 for Membership Options --}}
{{-- /row --}} {{-- /container --}}
@endsection @section('scripts') @endsection