{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<div class="container-xl">
|
|
|
|
<div class="row g-3 mb-4 align-items-center justify-content-between">
|
|
<div class="col-auto">
|
|
<h1 class="app-page-title mb-0">Repostajes</h1>
|
|
</div>
|
|
</div><!--//row-->
|
|
|
|
|
|
<nav id="orders-table-tab" class="orders-table-tab app-nav-tabs nav shadow-sm flex-column flex-sm-row mb-4">
|
|
<a class="flex-sm-fill text-sm-center nav-link active" id="repostajes-tab" data-bs-toggle="tab" href="#repostajes" role="tab" aria-controls="repostajes" aria-selected="true">Repostajes</a>
|
|
</nav>
|
|
|
|
|
|
<div class="tab-content" id="orders-table-tab-content">
|
|
<div class="tab-pane fade show active" id="repostajes" role="tabpanel" aria-labelledby="repostajes-tab">
|
|
<div class="app-card app-card-orders-table shadow-sm mb-5">
|
|
<div class="app-card-body">
|
|
<div class="table-responsive">
|
|
<table class="table app-table-hover mb-0 text-left">
|
|
<thead>
|
|
<tr>
|
|
<th class="cell">#</th>
|
|
<th class="cell">Fecha</th>
|
|
<th class="cell">Vehículo</th>
|
|
<th class="cell">Kilómetros</th>
|
|
<th class="cell">Litros</th>
|
|
<th class="cell">Descuento</th>
|
|
<th class="cell">Precio por litro</th>
|
|
<th class="cell">Importe</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for repostaje in repostajes %}
|
|
<tr>
|
|
<td class="cell">{{ repostaje.id }}</td>
|
|
<td class="cell">{{ repostaje.fecha }}</td>
|
|
<td class="cell">{{ repostaje.vehiculo }}</td>
|
|
<td class="cell">{{ repostaje.kms }}</td>
|
|
<td class="cell">{{ repostaje.litros }}</td>
|
|
<td class="cell">{{ repostaje.descuento }}</td>
|
|
<td class="cell">{{ repostaje.precioxlitro }}</td>
|
|
<td class="cell">{{ repostaje.importe }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div><!--//table-responsive-->
|
|
</div><!--//app-card-body-->
|
|
</div><!--//app-card-->
|
|
</div><!--//tab-pane-->
|
|
</div><!--//tab-content-->
|
|
</div><!--//container-fluid-->
|
|
{% endblock %}
|