{% extends 'user_base.html' %} {% import "_macros.html" as macros %} {% block title %} P_info|COVID-19 Detector {% endblock %} {% block specific_info %}

病人信息

{%if not appointments%}

您暂时还没有任何病人哦~

{%endif%} {%for appointment in appointments%} {% set appointment_date= appointment.date.strftime('%Y-%m-%d') %} {% if today_str
就诊时间 {{ appointment.date }} {%if appointment.time==1%}上午{%else%}下午{%endif%} {{appointment.num}}号
联系方式 {{appointment.phone}}
{% set report = Report.query.filter_by(appointment_id=appointment.id).first() %} {% if report %}
{% else %}
{% endif %} {%if today_str!=appointment_date or appointment.status=="Called" %} {%elif today_str==appointment_date and appointment.status!="status"%}
{%endif%}
{%endif%} {%endfor%} {% endblock %}