{% extends 'back_office/bo_layout.html' %} {% block head %} {% endblock %} {% block title %}View Form{% endblock %} {% block content %}

{% if society_id|int == 12 %} Edit {% else %} Edit {% endif %}
{% for mesg in get_flashed_messages(category_filter=["successMsg"]) %}
×

right{{ mesg }}

{% endfor %} {% for mesg in get_flashed_messages(category_filter=["errorMsg"]) %}
×

wrong{{ mesg }}

{% endfor %} {% if user.membership_no: %}

Membership Number:{{user.membership_no}}

Member Type:{{member.member_type or ""}}

{% if user.updated_at: %}

Last Modified On:{{user.updated_at.strftime('%d-%m-%Y %H:%M') or ""}}

{% endif %} {% if user.joined_at: %}

Approved On:{{user.joined_at.strftime('%d-%m-%Y %H:%M') or ""}}

{% endif %} {% if member.approved_rejected_by: %} {% if user.status_id == societyData['ms_rejected_status_id']: %}

Rejected by:{{member.approved_rejected_by or ''}}

{% else %}

Approved by:{{member.approved_rejected_by or ''}}

{% endif %} {% endif %} {% if user.member_type_id == Helper.AssociateMemberId and society_id|int==1 %} {% endif %} {% if user.member_type_id == Helper.LifeMemberId and society_id|int==3 %} {% endif %} {% if user.member_type_id == Helper.NationalMemberId and society_id|int==3 %} {% endif %} {% if society_id|int==2 %} {% endif %}
{% endif %}
{% if user.status_id == societyData['ms_rejected_status_id']: %}

Rejected this application

{% if member.approved_rejected_by: %}

Rejected by:{{member.approved_rejected_by}}

{% endif %}
{% endif %}
{% if user.prefix and user.full_name: %}

{{user.prefix or ""}}{{user.full_name or ""}}

{% else %}

{{user.full_name or ''}}

{% endif %}
{% if user.dob %}
{{user.dob.strftime('%d-%m-%Y')}}
{% else %}
-
{% endif %}
{{user.gender or '-'}}
{{user.email or '-'}}
{{user.mobile or '-'}}
{{user.whatsapp_number or '-'}}
{% if society_key in Helper.AiosMembershipNumber: %}
{{user.aios_membership_number or '-'}}
{% endif %}
{{user.mc_number or '-'}}
{{user.mc_state or "-"}}
{% if user.address1 or user.address2 or user.address3: %}
{{user.address1 or ""}}
{% if user.address2: %}{{user.address2}}{% else %} {% endif %}
{% if user.address3: %}{{user.address3}}{% else %} {% endif %}
{% else %}
-
{% endif %}
{% if user.district %} {% if user.district == "Others" %}
{{user.other_districts}}
{% else %}
{{user.district}}
{% endif %} {% else %}
-
{% endif %}
{{user.city or '-'}}
{{user.pincode or '-'}}
{{user.state_name or '-'}}
{{user.country_name or '-'}}
{% if society_id|int in (3,10) and user.gov_proof_type : %}
{{user.gov_proof_id or ''}}

{% endif %} {% if Helper.HospitalAddress.get(society_key,None) %}
{% if user.hos_address1 or user.hos_address2 or user.hos_address3: %}
{{user.hos_address1 or ""}}
{% if user.hos_address2: %}
{{user.hos_address2}}
{% endif %} {% if user.hos_address3: %}
{{user.hos_address3}}
{% endif %} {% else %}
-
{% endif %}
{% endif %}

{% if datas: %}

Qualification/Fellowship

{% for qualification in datas %} {% endfor %}
SNo Qualification/Fellowship From Passing Out Institution/University
{{loop.index}} {{qualification.qualification or ""}} {{qualification.year_from or ""}} {{qualification.year_passing or ""}} {{qualification.institution or ""}}
{% endif %}
{% if user_training: %}

Training in endoscopic surgery/procedures

{% for training_data in user_training %} {% endfor %}
SNo Institution From(Date) Duration Teacher
{{loop.index}} {{training_data.institution or ""}} {{training_data.from_date.strftime('%d-%m-%Y') or ""}} {{training_data.duration or ""}} {{training_data.teacher or ""}}
{% endif %}
{% if data: %}

Experience

{% if society_id|int == 3 %} {% endif %} {% for work in data %} {% if society_id|int == 3 %} {% if work.work_until==0 %} {% else %} {% endif %} {% endfor %}
Sno Institution/Hospital typePosition TypeStatus Work Since Work Until Institution/Hospital
{{loop.index}} {{work.work_type or ""}}{{work.position_type or ""}} {% endif %} {{work.work_status or ""}} {{work.work_since or ""}} {{work.work_until or ""}}{{work.work_place or ""}}

{% endif %} {% if society_id|int == 41 %} {% if user_additional : %}

Fellowship/ Senior Residency in a Glaucoma

{% if user_additional and user_additional[0]['is_any_fellowship'] == "yes" %}
{% for row in user_additional %} {% endfor %}
SNo Fellowship Training Place Institution Fellowship Start Date Fellowship End Date
{{loop.index}} {{row.any_fellowship_place_training or ""}} {{row.institution or ""}} {{row.fellowship_start_date or ""}} {{row.fellowship_end_date or ""}}
{% else %}
No Fellowship Training
{% endif %} {% endif %}

Type of Practice and Practice Percentage

{% if user.type_of_practice :%}
Type of Practice Practice Percentage
{{user.type_of_practice}} {{user.practice_consists_percentage}}
{% endif %}
{% endif %} {% if user_other_society: %}

Membership of other Associations/Societies

{% for row in user_other_society %} {% endfor %}
SNo Associations/Society Membership No
{{loop.index}} {{row.other_society_name or ""}} {{row.other_membership_no or ""}}

{% endif %} {% if image : %}

Attachment

{% for user_attach in image %}
{{user_attach.attach_type}}
{% if user_attach.attach_file_name %} {% set src= user_attach.attach_path|string+"/"+user_attach.attach_file_name|string %} {% if ".pdf" in user_attach.attach_file_name or ".PDF" in user_attach.attach_file_name :%} {% else %} {{user_attach.attach_type}} {% endif %} {% else %} {% set src= "" %} {{user_attach.attach_type}} {% endif %}
{% endfor %}
{% endif %} {% if prosec_data: %}
{% for prosec in prosec_data %}
{% if prosec.prefix is none: %} {% else %} {% endif %} {% if prosec.membership_no is not none: %} {% else %} {% endif %} {% if prosec.email is not none: %} {% else %} {% endif %} {% if prosec.mobile is not none: %} {% else %} {% endif %} {% if prosec.city is not none: %} {% else %} {% endif %}

{{prosec.type}}

Full Name:{{prosec.full_name|default('')}}{{prosec.prefix|default('')}}{{prosec.full_name|default('')}}
Membership Number:{{prosec.membership_no|default('')}}
Email id:{{prosec.email or ''}}
Mobile Number:{{prosec.mobile or ''}}
City:{{prosec.city or ''}}
{% endfor %}
{% endif %}
{% if member_type|length > 1 %}
Member applied for : {% if society_id|int == 17 %}{{member.member_name_amount}}{% else %}{{member.choosed_member_type}}{% endif %}
{% endif %} {% if pay_method != None : %}
Payment : {{member.member_name_amount}}
Payment Mode : {{pay_method}}
Amount: {{member.currency_symbol or ""}}{{member.amount or ""}}
{% if member.utr_number : %}
UTR Number : {{member.utr_number or ''}}
{% endif %} {% if member.paid_at : %}
Paid On : {{member.paid_at or ''}}
{% endif %} {% if society_id|int == 17 and member.payment_remarks : %}
Remarks : {{member.payment_remarks or ''}}
{% endif %} {% endif %}

{% if is_approval == 1 and user.status_id == societyData['ms_waiting_approval_status_id'] or user.status_id == societyData['ms_waiting_approval_withoutpay_status_id'] or user.status_id == societyData['ms_reupdated_status_id'] or user.status_id == societyData['ms_rejected_status_id'] or user.status_id == societyData['ms_approved_awaitingpayment_status_id']: %} {% if is_approval == 1 : %} {% if member_type|length >1 %}
{% for item in member_type %}
{% endfor %}
{% else %}
{% for item in member_type %}
{% endfor %}
{% endif %} {% else %} {% endif %}
{% if societyData['member_approve_type'] == "before payment": %} {% if user.payment_method: %} {% else %} {% endif %} {% else %} {% endif %}


{% endif %}
{% endblock %} {% block script %} {% endblock %}