tango-app-api-trax 3.7.55 → 3.7.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -3
- package/src/controllers/internalTrax.controller.js +12 -40
- package/src/controllers/mobileTrax.controller.js +17 -197
- package/src/controllers/traxDashboard.controllers.js +5 -2
- package/src/hbs/login-otp.hbs +943 -943
- package/src/routes/mobileTrax.routes.js +1 -3
- package/src/controllers/handlebar-helper.js +0 -11
- package/src/hbs/flag.hbs +0 -249
- package/src/hbs/template.hbs +0 -327
|
@@ -30,7 +30,5 @@ mobileRouter
|
|
|
30
30
|
.post( '/checkUpdateVersionv1', mobileController.checkVersionV1 )
|
|
31
31
|
.post( '/checkClientConfig', isAllowedSessionHandler, mobileController.clientConfig )
|
|
32
32
|
.post( '/updatePlanoStatus', isAllowedSessionHandler, mobileController.updatePlanoStatus )
|
|
33
|
-
.post( '/chunkUpload', isAllowedSessionHandler, mobileController.chunkUpload )
|
|
34
|
-
.post( '/downloadChecklist', isAllowedSessionHandler, mobileController.downloadChecklist )
|
|
35
|
-
;
|
|
33
|
+
.post( '/chunkUpload', isAllowedSessionHandler, mobileController.chunkUpload );
|
|
36
34
|
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Handlebars from 'handlebars';
|
|
2
|
-
|
|
3
|
-
Handlebars.registerHelper( 'eq', function( arg1, arg2, options ) {
|
|
4
|
-
return ( arg1 == arg2 ) ? options.fn( this ) : options.inverse( this );
|
|
5
|
-
} );
|
|
6
|
-
|
|
7
|
-
Handlebars.registerHelper( 'neq', function( a, b, options ) {
|
|
8
|
-
return a !== b ? options.fn( this ) : options.inverse( this );
|
|
9
|
-
} );
|
|
10
|
-
|
|
11
|
-
export default Handlebars;
|
package/src/hbs/flag.hbs
DELETED
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
|
|
6
|
-
<meta charset="utf-8">
|
|
7
|
-
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
8
|
-
<title>Trial Intiate Email</title>
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
-
<style type="text/css">
|
|
11
|
-
@media screen {
|
|
12
|
-
@font-face {
|
|
13
|
-
font-family: 'Inter';
|
|
14
|
-
font-style: normal;
|
|
15
|
-
font-weight: 400;
|
|
16
|
-
font-display: swap;
|
|
17
|
-
src: local("Inter"), local("Inter-Regular"), url(https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZJhiI2B.woff2) format('woff2');
|
|
18
|
-
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
body {
|
|
23
|
-
font-family: "Inter", sans-serif !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
body,
|
|
27
|
-
table,
|
|
28
|
-
td,
|
|
29
|
-
a {
|
|
30
|
-
-ms-text-size-adjust: 100%;
|
|
31
|
-
-webkit-text-size-adjust: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
table,
|
|
35
|
-
td {
|
|
36
|
-
mso-table-rspace: 0pt;
|
|
37
|
-
mso-table-lspace: 0pt;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
img {
|
|
41
|
-
-ms-interpolation-mode: bicubic;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
a[x-apple-data-detectors] {
|
|
45
|
-
font-family: "inherit" !important;
|
|
46
|
-
font-size: inherit !important;
|
|
47
|
-
font-weight: inherit !important;
|
|
48
|
-
line-height: inherit !important;
|
|
49
|
-
color: inherit !important;
|
|
50
|
-
text-decoration: none !important;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
div[style*="margin: 16px 0;"
|
|
55
|
-
|
|
56
|
-
] {
|
|
57
|
-
margin: 0 !important;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
body {
|
|
61
|
-
width: 100% !important;
|
|
62
|
-
height: 100% !important;
|
|
63
|
-
padding: 0 !important;
|
|
64
|
-
margin: 0 !important;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
table {
|
|
69
|
-
border-collapse: collapse !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
a {
|
|
73
|
-
color: #1a82e2;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
img {
|
|
77
|
-
height: auto;
|
|
78
|
-
line-height: 100%;
|
|
79
|
-
text-decoration: none;
|
|
80
|
-
border: 0;
|
|
81
|
-
outline: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.flagText {
|
|
85
|
-
/* font-family: 'Inter'; */
|
|
86
|
-
/* color: #667085 !important; */
|
|
87
|
-
font-size: 16px;
|
|
88
|
-
font-weight: 600;
|
|
89
|
-
line-height: 24px;
|
|
90
|
-
text-align: left;
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
</style>
|
|
94
|
-
|
|
95
|
-
</head>
|
|
96
|
-
|
|
97
|
-
<body style="background-color: #dbe5ea;">
|
|
98
|
-
|
|
99
|
-
<div class="preheader"
|
|
100
|
-
style="display: none; max-width: 0; max-height: 0; overflow: hidden; font-size: 1px; line-height: 1px; color: #fff; opacity: 0;">
|
|
101
|
-
Email Summary (Hidden)
|
|
102
|
-
</div>
|
|
103
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="padding-left:10px;padding-right:10px">
|
|
104
|
-
<tr>
|
|
105
|
-
<td bgcolor="#dbe5ea" style="padding:32px 10px 0 10px">
|
|
106
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 680px;" align="center">
|
|
107
|
-
<tr>
|
|
108
|
-
<td class="o_bg-white o_px-md o_py-md o_sans o_text"
|
|
109
|
-
style="margin-top: 0px;margin-bottom: 0px;font-size: 16px;line-height: 24px;background-color: #ffffff;padding-left: 18px;padding-right: 24px;padding-top: 24px;padding-bottom: 24px;">
|
|
110
|
-
<p style="margin-top: 0px;margin-bottom: 0px;"><a class="o_text-white"
|
|
111
|
-
href="https://tangoeye.ai/"
|
|
112
|
-
style="text-decoration: none;outline: none;color: #ffffff;"><img
|
|
113
|
-
src="https://devtangoretail-api.tangoeye.ai/logo.png" width="200" height="100"
|
|
114
|
-
alt="SimpleApp"
|
|
115
|
-
style="-ms-interpolation-mode: bicubic;vertical-align: middle;border: 0;line-height: 100%;height: auto;outline: none;text-decoration: none;"></a>
|
|
116
|
-
</p>
|
|
117
|
-
</td>
|
|
118
|
-
</tr>
|
|
119
|
-
<tr>
|
|
120
|
-
<td align="left" bgcolor="#ffffff"
|
|
121
|
-
style="padding-left: 30px;padding-right: 24px; font-size: 14px; line-height: 24px;">
|
|
122
|
-
<p class="o_heading o_mb-xxs"
|
|
123
|
-
style="width: 624px;height: 0px;border: 1px solid #CBD5E1;flex: none;order: 1;flex-grow: 0;">
|
|
124
|
-
</p>
|
|
125
|
-
</td>
|
|
126
|
-
</tr>
|
|
127
|
-
<tr>
|
|
128
|
-
<td class="o_bg-white o_px-md o_py-xl o_xs-py-md"
|
|
129
|
-
style="background-color: #ffffff;padding-left: 30px;padding-right: 24px;padding-bottom: 10px;">
|
|
130
|
-
<div class="o_col-6s o_sans o_text-md o_text-light o_center"
|
|
131
|
-
style="margin-top: 0px;margin-bottom: 0px;font-size: 16px;line-height: 28px;color: #82899a;">
|
|
132
|
-
<span class="o_heading o_text-dark o_mb-xxs"
|
|
133
|
-
style="font-weight: 400;margin-top: 0px;margin-bottom: 4px;color: #121A26;line-height: 140%;">
|
|
134
|
-
Hi,<br />
|
|
135
|
-
Flag has been detected based on the response submitted in a recently completed
|
|
136
|
-
checklist for Store {{data.storeName}}. Review
|
|
137
|
-
the flagged item and take the necessary action from the dashboard.
|
|
138
|
-
</span>
|
|
139
|
-
</div>
|
|
140
|
-
</td>
|
|
141
|
-
</tr>
|
|
142
|
-
<tr>
|
|
143
|
-
<td class="o_bg-white o_px-md o_py-xl o_xs-py-md"
|
|
144
|
-
style="background-color: #ffffff;padding-left: 30px;padding-right: 24px;padding-bottom: 10px;">
|
|
145
|
-
<div class="o_col-6s o_sans o_text-md o_text-light o_center"
|
|
146
|
-
style="margin-top: 0px;margin-bottom: 0px;font-size: 16px;line-height: 28px;color: #82899a;">
|
|
147
|
-
<span class="o_heading o_text-dark o_mb-xxs"
|
|
148
|
-
style="font-weight: 400;margin-top: 0px;margin-bottom: 4px;color: #121A26;line-height: 140%;">
|
|
149
|
-
Details of the checklist are as follows:
|
|
150
|
-
</span>
|
|
151
|
-
</div>
|
|
152
|
-
</td>
|
|
153
|
-
</tr>
|
|
154
|
-
</table>
|
|
155
|
-
</td>
|
|
156
|
-
</tr>
|
|
157
|
-
<tr>
|
|
158
|
-
<td align="center" bgcolor="#dbe5ea" style="padding:0 10px 0 10px">
|
|
159
|
-
<table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%"
|
|
160
|
-
style="max-width: 680px;">
|
|
161
|
-
<tr bgcolor="#ffffff" style="border:none;margin-top:0px;">
|
|
162
|
-
<td class="flagText" style="padding-left:30px; line-height: 24px;color:#000000">Store Name :
|
|
163
|
-
</td>
|
|
164
|
-
<td></td>
|
|
165
|
-
<td></td>
|
|
166
|
-
<td class="flagText">{{data.storeName}}</td>
|
|
167
|
-
</tr>
|
|
168
|
-
<tr bgcolor="#ffffff" style="border:none;margin-top:0px;">
|
|
169
|
-
<td class="flagText" style="padding-left:30px; line-height: 24px;">Checklist Name :</td>
|
|
170
|
-
<td></td>
|
|
171
|
-
<td></td>
|
|
172
|
-
<td class="flagText">{{data.checklistName}}%</td>
|
|
173
|
-
</tr>
|
|
174
|
-
|
|
175
|
-
<tr bgcolor="#ffffff" style="border:none;margin-top:0px;">
|
|
176
|
-
<td class="flagText" style="padding-left:30px; line-height: 24px;">No of Flags :</td>
|
|
177
|
-
<td></td>
|
|
178
|
-
<td></td>
|
|
179
|
-
<td class="flagText">{{data.flagCount}}</td>
|
|
180
|
-
</tr>
|
|
181
|
-
<tr bgcolor="#ffffff" style="border:none;margin-top:0px;">
|
|
182
|
-
<td class="flagText" style="padding-left:30px; line-height: 24px;">Submitted By :</td>
|
|
183
|
-
<td></td>
|
|
184
|
-
<td></td>
|
|
185
|
-
<td class="flagText">{{data.submittedBy}}</td>
|
|
186
|
-
</tr>
|
|
187
|
-
<tr bgcolor="#ffffff" style="border:none;margin-top:0px;">
|
|
188
|
-
<td class="flagText" style="padding-left:30px; line-height: 24px;">Date & Time :</td>
|
|
189
|
-
<td></td>
|
|
190
|
-
<td></td>
|
|
191
|
-
<td class="flagText">{{data.time}}</td>
|
|
192
|
-
</tr>
|
|
193
|
-
</table>
|
|
194
|
-
</td>
|
|
195
|
-
</tr>
|
|
196
|
-
<tr>
|
|
197
|
-
<td align="center" bgcolor="#dbe5ea" style="padding:0 10px 0 10px">
|
|
198
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 680px;">
|
|
199
|
-
<tr>
|
|
200
|
-
<td bgcolor="#ffffff" style="padding: 20px;padding-top:15px;padding-left:30px;">
|
|
201
|
-
<table border="0" cellpadding="0" cellspacing="0">
|
|
202
|
-
<tr>
|
|
203
|
-
<td align="center" bgcolor="#00A3FF" style="border-radius: 6px;height:50px;">
|
|
204
|
-
<a href="{{data.domain}}" target="_blank"
|
|
205
|
-
style="display: inline-block; padding: 16px 36px; font-size: 16px; color: #ffffff; text-decoration: none; border-radius: 6px;">View
|
|
206
|
-
Flags
|
|
207
|
-
</a>
|
|
208
|
-
</td>
|
|
209
|
-
</tr>
|
|
210
|
-
</table>
|
|
211
|
-
</td>
|
|
212
|
-
</tr>
|
|
213
|
-
</table>
|
|
214
|
-
</td>
|
|
215
|
-
</tr>
|
|
216
|
-
<tr>
|
|
217
|
-
<td align="center" bgcolor="#dbe5ea" style="padding:0 10px 32px 10px;">
|
|
218
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 680px;">
|
|
219
|
-
<tr>
|
|
220
|
-
<td class="o_bg-white o_px-md o_py-xl o_xs-py-md"
|
|
221
|
-
style="background-color: #ffffff;padding-left: 30px;padding-right: 24px;padding-top:5px">
|
|
222
|
-
<div class="o_col-6s o_sans o_text-md o_text-light o_center"
|
|
223
|
-
style="margin-top: 0px;margin-bottom: 0px;font-size: 12px;color: #202B3C;font-style: normal;font-weight: 400;font-size: 12px;line-height: 150%;">
|
|
224
|
-
<p>
|
|
225
|
-
If you have any questions or need assistance, please reach out to us at
|
|
226
|
-
support@tangotech.co.in.
|
|
227
|
-
</p>
|
|
228
|
-
</div>
|
|
229
|
-
</td>
|
|
230
|
-
</tr>
|
|
231
|
-
<tr>
|
|
232
|
-
<td class="o_bg-white o_px-md o_py-xl o_xs-py-md"
|
|
233
|
-
style="background-color: #ffffff;padding-left: 30px;padding-right: 24px;padding-bottom:15px">
|
|
234
|
-
<div class="o_col-6s o_sans o_text-md o_text-light o_center"
|
|
235
|
-
style="margin-top: 0px;margin-bottom: 0px;font-size: 12px;color: #202B3C;font-style: normal;font-weight: 400;font-size: 12px;line-height: 150%;">
|
|
236
|
-
<p>
|
|
237
|
-
© Tango Eye. All rights reserved.</p>
|
|
238
|
-
</div>
|
|
239
|
-
</td>
|
|
240
|
-
</tr>
|
|
241
|
-
</table>
|
|
242
|
-
</td>
|
|
243
|
-
</tr>
|
|
244
|
-
|
|
245
|
-
</table>
|
|
246
|
-
|
|
247
|
-
</body>
|
|
248
|
-
|
|
249
|
-
</html>
|
package/src/hbs/template.hbs
DELETED
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<title>{{data.checkListName}}</title>
|
|
6
|
-
<style type="text/css">
|
|
7
|
-
.pdffile {
|
|
8
|
-
position: relative;
|
|
9
|
-
font-family: Inter !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.sectionname {
|
|
13
|
-
width: 300px;
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
Line height: 30px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.pdfcontent {
|
|
20
|
-
font-family: Inter !important;
|
|
21
|
-
color: #000 !important;
|
|
22
|
-
margin: 10px 20px 20px 20px !important;
|
|
23
|
-
padding-bottom: 60pt !important;
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.question {
|
|
28
|
-
font-size: 12px !important;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
line-height: 30px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.pdfheader {
|
|
35
|
-
padding-left: 20px !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.headerimage {
|
|
39
|
-
width: 100px !important;
|
|
40
|
-
height: 60px !important;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.headertitle {
|
|
44
|
-
color: #000 !important;
|
|
45
|
-
font-size: 10px !important;
|
|
46
|
-
font-weight: 600 !important;
|
|
47
|
-
width: 120px;
|
|
48
|
-
display: inline-block;
|
|
49
|
-
line-height: 20px !important;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.date {
|
|
53
|
-
width: 40px !important;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.headercontent {
|
|
57
|
-
color: #000;
|
|
58
|
-
font-size: 10px !important;
|
|
59
|
-
font-weight: 400;
|
|
60
|
-
line-height: 28px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.dateandtime {
|
|
64
|
-
padding-right: 5px !important;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.Reference {
|
|
68
|
-
font-size: 10px !important;
|
|
69
|
-
font-weight: 400 !important;
|
|
70
|
-
color:#101828;
|
|
71
|
-
line-height: 24px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.horizondal-line {
|
|
75
|
-
color: var(--gray-400, #98A2B3) !important;
|
|
76
|
-
min-width:75% !important;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
hr {
|
|
80
|
-
margin-top: -10px;
|
|
81
|
-
margin-left: 15%
|
|
82
|
-
}
|
|
83
|
-
#agreed {
|
|
84
|
-
font-size: 10px !important;
|
|
85
|
-
font-style: italic;
|
|
86
|
-
font-weight: 500 !important;
|
|
87
|
-
line-height: 28px;
|
|
88
|
-
color:#000;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
#remarks {
|
|
92
|
-
font-size: 10px !important;
|
|
93
|
-
font-weight: 400;
|
|
94
|
-
line-height: 28px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.text-center {
|
|
98
|
-
text-align: center;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.align-items-center {
|
|
102
|
-
align-items: center;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.justify-content-between {
|
|
106
|
-
justify-content: space-between;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.justify-content-start {
|
|
110
|
-
justify-content: start;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.mx-10 {
|
|
114
|
-
margin: 10px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.mb-6 {
|
|
118
|
-
margin-bottom: 4px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.mt-8 {
|
|
122
|
-
margin-top: 8px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.px-4 {
|
|
126
|
-
padding: 4px;
|
|
127
|
-
}
|
|
128
|
-
.headertitle.questionText {
|
|
129
|
-
width:118px !important;
|
|
130
|
-
}
|
|
131
|
-
.headertitle.submittedText {
|
|
132
|
-
width:116px !important;
|
|
133
|
-
}
|
|
134
|
-
</style>
|
|
135
|
-
</head>
|
|
136
|
-
|
|
137
|
-
<body>
|
|
138
|
-
<div class="pdffile">
|
|
139
|
-
<div class="pdfheader">
|
|
140
|
-
{{#neq data.brandLogo ''}}
|
|
141
|
-
<div class="text-center mb-6 mt-8">
|
|
142
|
-
<img class="headerimage" src="{{data.brandLogo}}" alt="{{data.brandName}}"/>
|
|
143
|
-
</div>
|
|
144
|
-
{{/neq}}
|
|
145
|
-
{{#eq data.brandLogo ''}}
|
|
146
|
-
<div class="text-center mb-6 mt-8 mx-10">
|
|
147
|
-
{{data.brandName}}
|
|
148
|
-
</div>
|
|
149
|
-
{{/eq}}
|
|
150
|
-
<div class="mb-6">
|
|
151
|
-
<span class="headertitle">Store Name:</span><span class="headercontent">{{data.storeName}}
|
|
152
|
-
{{data.city}} {{data.state}} {{data.country}}</span>
|
|
153
|
-
</div>
|
|
154
|
-
<div class="mb-6">
|
|
155
|
-
<span class="headertitle">Checklist Name:</span><span
|
|
156
|
-
class="headercontent">{{data.checkListName}}</span><br>
|
|
157
|
-
</div>
|
|
158
|
-
<table style="border:none;width:100%">
|
|
159
|
-
<tr style="width:100%">
|
|
160
|
-
<td style="width:50%">
|
|
161
|
-
<div class="mb-6">
|
|
162
|
-
<div><span class="headertitle questionText">No of Questions:</span><span
|
|
163
|
-
class="headercontent">{{data.questionCount}}</span></div>
|
|
164
|
-
</div>
|
|
165
|
-
</td>
|
|
166
|
-
<td style="width:50%;float:right">
|
|
167
|
-
<div class="dateandtime mb-6">
|
|
168
|
-
<div><span class="headertitle date">Date:</span><span
|
|
169
|
-
class="headercontent">{{data.submitDate }}</span></div>
|
|
170
|
-
</div>
|
|
171
|
-
</td>
|
|
172
|
-
</tr>
|
|
173
|
-
<tr style="width:100%">
|
|
174
|
-
<td style="width:50%">
|
|
175
|
-
<div class="mb-6">
|
|
176
|
-
<div><span class="headertitle submittedText">Submitted By:</span>
|
|
177
|
-
<span class="headercontent">{{data.userName}}</span>
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
</td>
|
|
181
|
-
<td style="width:50%;float:right">
|
|
182
|
-
<div class="dateandtime mb-6">
|
|
183
|
-
<div><span class="headertitle date">Time:</span><span
|
|
184
|
-
class="headercontent">{{data.submitTime
|
|
185
|
-
}}</span></div>
|
|
186
|
-
</div>
|
|
187
|
-
</td>
|
|
188
|
-
</tr>
|
|
189
|
-
</table>
|
|
190
|
-
</div>
|
|
191
|
-
{{#if data.questionAnswers.length}}
|
|
192
|
-
{{#each data.questionAnswers}}
|
|
193
|
-
<div class="pdfcontent">
|
|
194
|
-
<div style="padding-bottom:20px;">
|
|
195
|
-
<span class="sectionname">{{sectionName}} </span> <div class="horizondal-line">
|
|
196
|
-
<hr />
|
|
197
|
-
</div>
|
|
198
|
-
</div>
|
|
199
|
-
{{#each questions}}
|
|
200
|
-
<div style="padding-bottom:20px">
|
|
201
|
-
<span class="question">{{qno}}.</span> <span class="question">{{qname}}</span>
|
|
202
|
-
{{#each userAnswer}}
|
|
203
|
-
<div class="px-4 answer">
|
|
204
|
-
{{#neq ../answerType 'video'}}
|
|
205
|
-
{{#neq ../answerType 'image'}}
|
|
206
|
-
{{#neq ../answerType 'descriptiveImage'}}
|
|
207
|
-
{{#neq ../answerType 'multipleImage'}}
|
|
208
|
-
{{#eq sopFlag true }}
|
|
209
|
-
<span id="agreed" style="color:red">{{answer}}</span><br>
|
|
210
|
-
{{/eq}}
|
|
211
|
-
{{#eq sopFlag false }}
|
|
212
|
-
<span id="agreed">{{answer}}</span><br>
|
|
213
|
-
{{/eq}}
|
|
214
|
-
{{#neq validationAnswer ''}}
|
|
215
|
-
{{#eq validationType 'Capture Image'}}
|
|
216
|
-
<img src = "{{validationAnswer}}" alt="test" width="200" height="180">
|
|
217
|
-
{{/eq}}
|
|
218
|
-
{{#neq validationType 'Capture Image'}}
|
|
219
|
-
{{validationAnswer}}
|
|
220
|
-
{{/neq}}
|
|
221
|
-
{{/neq}}
|
|
222
|
-
{{/neq}}
|
|
223
|
-
{{/neq}}
|
|
224
|
-
{{/neq}}
|
|
225
|
-
{{/neq}}
|
|
226
|
-
{{#eq ../answerType 'video'}}
|
|
227
|
-
<a href="{{answer}}" target="_blank" style="text-decoration: underline;color:#0085D2"
|
|
228
|
-
id="agreed">{{answer}}</a><br>
|
|
229
|
-
{{/eq}}
|
|
230
|
-
{{#eq ../answerType 'image'}}
|
|
231
|
-
{{!-- {{#each ../answers}} --}}
|
|
232
|
-
<table style="width:100%">
|
|
233
|
-
<tr>
|
|
234
|
-
{{#neq referenceImage ''}}
|
|
235
|
-
<td style="width:50%">
|
|
236
|
-
<div class="Reference"><span>Reference Image</span><br>
|
|
237
|
-
<img src="{{referenceImage}}" width="200" height="180" />
|
|
238
|
-
</div>
|
|
239
|
-
</td>
|
|
240
|
-
{{/neq}}
|
|
241
|
-
<td style="width:50%">
|
|
242
|
-
<div class="Reference"><span>Uploaded Image</span><br>
|
|
243
|
-
<img src="{{answer}}" width="200" height="180" />
|
|
244
|
-
</div>
|
|
245
|
-
</td>
|
|
246
|
-
</tr>
|
|
247
|
-
</table>
|
|
248
|
-
{{!-- {{/each}} --}}
|
|
249
|
-
{{/eq}}
|
|
250
|
-
{{#eq ../answerType 'multipleImage'}}
|
|
251
|
-
{{!-- {{#each ../answers}} --}}
|
|
252
|
-
<table style="width:100%">
|
|
253
|
-
<tr>
|
|
254
|
-
{{#neq referenceImage ''}}
|
|
255
|
-
<td style="width:50%">
|
|
256
|
-
<div class="Reference"><span>Reference Image</span><br>
|
|
257
|
-
<img src="{{referenceImage}}" width="200" height="180" />
|
|
258
|
-
</div>
|
|
259
|
-
</td>
|
|
260
|
-
{{/neq}}
|
|
261
|
-
<td style="width:50%">
|
|
262
|
-
<div class="Reference"><span>Uploaded Image</span><br>
|
|
263
|
-
<img src="{{answer}}" width="200" height="180" />
|
|
264
|
-
</div>
|
|
265
|
-
</td>
|
|
266
|
-
</tr>
|
|
267
|
-
</table>
|
|
268
|
-
{{!-- {{/each}} --}}
|
|
269
|
-
{{/eq}}
|
|
270
|
-
{{#eq ../answerType 'image/video'}}
|
|
271
|
-
{{!-- {{#each ../answers}} --}}
|
|
272
|
-
<table style="width:100%">
|
|
273
|
-
<tr>
|
|
274
|
-
{{#neq referenceImage ''}}
|
|
275
|
-
<td style="width:50%">
|
|
276
|
-
<div class="Reference"><span>Reference Image</span><br>
|
|
277
|
-
<img src="{{referenceImage}}" width="200" height="180" />
|
|
278
|
-
</div>
|
|
279
|
-
</td>
|
|
280
|
-
{{/neq}}
|
|
281
|
-
<td style="width:50%">
|
|
282
|
-
<div class="Reference"><span>Uploaded Image</span><br>
|
|
283
|
-
<img src="{{answer}}" width="200" height="180" />
|
|
284
|
-
</div>
|
|
285
|
-
</td>
|
|
286
|
-
</tr>
|
|
287
|
-
</table>
|
|
288
|
-
{{!-- {{/each}} --}}
|
|
289
|
-
{{/eq}}
|
|
290
|
-
{{#eq ../answerType 'descriptiveImage'}}
|
|
291
|
-
{{!-- {{#each ../answers}} --}}
|
|
292
|
-
<table style="width:100%">
|
|
293
|
-
<tr>
|
|
294
|
-
{{#neq referenceImage ''}}
|
|
295
|
-
<td style="width:50%">
|
|
296
|
-
<div class="Reference"><span>Reference Image</span><br>
|
|
297
|
-
<img src="{{referenceImage}}" width="200" height="180" />
|
|
298
|
-
</div>
|
|
299
|
-
</td>
|
|
300
|
-
{{/neq}}
|
|
301
|
-
<td style="width:50%">
|
|
302
|
-
<div class="Reference"><span>Uploaded Image</span><br>
|
|
303
|
-
<img src="{{answer}}" width="200" height="180" />
|
|
304
|
-
</div>
|
|
305
|
-
</td>
|
|
306
|
-
</tr>
|
|
307
|
-
</table>
|
|
308
|
-
{{!-- {{/each}} --}}
|
|
309
|
-
{{/eq}}
|
|
310
|
-
</div>
|
|
311
|
-
{{/each}}
|
|
312
|
-
{{#neq answerType 'descriptive'}}
|
|
313
|
-
{{#neq remarks ''}}
|
|
314
|
-
<div class="mt-8">
|
|
315
|
-
<span id="remarks">Remarks: {{remarks}}</span><br>
|
|
316
|
-
</div>
|
|
317
|
-
{{/neq}}
|
|
318
|
-
{{/neq}}
|
|
319
|
-
</div>
|
|
320
|
-
{{/each}}
|
|
321
|
-
</div>
|
|
322
|
-
{{/each}}
|
|
323
|
-
{{/if}}
|
|
324
|
-
</div>
|
|
325
|
-
</body>
|
|
326
|
-
|
|
327
|
-
</html>
|