Skip to content

Commit

Permalink
Add finance dashboard to dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Oct 24, 2024
1 parent 6bb69ec commit 54e0c9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RIGS/templates/base_rigs.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
Invoices <span class="badge {% if todo == 0 %}badge-success{% else %}badge-danger{% endif %} badge-pill">{{ todo }}</span>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownInvoices">
<a class="dropdown-item" href="{% url 'invoice_dashboard' %}"><span class="fas fa-chart-line"></span> Dashboard</a>
{% if perms.RIGS.add_invoice %}
<a class="dropdown-item text-nowrap" href="{% url 'invoice_waiting' %}"><span class="fas fa-briefcase text-danger"></span> Waiting <span class="badge {% if waiting == 0 %}badge-success{% else %}badge-danger{% endif %} badge-pill">{{ waiting }}</span></a>
{% endif %}
Expand Down

0 comments on commit 54e0c9f

Please sign in to comment.