Don't allow downloading Task Order documents when TO not complete
This commit is contained in:
parent
0b73d4e307
commit
ebbb8ee081
@ -130,7 +130,7 @@
|
|||||||
{%- endset %}
|
{%- endset %}
|
||||||
{{ DocumentLink(
|
{{ DocumentLink(
|
||||||
title="Task Order Draft",
|
title="Task Order Draft",
|
||||||
link_url=url_for('task_orders.download_summary', task_order_id=task_order.id),
|
link_url=all_sections_complete and url_for('task_orders.download_summary', task_order_id=task_order.id),
|
||||||
description=description) }}
|
description=description) }}
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user