tango-app-api-trax 3.9.43 → 3.9.44

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/src/hbs/flag.hbs CHANGED
@@ -132,9 +132,15 @@
132
132
  <span class="o_heading o_text-dark o_mb-xxs"
133
133
  style="font-weight: 400;margin-top: 0px;margin-bottom: 4px;color: #121A26;line-height: 140%;">
134
134
  Hi,<br />
135
+ {{#eq data.status 'submit'}}
135
136
  Flag has been detected based on the response submitted in a recently completed
136
- checklist for Store {{data.storeName}}. Review
137
+ checklist for {{#eq data.coverage 'store'}} Store{{/eq}} {{#eq data.coverage 'user'}} User{{/eq}} {{data.storeName}}. Review
137
138
  the flagged item and take the necessary action from the dashboard.
139
+ {{/eq}}
140
+ {{#neq data.status 'submit'}}
141
+ The scheduled checklist for {{#eq data.coverage 'store'}} Store{{/eq}} {{#eq data.coverage 'user'}} User{{/eq}} {{data.storeName}} has not been submitted within the expected time. Review the pending checklist
142
+ and take the necessary action from the dashboard
143
+ {{/neq}}
138
144
  </span>
139
145
  </div>
140
146
  </td>
@@ -159,7 +165,7 @@
159
165
  <table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%"
160
166
  style="max-width: 680px;">
161
167
  <tr bgcolor="#ffffff" style="border:none;margin-top:0px;">
162
- <td class="flagText" style="padding-left:30px; line-height: 24px;color:#000000">Store Name :
168
+ <td class="flagText" style="padding-left:30px; line-height: 24px;color:#000000">{{#eq data.coverage 'store'}}Store Name {{/eq}}{{#neq data.coverage 'store'}}User Name {{/neq}} :
163
169
  </td>
164
170
  <td></td>
165
171
  <td></td>
@@ -171,25 +177,40 @@
171
177
  <td></td>
172
178
  <td class="flagText">{{data.checklistName}}</td>
173
179
  </tr>
174
-
175
- <tr bgcolor="#ffffff" style="border:none;margin-top:3px;">
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}}{{#eq data.status 'submit'}}(RunAIFlag:{{data.runAIFlag}},QuestionFlag:{{data.questionFlag}}){{/eq}}</td>
180
- </tr>
181
- <tr bgcolor="#ffffff" style="border:none;margin-top:3px;">
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:3px;">
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>
180
+ {{#eq data.status 'submit'}}
181
+ <tr bgcolor="#ffffff" style="border:none;margin-top:3px;">
182
+ <td class="flagText" style="padding-left:30px; line-height: 24px;">No of Flags :</td>
183
+ <td></td>
184
+ <td></td>
185
+ <td class="flagText">{{data.flagCount}}{{#eq data.status 'submit'}}(RunAIFlag:{{data.runAIFlag}},QuestionFlag:{{data.questionFlag}}){{/eq}}</td>
186
+ </tr>
187
+ <tr bgcolor="#ffffff" style="border:none;margin-top:3px;">
188
+ <td class="flagText" style="padding-left:30px; line-height: 24px;">Submitted By :</td>
189
+ <td></td>
190
+ <td></td>
191
+ <td class="flagText">{{data.submittedBy}}</td>
192
+ </tr>
193
+ <tr bgcolor="#ffffff" style="border:none;margin-top:3px;">
194
+ <td class="flagText" style="padding-left:30px; line-height: 24px;">Date & Time :</td>
195
+ <td></td>
196
+ <td></td>
197
+ <td class="flagText">{{data.time}}</td>
198
+ </tr>
199
+ {{/eq}}
200
+ {{#neq data.status 'submit'}}
201
+ <tr bgcolor="#ffffff" style="border:none;margin-top:3px;">
202
+ <td class="flagText" style="padding-left:30px; line-height: 24px;">Scheduled Date & Time:</td>
203
+ <td></td>
204
+ <td></td>
205
+ <td class="flagText">{{data.scheduleEndTime}}</td>
206
+ </tr>
207
+ <tr bgcolor="#ffffff" style="border:none;margin-top:3px;">
208
+ <td class="flagText" style="padding-left:30px; line-height: 24px;">Flag Type :</td>
209
+ <td></td>
210
+ <td></td>
211
+ <td class="flagText">Not Submitted</td>
212
+ </tr>
213
+ {{/neq}}
193
214
  </table>
194
215
  </td>
195
216
  </tr>