From 91fc18d8d5e1055103419c646faaed28c5d96d26 Mon Sep 17 00:00:00 2001 From: Shrikrishna Singh <krishnasingh.ss30@gmail.com> Date: Tue, 12 Apr 2022 14:58:56 +0530 Subject: [PATCH] Fix invoice list on project detail page --- .../application_projects/includes/invoices.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hypha/apply/projects/templates/application_projects/includes/invoices.html b/hypha/apply/projects/templates/application_projects/includes/invoices.html index 6b868ddb7..53f958d05 100644 --- a/hypha/apply/projects/templates/application_projects/includes/invoices.html +++ b/hypha/apply/projects/templates/application_projects/includes/invoices.html @@ -12,13 +12,17 @@ <table class="data-block__table"> <thead> <tr> - <th class="data-block__table-status">{% trans "Status" %}</th> + <th class="data-block__table-amount">{% trans "Submitted" %}</th> + <th class="data-block__table-status">{% trans "Invoice Number" %}</th> + <th class="data-block__table-date">{% trans "Status" %}</th> <th class="data-block__table-update"></th> </tr> </thead> <tbody> {% for invoice in object.invoices.not_rejected %} <tr> + <td><span class="data-block__mobile-label">{% trans "Submitted" %}: </span>{{ invoice.requested_at.date }}</td> + <td><span class="data-block__mobile-label">{% trans "Invoice Number" %}: </span>{{ invoice.vendor_document_number }}</td> <td><span class="data-block__mobile-label">{% trans "Status" %}: </span>{{ invoice.get_status_display }}</td> <td> <a class="data-block__action-link" href="{{ invoice.get_absolute_url }}">View</a> @@ -53,6 +57,8 @@ <table class="data-block__table is-hidden js-payment-block-rejected-table"> <thead> <tr> + <th class="data-block__table-amount">{% trans "Submitted" %}</th> + <th class="data-block__table-amount">{% trans "Invoice Number" %}</th> <th class="data-block__table-status">{% trans "Status" %}</th> <th class="data-block__table-view"></th> </tr> @@ -60,6 +66,8 @@ <tbody> {% for invoice in object.invoices.rejected %} <tr> + <td><span class="data-block__mobile-label">{% trans "Submitted" %}: </span>{{ invoice.requested_at.date }}</td> + <td><span class="data-block__mobile-label">{% trans "Invoice Number" %}: </span>{{ invoice.vendor_document_number }}</td> <td><span class="data-block__mobile-label">{% trans "Status" %}: </span>{{ invoice.get_status_display }}</td> <td><a href="{{ invoice.get_absolute_url }}">{% trans "View" %}</a></td> </tr> -- GitLab