New functionality
This commit is contained in:
@@ -24,17 +24,20 @@
|
||||
<input id="table_rfcc" name="rfcc" value="True" type="checkbox" class="form-check-input" >
|
||||
Cliente RFC
|
||||
</th>
|
||||
|
||||
<th>Nombre</th>
|
||||
<th>Totales Mes {{fecha|date:"F"}}</th>
|
||||
<th scope="col">actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for obj in timbres %}
|
||||
{% for obj in clientes %}
|
||||
<tr class="">
|
||||
<td>{{obj.rfcc}}</td>
|
||||
<td>{{obj.RFC}}</td>
|
||||
<td>{{obj.Nombre}}</td>
|
||||
<td>{{obj.timbres_mes_count}}</td>
|
||||
<td>
|
||||
{% if request.user.is_staff %}
|
||||
<a href="{% url 'timbres_cliente' obj.rfcc %}" class="btn btn-info">View Timbres</a>
|
||||
<a href="{% url 'timbres_cliente' obj.RFC %}" class="btn btn-info">Ver Timbres</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -49,9 +52,6 @@
|
||||
document.getElementById('rfcc').checked= table_rfcc.checked? true:false;
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
{% endblock scripts %}
|
||||
@@ -1,3 +1,7 @@
|
||||
|
||||
<span class="navbar-text mr-2">
|
||||
Fecha: <strong>{{fecha|date:"d F Y"}}</strong>
|
||||
</span>
|
||||
<form action="{{request.path}}" method="get" class="form-inline my-2 my-lg-0">
|
||||
<input id="search" class="form-control mr-sm-2" name="search" type="search" placeholder="Search" aria-label="Search">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user