Skip to content

Commit e1a3806

Browse files
authored
Fixed NoReverseMatch on submitting status update (#4522)
Invoice edit URL was trying to get the project pk from a different place than the rest of the calls (delete & edit were correct)
1 parent a9ec8bd commit e1a3806

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hypha/apply/projects/templates/application_projects/partials/invoice_status_table.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{% if user_can_edit_request %}
1818
<a
1919
class="data-block__action-icon-link"
20-
href="{% url "apply:projects:invoice-edit" pk=object.submission.pk invoice_pk=invoice.pk %}"
20+
href="{% url 'apply:projects:invoice-edit' pk=invoice.project.submission.pk invoice_pk=invoice.pk %}"
2121
>
2222
{% heroicon_micro "pencil-square" aria_hidden=true class="me-1" %}
2323
{% trans "Edit" %}

0 commit comments

Comments
 (0)