forked from DGNum/gestioCOF
Nav + lien inventaire -> commande
This commit is contained in:
parent
9467103879
commit
72a4f5563e
3 changed files with 15 additions and 3 deletions
|
@ -52,7 +52,9 @@ nav a {
|
||||||
padding:8px 20px;
|
padding:8px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-menu .divider {
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
.navbar-nav .open .dropdown-menu {
|
.navbar-nav .open .dropdown-menu {
|
||||||
|
|
|
@ -31,12 +31,16 @@
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Admin <span class="caret"></span></a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Admin <span class="caret"></span></a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="{% url 'kfet.kpsul' %}">K-Psul</a></li>
|
<li><a href="{% url 'kfet.kpsul' %}">K-Psul</a></li>
|
||||||
|
<li><a href="{% url 'kfet.history' %}">Historique</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
<li><a href="{% url 'kfet.account' %}">Comptes</a></li>
|
<li><a href="{% url 'kfet.account' %}">Comptes</a></li>
|
||||||
<li><a href="{% url 'kfet.checkout' %}">Caisses</a></li>
|
<li><a href="{% url 'kfet.checkout' %}">Caisses</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
<li><a href="{% url 'kfet.article' %}">Articles</a></li>
|
<li><a href="{% url 'kfet.article' %}">Articles</a></li>
|
||||||
<li><a href="{% url 'kfet.history' %}">Historique</a></li>
|
<li><a href="{% url 'kfet.inventory' %}">Inventaires</a></li>
|
||||||
<li><a href="{% url 'kfet.order' %}">Commandes</a></li>
|
<li><a href="{% url 'kfet.order' %}">Commandes</a></li>
|
||||||
{% if user.username != 'kfet_genericteam' %}
|
{% if user.username != 'kfet_genericteam' %}
|
||||||
|
<li class="divider"></li>
|
||||||
<li><a href="{% url 'kfet.login.genericteam' %}" target="_blank" id="genericteam">Connexion standard</a></li>
|
<li><a href="{% url 'kfet.login.genericteam' %}" target="_blank" id="genericteam">Connexion standard</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if perms.kfet.change_settings %}
|
{% if perms.kfet.change_settings %}
|
||||||
|
|
|
@ -38,7 +38,13 @@
|
||||||
<td>{{ inventory.at }}</td>
|
<td>{{ inventory.at }}</td>
|
||||||
<td>{{ inventory.by.trigramme }}</td>
|
<td>{{ inventory.by.trigramme }}</td>
|
||||||
<td>{{ inventory.nb_articles }}</td>
|
<td>{{ inventory.nb_articles }}</td>
|
||||||
<td>{{ inventory.order|default_if_none:'' }}</td>
|
<td>
|
||||||
|
{% if inventory.order %}
|
||||||
|
<a href="{% url 'kfet.order.read' inventory.order.pk %}">
|
||||||
|
#{{ inventory.order.pk }}
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in a new issue