forked from PramodLakmal/mern-vsms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
report_template.ejs
45 lines (45 loc) · 1.11 KB
/
report_template.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Report</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<h1>Refund Report</h1>
<table>
<thead>
<tr>
<th>User Name</th>
<th>Account Created Date</th>
<th>Account Updated Date</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<% user.forEach(function(user) { %>
<tr>
<td><%= user.userId.userId.username %></td>
<td><%= user.createdAt %></td>
<td><%= user.updatedAt %></td>
<td><%= user.email %></td>
</tr>
<% }); %>
</tbody>
</table>
</body>
</html>