57 lines
1.6 KiB
HTML
57 lines
1.6 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
|
|
{% block titulo %}Articulo Recibidos{% endblock %}
|
|
|
|
|
|
{% block seccion %}
|
|
|
|
{% block titulodeseccion %} Historial de Carpas {% endblock%}
|
|
{% block etiqueta1 %}Inicio{% endblock %}
|
|
{% block etiqueta2 %} Información{% endblock %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block contenido %}
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card card-dark card-outline">
|
|
<div class="card-header">
|
|
<div class="d-flex justify-content-between">
|
|
<h1> <a href="{% url 'lista' unidad.id %}">Imprimir Historial</a></h1>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="table-responsive">
|
|
<table id="example1" class="table align-items-center table-flush">
|
|
<thead class="thead-light">
|
|
<tr>
|
|
<th scope="col">N°</th>
|
|
<th scope="col">Articulo</th>
|
|
<th scope="col">Movimiento</th>
|
|
<th scope="col">Fecha Entrada</th>
|
|
<th scope="col">Descripcion</th>
|
|
<th scope="col">Cantidad</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for objetos in articulo %}
|
|
<tr class="">
|
|
<td>{{forloop.counter}}</td>
|
|
<td>{{objetos.articulo.articulo}}</td>
|
|
<td>{{objetos.movimiento}}</td>
|
|
<td>{{objetos.fecha_salida|date:"d-m-y"}}</td>
|
|
<td>{{objetos.descripcion}}</td>
|
|
<td>{{objetos.cantidad}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|