total saldo index
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div>
|
||||
<h2>Timbres disponibles Comercio Digital: {{saldo}}</h2>
|
||||
</div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -29,7 +31,7 @@
|
||||
<td>{{obj.rfcc}}</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.rfcc %}" class="btn btn-info">View Timbres</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -43,6 +45,10 @@
|
||||
table_rfcc.addEventListener('click',(event)=>{
|
||||
document.getElementById('rfcc').checked= table_rfcc.checked? true:false;
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
{% endblock scripts %}
|
||||
Reference in New Issue
Block a user