{% extends "base.html" %} {% block title %}Lab Information - NexLab{% endblock %} {% block page_title %}Lab Information{% endblock %} {% block content %}

Lab Information

Configure your laboratory details and branding

{% if not edit_mode %} Edit {% else %} Cancel {% endif %}
{% if not edit_mode %}
{% if lab_info %}

Basic Information

{{ lab_info.lab_name if lab_info.lab_name else '-' }}

{{ lab_info.lab_title if lab_info.lab_title else '-' }}

{{ lab_info.welcome_message if lab_info.welcome_message else '-' }}

{{ lab_info.welcome_template_name if lab_info.welcome_template_name else '-' }}

{{ province_name if province_name else '-' }}

{{ lab_info.first_doctor_name if lab_info.first_doctor_name else '-' }}

{{ lab_info.second_doctor_name if lab_info.second_doctor_name else '-' }}

{{ lab_info.lab_address if lab_info.lab_address else '-' }}

Contact Information

{{ lab_info.lab_phone_1 if lab_info.lab_phone_1 else '-' }}

{{ lab_info.lab_phone_2 if lab_info.lab_phone_2 else '-' }}

{{ lab_info.lab_email if lab_info.lab_email else '-' }}

{{ lab_info.lab_website if lab_info.lab_website else '-' }}

{{ lab_info.tax_percentage if lab_info.tax_percentage else '0' }}%

Messaging APIs

WhatsApp

{{ lab_info.whatsapp_api if lab_info.whatsapp_api else '-' }}

{{ lab_info.whatsapp_token if lab_info.whatsapp_token else '-' }}

Telegram

{{ lab_info.telegram_api if lab_info.telegram_api else '-' }}

{{ lab_info.telegram_token if lab_info.telegram_token else '-' }}

Images & Branding

{% set images = [ ('Lab Logo', lab_info.lab_logo), ('Lab QR 1', lab_info.lab_qr_1), ('Lab QR 2', lab_info.lab_qr_2), ('Lab Stamp 1', lab_info.lab_stamp_1), ('Lab Stamp 2', lab_info.lab_stamp_2), ('Lab Signature 1', lab_info.lab_signature_1), ('Lab Signature 2', lab_info.lab_signature_2), ('Lab Image 1', lab_info.lab_image_1), ('Lab Image 2', lab_info.lab_image_2) ] %} {% for label, image_path in images %}
{% if image_path %} {{ label }} {% else %}
Not uploaded
{% endif %}
{% endfor %}

Notes

{{ lab_info.lab_note_1 if lab_info.lab_note_1 else '-' }}

{{ lab_info.lab_note_2 if lab_info.lab_note_2 else '-' }}

{% if lab_info.edited_at %}
Last updated: {{ lab_info.edited_at.strftime('%Y-%m-%d %H:%M') }}
{% endif %} {% else %}

No lab information configured

Click Edit to add your laboratory details.

{% endif %}
{% else %}

Basic Information

Template name from your Wati dashboard (for new contacts)

Contact Information

Messaging APIs

WhatsApp
Telegram

Images & Branding

{% set images = [ ('Lab Logo', 'lab_logo'), ('Lab QR 1', 'lab_qr_1'), ('Lab QR 2', 'lab_qr_2'), ('Lab Stamp 1', 'lab_stamp_1'), ('Lab Stamp 2', 'lab_stamp_2'), ('Lab Signature 1', 'lab_signature_1'), ('Lab Signature 2', 'lab_signature_2'), ('Lab Image 1', 'lab_image_1'), ('Lab Image 2', 'lab_image_2') ] %} {% for label, field_name in images %}
{% if lab_info and lab_info[field_name] %} {{ label }} {% endif %}
{% endfor %}

Notes

Cancel
{% endif %}
{% endblock %}