Merge pull request #359 from dod-ccpo/task-order-expiration
Fix report display for task order with no expiration date
This commit is contained in:
@@ -65,16 +65,26 @@
|
||||
<div>
|
||||
<dt>Expires</dt>
|
||||
<dd>
|
||||
<local-datetime
|
||||
timestamp='{{ expiration_date }}'
|
||||
format='MMMM D, YYYY'>
|
||||
</local-datetime>
|
||||
{% if expiration_date %}
|
||||
<local-datetime
|
||||
timestamp='{{ expiration_date }}'
|
||||
format='MMMM D, YYYY'>
|
||||
</local-datetime>
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<dt>Remaining</dt>
|
||||
<dd>{{ remaining_days }} days</dd>
|
||||
<dd>
|
||||
{% if remaining_days is not none %}
|
||||
{{ remaining_days }} days
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
|
||||
|
Reference in New Issue
Block a user