Skip to content
Snippets Groups Projects
Commit dfc0468e authored by dre0059's avatar dre0059
Browse files

Final project - ready to present :)

parent e6d5c914
No related merge requests found
......@@ -76,6 +76,7 @@
<th>Client Email</th>
<th>Date & Time</th>
<th>Coach</th>
<th>Equipment</th>
<th>Total price (€)</th>
</tr>
</thead>
......@@ -259,6 +260,12 @@
<td>${reservation.customer?.email || 'Unknown'}</td>
<td>${new Date(reservation.fromDateTime).toLocaleString()} - ${new Date(reservation.toDateTime).toLocaleString()}</td>
<td>${reservation.coach.lastName || '--'}</td>
<td>${
reservation.sportsEquipmentList && reservation.sportsEquipmentList.length > 0
? reservation.sportsEquipmentList.map(eq => eq.id + " " + eq.name).join(', ')
: '--'
}</td>
<td>${reservation.totalPrice?.toFixed(2)} €</td>
</tr>
`).join('');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment