Advertisement
Chasty

Untitled

Jan 24th, 2020
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Page Title</title>
  5. <style>
  6. .tabla {
  7. width: 100%;
  8. }
  9. .tabla > tbody > tr > td {
  10. border: 1px solid black;
  11. }
  12. .tabla > thead > tr > th {
  13. border: 1px solid black;
  14. }
  15. .tabla > tbody > tr:nth-child(even) {
  16. background-color: #f2f2f2;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <table class="tabla">
  22. <thead>
  23. <tr>
  24. <th colspan="3">
  25. <img src="https://alpacaexpeditions.files.wordpress.com/2013/02/alpaca-logo-2013.png" style="width:166px;max-width:100%">
  26. </th>
  27. <th colspan="${nro_col}">
  28. HOJA DE CONTROL - ${tour.cpaquete}
  29. </th>
  30. </tr>
  31. <tr>
  32. <th colspan="${nro_col + 3}" style="text-align: left !important; background: #72a71a; color: #fff;" >GUIDE NAME: JUAN PEREZ</th>
  33. </tr>
  34. <tr>
  35. <th colspan="3" style="background: #547b13; color: #fff;"></th>
  36. <#list tour.hojas[0].reservas[0].fechas as fecha>
  37. <th colspan="${fecha.nnro_fechas}" style="background: #547b13; color: #fff;">${fecha.fecha}</th>
  38. </#list>
  39. </tr>
  40. <tr>
  41. <th>#</th>
  42. <th>Documento</th>
  43. <th>Pasajero</th>
  44. <#list tour.hojas[0].reservas[0].pasajeros[0].servicios as serv_c>
  45. <th>${serv_c.cser_abr}</th>
  46. </#list>
  47. </tr>
  48. </thead>
  49. <tbody>
  50. <#list tour.hojas[0].reservas as reserva>
  51. <#list reserva.pasajeros as pasajero>
  52. <tr>
  53. <td>${pasajero_index + reserva_index + 1}</td>
  54. <td>${pasajero.cnro_doc}</td>
  55. <td>${pasajero.capellidos}, ${pasajero.cnombres}</td>
  56. <#list pasajero.servicios as serv>
  57. <td>
  58. <#if serv.opcion.nopc_cod != 0>
  59. SI
  60. <#else>
  61. NO
  62. </#if>
  63. </td>
  64. </#list>
  65. </tr>
  66. </#list>
  67. </#list>
  68. </tbody>
  69. </table>
  70. </body>
  71. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement