Skip to content

Commit

Permalink
handle case when mission has no more responsible
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalfox committed Oct 19, 2024
1 parent 063757b commit 5d55905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/staffing/fixed_price_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<td><a href="{{ mission.get_absolute_url }}">{{ mission }}</a></td>
<td>{{ mission.mission_id }}</td>
<td>{{ mission.subsidiary }}</td>
<td>{% with consultant=mission.responsible %}{% include "people/__consultant_name.html" %}{% endwith %}</td>
<td>{% if mission.responsible %}{% with consultant=mission.responsible %}{% include "people/__consultant_name.html" %}{% endwith %}{% endif %}</td>
<td class="text-end">{{ mission.price|floatformat:-1 }}</td>
<td class="text-end">{{ done }}</td>
<td class="text-end" style="{% if current_remaining < 0 %}background-color:#E76F6F{% endif %}">{{ current_remaining }}</td>
Expand Down

0 comments on commit 5d55905

Please sign in to comment.