Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit aaf60ea4 authored by 65160394's avatar 65160394
Browse files

Project Round 9

parent 94bc21fb
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</head> </head>
<body> <body>
<h1>Your Bookings</h1> <h1>Your Bookings</h1>
<table> <table border="1">
<thead> <thead>
<tr> <tr>
<th>Booking ID</th> <th>Booking ID</th>
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
<tbody> <tbody>
<% bookings.forEach(booking => { %> <% bookings.forEach(booking => { %>
<tr> <tr>
<td><%= booking.booking_id %></td> <td><%= booking.id %></td> <!-- booking_id --> (ตรวจสอบว่าเป็น id หรือไม่)
<td><%= booking.tour_title %></td> <td><%= booking.tour_name %></td> <!-- tour_title --> (ตรวจสอบว่าเป็น tour_name หรือไม่)
<td><%= booking.booking_date %></td> <td><%= booking.booking_date %></td>
<td><%= booking.status %></td> <td><%= booking.status %></td>
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment