Show financial verification page when request is approved

This commit is contained in:
Patrick Smith
2018-07-23 15:34:19 -04:00
committed by Luis Cielak
parent e99b13347a
commit db0db3f327
4 changed files with 47 additions and 5 deletions

View File

@@ -29,7 +29,8 @@
<tbody>
{% for r in requests %}
<tr>
<th scope="row"><a href="{{ reverse_url('request_form_update', 1, r['order_id']) }}">{{ r['order_id'] }}</a>
<th scope="row">
<a href="{{ reverse_url('request_form_update', 1, r['order_id']) if r["status"] != "approved" else reverse_url('financial_verification', r['order_id']) }}">{{ r['order_id'] }}</a>
{% if r['is_new'] %}<span class="usa-label">New</span>
</th>
{% end %}

View File

@@ -1,4 +1,4 @@
{% extends "base.html.to" %}
{% extends "../base.html.to" %}
{% block content %}