{% extends 'base.html.twig' %} {% block title %}Consent Request{% endblock %} {% block styles %} {{ parent() }} {% endblock %} {% block content %}
| Name | #}Jataayu ID | Request Status | Consent Created On | Consent Granted On | Consent Expiry On | Action | |||
|---|---|---|---|---|---|---|---|---|---|
| {{ consent.name }} | #}{{ consent.health_id }} | {{ consent.status }} | {{ consent.created_at|date('d/m/Y') }} | {{ consent.grant_date ? consent.grant_date|date('d/m/Y') : '-' }} | {{ consent.expiry_date ? consent.expiry_date|date('d/m/Y') : '-' }} | {% if (consent.status == 'EXPIRED' or consent.status == 'REVOKED') %}- | {% elseif (consent.req_status == 1) %}View Data | {% elseif (consent.status == 'GRANTED') %}Request View Data | {% else %}- | {% endif %}