Skip to content

Commit

Permalink
fix filtrado de disponibilidad de habitacion #96 y mostrar habitacion…
Browse files Browse the repository at this point in the history
…es en venta paquetes
  • Loading branch information
juancruz1990 committed Aug 5, 2023
1 parent 4053031 commit 65818ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hotel/templates/hotel/vistaHotelAdmin.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ <h3 class="mb-5">PAQUETES</h3>
<td>{{paquete.fin}}</td>
<td>${{paquete.get_costo}}</td>
<td> {% for habitacion in paquete.get_habitaciones %}
<p>habitacion: {{habitacion.numero}}</p>
<p>habitacion: {{habitacion.numero}} tipo: {{habitacion.tipo}}</p>
{% endfor %}
</td>
<td>{% if paquete.estoy_vendido %} VENDIDO
Expand Down
5 changes: 5 additions & 0 deletions venta/templates/venta/buscarHabitaciones.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ <h1 class="my-4">LISTADO DE PAQUETES DISPONIBLES</h1>
<th>Fecha fin</th>
<th>Costo</th>
<th>Pasajeros</th>
<th>Habitaciones</th>
<th>Acciones</th>
</tr>

Expand All @@ -179,6 +180,10 @@ <h1 class="my-4">LISTADO DE PAQUETES DISPONIBLES</h1>
<td>{{paquete.fin}}</td>
<td>${{paquete.get_costo}}</td>
<td>{{paquete.get_pasajeros}}</td>
<td> {% for habitacion in paquete.get_habitaciones %}
<p>habitacion: {{habitacion.numero}} tipo: {{habitacion.tipo}}</p>
{% endfor %}
</td>
<td>
<center>
<button type="button" class="btn btn-success"
Expand Down

0 comments on commit 65818ae

Please sign in to comment.