@clink/emails 1.2.0 → 1.2.2

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.
@@ -141,32 +141,21 @@
141
141
  <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
142
142
  <tbody>
143
143
  <tr>
144
- <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;">
144
+ <td style="direction:ltr;font-size:0px;padding:0px;padding-bottom:10px;text-align:center;">
145
145
  <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
146
146
 
147
147
  <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
148
148
 
149
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
150
- <tbody>
151
- <tr>
152
- <td style="vertical-align:top;padding-bottom:20px;">
153
-
154
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
149
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
155
150
  <tbody>
156
151
 
157
152
  <tr>
158
153
  <td align="left" style="font-size:0px;padding:0px 24px;word-break:break-word;">
159
154
 
160
155
  <div style="font-family:Arial, sans-serif;font-size:16px;line-height:24px;text-align:left;color:#222730;"><p style="line-height: 24px; margin: 16px
161
- 0px;">
162
- </p><h2 style="font-size: 31px; line-height: 110%; font-weight: 700; margin: 24px 0px 0px;">Udbetalingsopgørelse</h2>
163
- <p style="line-height: 24px; margin: 16px
164
- 0px;"></p>
156
+ 0px;">Kære kunde,</p>
165
157
  <p style="line-height: 24px; margin: 16px
166
- 0px;">
167
- {{ place.title }}
168
- <br>{{ todayDateshort }}
169
- </p></div>
158
+ 0px;">Hermed fremsendes din udbetalingsopgørelse. Udbetalingen forventes ankommet på din konto den {{payout.createdDate}}.</p></div>
170
159
 
171
160
  </td>
172
161
  </tr>
@@ -174,11 +163,6 @@
174
163
  </tbody>
175
164
  </table>
176
165
 
177
- </td>
178
- </tr>
179
- </tbody>
180
- </table>
181
-
182
166
  </div>
183
167
 
184
168
  <!--[if mso | IE]></td></tr></table><![endif]-->
@@ -203,132 +187,30 @@
203
187
 
204
188
  <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
205
189
 
206
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
207
- <tbody>
208
- <tr>
209
- <td style="vertical-align:top;padding-bottom:40px;">
210
-
211
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
190
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
212
191
  <tbody>
213
192
 
214
193
  <tr>
215
- <td align="left" style="font-size:0px;padding:0px 24px;word-break:break-word;">
194
+ <td align="left" class="btn-link" style="font-size:0px;padding:10px 25px;word-break:break-word;">
216
195
 
217
- <table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#222730;font-family:Arial, sans-serif;font-size:16px;line-height:24px;table-layout:auto;width:100%;border:none;">
218
- <tr style="border-bottom: 1px solid #e2e2e2">
219
- <td style="width:50%; padding: 5px 0">Beløb</td>
220
- <td style="width:50%; padding: 5px 0;text-align:right;">{{ payout.amount }}</td>
221
- </tr>
222
- <tr style="border-bottom: 1px solid #e2e2e2">
223
- <td style="padding: 5px 0">Bankkonto</td>
224
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.bankAccount }}</td>
225
- </tr>
226
- <tr style="border-bottom: 1px solid #e2e2e2">
227
- <td style="padding: 5px 0">Udbetaling oprettet</td>
228
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.createdDate }}</td>
229
- </tr>
230
- <tr style="border-bottom: 1px solid #e2e2e2">
231
- <td style="padding: 5px 0">Forventet ankomst</td>
232
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.arrivalDate }}</td>
233
- </tr>
234
- <tr>
235
- <td style="padding: 5px 0">Status</td>
236
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.status }}</td>
237
- </tr>
238
- </table>
239
-
240
- </td>
241
- </tr>
242
-
243
- </tbody>
244
- </table>
245
-
196
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;line-height:100%;">
197
+ <tbody>
198
+ <tr>
199
+ <td align="center" bgcolor="#000000" role="presentation" style="border:none;border-radius:999px;cursor:auto;mso-padding-alt:10px 25px;background:#000000;" valign="middle">
200
+ <a href="{{ payout.payoutURL }}" style="background-color: #FA3232; align: left; display: inline-block; background: #000000; color: #ffffff; font-family: Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 24px; margin: 0; text-decoration: none; text-transform: none; padding: 10px 25px; mso-padding-alt: 0px; border-radius: 999px;" target="_blank">
201
+ Se udbetalingsopgørelse Nuento
202
+ </a>
246
203
  </td>
247
204
  </tr>
248
205
  </tbody>
249
206
  </table>
250
207
 
251
- </div>
252
-
253
- <!--[if mso | IE]></td></tr></table><![endif]-->
254
- </td>
255
- </tr>
256
- </tbody>
257
- </table>
258
-
259
- </div>
260
-
261
-
262
- <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#F4F9FC" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
263
-
264
-
265
- <div style="background:#F4F9FC;background-color:#F4F9FC;margin:0px auto;max-width:600px;">
266
-
267
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F4F9FC;background-color:#F4F9FC;width:100%;">
268
- <tbody>
269
- <tr>
270
- <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;">
271
- <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
272
-
273
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
274
-
275
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
276
- <tbody>
277
- <tr>
278
- <td style="vertical-align:top;padding-bottom:10px;">
279
-
280
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
281
- <tbody>
282
-
283
- <tr>
284
- <td align="left" style="font-size:0px;padding:0px 24px;word-break:break-word;">
285
-
286
- <table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#222730;font-family:Arial, sans-serif;font-size:16px;line-height:24px;table-layout:auto;width:100%;border:none;">
287
- <tr>
288
- <td colspan="5" style="padding: 10px 0">
289
- <font size="4"><b style="line-height: 24px;">Betalingsoversigt</b></font>
290
- </td>
291
- </tr>
292
- <tr style="border-bottom: 1px solid #e2e2e2; font-size:14px">
293
- <td style="width:62%; padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">Beskrivelse</b></td>
294
- <td style="width:19%; padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">Betalingsdato</b></td>
295
- <td style="width:19%; padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">Beløb</b></td>
296
- </tr>
297
- {{#each payment}}
298
- <tr style="font-size:14px">
299
- <td style="padding: 10px 8px 0 0" align="left">{{{ this.description }}}</td>
300
- <td style="padding: 10px 8px 0 0" align="left">{{ this.paymentDate }}</td>
301
- <td style="padding: 10px 8px 0 0" align="left">{{ this.paymentAmount }}</td>
302
- </tr>
303
- {{/each}}
304
- <tr style="font-size:14px">
305
- <td style="padding: 20px 0 0 0" align="left"></td>
306
- <td style="padding: 20px 0 0 0" align="left">I alt</td>
307
- <td style="padding: 20px 0 0 0" align="left">{{ payout.amountWithoutVat }}</td>
308
- </tr>
309
- <tr style="font-size:14px">
310
- <td style="padding: 10px 0 0 0" align="left"></td>
311
- <td style="padding: 10px 0 0 0" align="left">Moms (25%)</td>
312
- <td style="padding: 10px 0 0 0" align="left">{{ payout.vatAmount }}</td>
313
- </tr>
314
- <tr style="font-size:14px">
315
- <td style="padding: 10px 0 0 0" align="left"></td>
316
- <td style="padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">I alt inkl. moms</b></td>
317
- <td style="padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">{{ payout.amount }}</b></td>
318
- </tr>
319
- </table>
320
-
321
208
  </td>
322
209
  </tr>
323
210
 
324
211
  </tbody>
325
212
  </table>
326
213
 
327
- </td>
328
- </tr>
329
- </tbody>
330
- </table>
331
-
332
214
  </div>
333
215
 
334
216
  <!--[if mso | IE]></td></tr></table><![endif]-->
@@ -348,17 +230,12 @@
348
230
  <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
349
231
  <tbody>
350
232
  <tr>
351
- <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;">
233
+ <td style="direction:ltr;font-size:0px;padding:0px;padding-bottom:10px;padding-top:10px;text-align:center;">
352
234
  <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
353
235
 
354
236
  <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
355
237
 
356
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
357
- <tbody>
358
- <tr>
359
- <td style="vertical-align:top;padding-top:20px;padding-bottom:20px;">
360
-
361
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
238
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
362
239
  <tbody>
363
240
 
364
241
  <tr>
@@ -366,11 +243,16 @@
366
243
 
367
244
  <div style="font-family:Arial, sans-serif;font-size:16px;line-height:24px;text-align:left;color:#222730;"><p style="line-height: 24px; margin: 16px
368
245
  0px;">
369
- Du kan tilgå de enkelte bookinger/ordrer ved at trykke på det pågældende ID. Vær opmærksom på, at du skal være logget ind.
246
+ <font size="4"><b style="line-height: 24px;">Har du spørgsmål til din opgørelse?</b></font>
370
247
  </p>
371
248
  <p style="line-height: 24px; margin: 16px
372
249
  0px;">
373
- Har du ikke et login? kontakt os på tlf. 93 40 60 40 eller support@nuento.dk - så får vi det klaret i et snuptag!
250
+ tøv ikke med at kontakte os.
251
+ </p>
252
+ <p style="line-height: 24px; margin: 16px
253
+ 0px;">
254
+ Support@nuento.dk
255
+ <br><a href="tel:+4593406040" style="line-height: 24px; text-decoration: underline;">+45 93 40 60 40</a>
374
256
  </p></div>
375
257
 
376
258
  </td>
@@ -379,11 +261,6 @@
379
261
  </tbody>
380
262
  </table>
381
263
 
382
- </td>
383
- </tr>
384
- </tbody>
385
- </table>
386
-
387
264
  </div>
388
265
 
389
266
  <!--[if mso | IE]></td></tr></table><![endif]-->
@@ -141,32 +141,21 @@
141
141
  <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
142
142
  <tbody>
143
143
  <tr>
144
- <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;">
144
+ <td style="direction:ltr;font-size:0px;padding:0px;padding-bottom:10px;text-align:center;">
145
145
  <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
146
146
 
147
147
  <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
148
148
 
149
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
150
- <tbody>
151
- <tr>
152
- <td style="vertical-align:top;padding-bottom:20px;">
153
-
154
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
149
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
155
150
  <tbody>
156
151
 
157
152
  <tr>
158
153
  <td align="left" style="font-size:0px;padding:0px 24px;word-break:break-word;">
159
154
 
160
155
  <div style="font-family:Arial, sans-serif;font-size:16px;line-height:24px;text-align:left;color:#222730;"><p style="line-height: 24px; margin: 16px
161
- 0px;">
162
- </p><h2 style="font-size: 31px; line-height: 110%; font-weight: 700; margin: 24px 0px 0px;">Payout statement</h2>
163
- <p style="line-height: 24px; margin: 16px
164
- 0px;"></p>
156
+ 0px;">Dear customer,</p>
165
157
  <p style="line-height: 24px; margin: 16px
166
- 0px;">
167
- {{ place.title }}
168
- <br>{{ todayDateshort }}
169
- </p></div>
158
+ 0px;">Please find your payout statement enclosed. The payout is expected to arrive in your account on {{payout.createdDate}}.</p></div>
170
159
 
171
160
  </td>
172
161
  </tr>
@@ -174,11 +163,6 @@
174
163
  </tbody>
175
164
  </table>
176
165
 
177
- </td>
178
- </tr>
179
- </tbody>
180
- </table>
181
-
182
166
  </div>
183
167
 
184
168
  <!--[if mso | IE]></td></tr></table><![endif]-->
@@ -203,132 +187,30 @@
203
187
 
204
188
  <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
205
189
 
206
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
207
- <tbody>
208
- <tr>
209
- <td style="vertical-align:top;padding-bottom:40px;">
210
-
211
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
190
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
212
191
  <tbody>
213
192
 
214
193
  <tr>
215
- <td align="left" style="font-size:0px;padding:0px 24px;word-break:break-word;">
194
+ <td align="left" class="btn-link" style="font-size:0px;padding:10px 25px;word-break:break-word;">
216
195
 
217
- <table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#222730;font-family:Arial, sans-serif;font-size:16px;line-height:24px;table-layout:auto;width:100%;border:none;">
218
- <tr style="border-bottom: 1px solid #e2e2e2">
219
- <td style="width:50%; padding: 5px 0">Amount</td>
220
- <td style="width:50%; padding: 5px 0;text-align:right;">{{ payout.amount }}</td>
221
- </tr>
222
- <tr style="border-bottom: 1px solid #e2e2e2">
223
- <td style="padding: 5px 0">Bank account</td>
224
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.bankAccount }}</td>
225
- </tr>
226
- <tr style="border-bottom: 1px solid #e2e2e2">
227
- <td style="padding: 5px 0">Payout created</td>
228
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.createdDate }}</td>
229
- </tr>
230
- <tr style="border-bottom: 1px solid #e2e2e2">
231
- <td style="padding: 5px 0">Expected arrival</td>
232
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.arrivalDate }}</td>
233
- </tr>
234
- <tr>
235
- <td style="padding: 5px 0">Status</td>
236
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.status }}</td>
237
- </tr>
238
- </table>
239
-
240
- </td>
241
- </tr>
242
-
243
- </tbody>
244
- </table>
245
-
196
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;line-height:100%;">
197
+ <tbody>
198
+ <tr>
199
+ <td align="center" bgcolor="#000000" role="presentation" style="border:none;border-radius:999px;cursor:auto;mso-padding-alt:10px 25px;background:#000000;" valign="middle">
200
+ <a href="{{ payout.payoutURL }}" style="background-color: #FA3232; align: left; display: inline-block; background: #000000; color: #ffffff; font-family: Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 24px; margin: 0; text-decoration: none; text-transform: none; padding: 10px 25px; mso-padding-alt: 0px; border-radius: 999px;" target="_blank">
201
+ View payout statement on Nuento
202
+ </a>
246
203
  </td>
247
204
  </tr>
248
205
  </tbody>
249
206
  </table>
250
207
 
251
- </div>
252
-
253
- <!--[if mso | IE]></td></tr></table><![endif]-->
254
- </td>
255
- </tr>
256
- </tbody>
257
- </table>
258
-
259
- </div>
260
-
261
-
262
- <!--[if mso | IE]></td></tr></table></td></tr><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#F4F9FC" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
263
-
264
-
265
- <div style="background:#F4F9FC;background-color:#F4F9FC;margin:0px auto;max-width:600px;">
266
-
267
- <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F4F9FC;background-color:#F4F9FC;width:100%;">
268
- <tbody>
269
- <tr>
270
- <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;">
271
- <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
272
-
273
- <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
274
-
275
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
276
- <tbody>
277
- <tr>
278
- <td style="vertical-align:top;padding-bottom:10px;">
279
-
280
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
281
- <tbody>
282
-
283
- <tr>
284
- <td align="left" style="font-size:0px;padding:0px 24px;word-break:break-word;">
285
-
286
- <table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#222730;font-family:Arial, sans-serif;font-size:16px;line-height:24px;table-layout:auto;width:100%;border:none;">
287
- <tr>
288
- <td colspan="5" style="padding: 10px 0">
289
- <font size="4"><b style="line-height: 24px;">Payment overview</b></font>
290
- </td>
291
- </tr>
292
- <tr style="border-bottom: 1px solid #e2e2e2; font-size:14px">
293
- <td style="width:62%; padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">Description</b></td>
294
- <td style="width:19%; padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">Payment date</b></td>
295
- <td style="width:19%; padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">Amount</b></td>
296
- </tr>
297
- {{#each payment}}
298
- <tr style="font-size:14px">
299
- <td style="padding: 10px 8px 0 0" align="left">{{{ this.description }}}</td>
300
- <td style="padding: 10px 8px 0 0" align="left">{{ this.paymentDate }}</td>
301
- <td style="padding: 10px 8px 0 0" align="left">{{ this.paymentAmount }}</td>
302
- </tr>
303
- {{/each}}
304
- <tr style="font-size:14px">
305
- <td style="padding: 20px 0 0 0" align="left"></td>
306
- <td style="padding: 20px 0 0 0" align="left">Total</td>
307
- <td style="padding: 20px 0 0 0" align="left">{{ payout.amountWithoutVat }}</td>
308
- </tr>
309
- <tr style="font-size:14px">
310
- <td style="padding: 10px 0 0 0" align="left"></td>
311
- <td style="padding: 10px 0 0 0" align="left">VAT (25%)</td>
312
- <td style="padding: 10px 0 0 0" align="left">{{ payout.vatAmount }}</td>
313
- </tr>
314
- <tr style="font-size:14px">
315
- <td style="padding: 10px 0 0 0" align="left"></td>
316
- <td style="padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">Total incl. VAT</b></td>
317
- <td style="padding: 10px 0 0 0" align="left"><b style="line-height: 24px;">{{ payout.amount }}</b></td>
318
- </tr>
319
- </table>
320
-
321
208
  </td>
322
209
  </tr>
323
210
 
324
211
  </tbody>
325
212
  </table>
326
213
 
327
- </td>
328
- </tr>
329
- </tbody>
330
- </table>
331
-
332
214
  </div>
333
215
 
334
216
  <!--[if mso | IE]></td></tr></table><![endif]-->
@@ -348,17 +230,12 @@
348
230
  <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
349
231
  <tbody>
350
232
  <tr>
351
- <td style="direction:ltr;font-size:0px;padding:0px;text-align:center;">
233
+ <td style="direction:ltr;font-size:0px;padding:0px;padding-bottom:10px;padding-top:10px;text-align:center;">
352
234
  <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
353
235
 
354
236
  <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
355
237
 
356
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
357
- <tbody>
358
- <tr>
359
- <td style="vertical-align:top;padding-top:20px;padding-bottom:20px;">
360
-
361
- <table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
238
+ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
362
239
  <tbody>
363
240
 
364
241
  <tr>
@@ -366,11 +243,16 @@
366
243
 
367
244
  <div style="font-family:Arial, sans-serif;font-size:16px;line-height:24px;text-align:left;color:#222730;"><p style="line-height: 24px; margin: 16px
368
245
  0px;">
369
- You can access individual bookings/orders by clicking on the relevant ID. Please note that you must be logged in.
246
+ <font size="4"><b style="line-height: 24px;">Do you have questions about your statement?</b></font>
370
247
  </p>
371
248
  <p style="line-height: 24px; margin: 16px
372
249
  0px;">
373
- Don't have a login? Contact us at phone 93 40 60 40 or support@nuento.dk - and we'll get it sorted in no time!
250
+ Don't hesitate to contact us.
251
+ </p>
252
+ <p style="line-height: 24px; margin: 16px
253
+ 0px;">
254
+ Support@nuento.dk
255
+ <br><a href="tel:+4593406040" style="line-height: 24px; text-decoration: underline;">+45 93 40 60 40</a>
374
256
  </p></div>
375
257
 
376
258
  </td>
@@ -379,11 +261,6 @@
379
261
  </tbody>
380
262
  </table>
381
263
 
382
- </td>
383
- </tr>
384
- </tbody>
385
- </table>
386
-
387
264
  </div>
388
265
 
389
266
  <!--[if mso | IE]></td></tr></table><![endif]-->
@@ -153,11 +153,11 @@
153
153
  <td align="left" style="font-size:0px;padding:0px 24px;word-break:break-word;">
154
154
 
155
155
  <div style="font-family:Arial, sans-serif;font-size:16px;line-height:24px;text-align:left;color:#222730;"><p style="line-height: 24px; margin: 16px
156
- 0px;">Hi {{ user.name }}, {{ user.name }},</p>
156
+ 0px;">Hi {{ user.name }},</p>
157
157
  <p style="line-height: 24px; margin: 16px
158
- 0px;">[[registered_intro]]</p>
158
+ 0px;">Thanks for registering your business with Nuento. We've noted your request to be set up as a supplier under <b style="line-height: 24px;">{{supplier.name}}</b>, CVR <b style="line-height: 24px;">{{supplier.cvr}}</b>.</p>
159
159
  <p style="line-height: 24px; margin: 16px
160
- 0px;">[[registered_followup]]</p></div>
160
+ 0px;">We're working behind the scenes and will make sure you hear from us within 48 hours!</p></div>
161
161
 
162
162
  </td>
163
163
  </tr>
@@ -1,18 +1,8 @@
1
1
  {
2
2
  "subject": "Ny udbetaling fra Nuento",
3
- "payout_statement_heading": "Udbetalingsopgørelse",
4
- "amount_label": "Beløb",
5
- "bank_account_label": "Bankkonto",
6
- "payout_created_label": "Udbetaling oprettet",
7
- "expected_arrival_label": "Forventet ankomst",
8
- "status_label": "Status",
9
- "payment_overview_heading": "Betalingsoversigt",
10
- "description_label": "Beskrivelse",
11
- "payment_date_label": "Betalingsdato",
12
- "amount_column_label": "Beløb",
13
- "total_label": "I alt",
14
- "vat_label": "Moms (25%)",
15
- "total_incl_vat_label": "I alt inkl. moms",
16
- "payout_access_info": "Du kan tilgå de enkelte bookinger/ordrer ved at trykke på det pågældende ID. Vær opmærksom på, at du skal være logget ind.",
17
- "payout_no_login_info": "Har du ikke et login? Så kontakt os på tlf. 93 40 60 40 eller support@nuento.dk - så får vi det klaret i et snuptag!"
3
+ "greeting": "Kære kunde",
4
+ "intro_text": "Hermed fremsendes din udbetalingsopgørelse. Udbetalingen forventes ankommet på din konto den",
5
+ "button_text": "Se udbetalingsopgørelse på Nuento",
6
+ "questions_heading": "Har du spørgsmål til din opgørelse?",
7
+ "questions_text": " tøv ikke med at kontakte os."
18
8
  }
@@ -1,18 +1,8 @@
1
1
  {
2
2
  "subject": "New payout from Nuento",
3
- "payout_statement_heading": "Payout statement",
4
- "amount_label": "Amount",
5
- "bank_account_label": "Bank account",
6
- "payout_created_label": "Payout created",
7
- "expected_arrival_label": "Expected arrival",
8
- "status_label": "Status",
9
- "payment_overview_heading": "Payment overview",
10
- "description_label": "Description",
11
- "payment_date_label": "Payment date",
12
- "amount_column_label": "Amount",
13
- "total_label": "Total",
14
- "vat_label": "VAT (25%)",
15
- "total_incl_vat_label": "Total incl. VAT",
16
- "payout_access_info": "You can access individual bookings/orders by clicking on the relevant ID. Please note that you must be logged in.",
17
- "payout_no_login_info": "Don't have a login? Contact us at phone 93 40 60 40 or support@nuento.dk - and we'll get it sorted in no time!"
3
+ "greeting": "Dear customer",
4
+ "intro_text": "Please find your payout statement enclosed. The payout is expected to arrive in your account on",
5
+ "button_text": "View payout statement on Nuento",
6
+ "questions_heading": "Do you have questions about your statement?",
7
+ "questions_text": "Don't hesitate to contact us."
18
8
  }
@@ -1,89 +1,32 @@
1
- <mj-section>
2
- <mj-column padding-bottom="20px">
1
+ <mj-section padding-bottom="10px">
2
+ <mj-column>
3
3
  <mj-text>
4
- <p>
5
- <h2>[[payout_statement_heading]]</h2>
6
- </p>
7
- <p>
8
- {{ place.title }}
9
- <br>{{ todayDateshort }}
10
- </p>
4
+ <p>[[greeting]],</p>
5
+ <p>[[intro_text]] {{payout.createdDate}}.</p>
11
6
  </mj-text>
12
7
  </mj-column>
13
8
  </mj-section>
9
+
14
10
  <mj-section>
15
- <mj-column padding-bottom="40px">
16
- <mj-table>
17
- <tr style="border-bottom: 1px solid #e2e2e2">
18
- <td style="width:50%; padding: 5px 0">[[amount_label]]</td>
19
- <td style="width:50%; padding: 5px 0;text-align:right;">{{ payout.amount }}</td>
20
- </tr>
21
- <tr style="border-bottom: 1px solid #e2e2e2">
22
- <td style="padding: 5px 0">[[bank_account_label]]</td>
23
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.bankAccount }}</td>
24
- </tr>
25
- <tr style="border-bottom: 1px solid #e2e2e2">
26
- <td style="padding: 5px 0">[[payout_created_label]]</td>
27
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.createdDate }}</td>
28
- </tr>
29
- <tr style="border-bottom: 1px solid #e2e2e2">
30
- <td style="padding: 5px 0">[[expected_arrival_label]]</td>
31
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.arrivalDate }}</td>
32
- </tr>
33
- <tr>
34
- <td style="padding: 5px 0">[[status_label]]</td>
35
- <td style="padding: 5px 0;width: 1%;white-space: nowrap;text-align:right;">{{ payout.status }}</td>
36
- </tr>
37
- </mj-table>
11
+ <mj-column>
12
+ <mj-button css-class="btn-link" align="left" font-size="18px" font-weight="bold" align="left" color="#ffffff" background-color="#000000" href="{{ payout.payoutURL }}">
13
+ [[button_text]]
14
+ </mj-button>
38
15
  </mj-column>
39
16
  </mj-section>
40
17
 
41
- <mj-section background-color="#F4F9FC">
42
- <mj-column padding-bottom="10px">
43
- <mj-table>
44
- <tr>
45
- <td colspan="5" style="padding: 10px 0">
46
- <font size="4"><b>[[payment_overview_heading]]</b></font>
47
- </td>
48
- </tr>
49
- <tr style="border-bottom: 1px solid #e2e2e2; font-size:14px">
50
- <td style="width:62%; padding: 10px 0 0 0" align="left"><b>[[description_label]]</b></td>
51
- <td style="width:19%; padding: 10px 0 0 0" align="left"><b>[[payment_date_label]]</b></td>
52
- <td style="width:19%; padding: 10px 0 0 0" align="left"><b>[[amount_column_label]]</b></td>
53
- </tr>
54
- {{#each payment}}
55
- <tr style="font-size:14px">
56
- <td style="padding: 10px 8px 0 0" align="left">{{{ this.description }}}</td>
57
- <td style="padding: 10px 8px 0 0" align="left">{{ this.paymentDate }}</td>
58
- <td style="padding: 10px 8px 0 0" align="left">{{ this.paymentAmount }}</td>
59
- </tr>
60
- {{/each}}
61
- <tr style="font-size:14px">
62
- <td style="padding: 20px 0 0 0" align="left"></td>
63
- <td style="padding: 20px 0 0 0" align="left">[[total_label]]</td>
64
- <td style="padding: 20px 0 0 0" align="left">{{ payout.amountWithoutVat }}</td>
65
- </tr>
66
- <tr style="font-size:14px">
67
- <td style="padding: 10px 0 0 0" align="left"></td>
68
- <td style="padding: 10px 0 0 0" align="left">[[vat_label]]</td>
69
- <td style="padding: 10px 0 0 0" align="left">{{ payout.vatAmount }}</td>
70
- </tr>
71
- <tr style="font-size:14px">
72
- <td style="padding: 10px 0 0 0" align="left"></td>
73
- <td style="padding: 10px 0 0 0" align="left"><b>[[total_incl_vat_label]]</b></td>
74
- <td style="padding: 10px 0 0 0" align="left"><b>{{ payout.amount }}</b></td>
75
- </tr>
76
- </mj-table>
77
- </mj-column>
78
- </mj-section>
79
- <mj-section>
80
- <mj-column padding-top="20px" padding-bottom="20px">
18
+ <mj-section padding-top="10px" padding-bottom="10px">
19
+ <mj-column>
81
20
  <mj-text>
82
21
  <p>
83
- [[payout_access_info]]
22
+ <font size="4"><b>[[questions_heading]]</b></font>
23
+ </p>
24
+ <p>
25
+ [[questions_text]]
84
26
  </p>
85
27
  <p>
86
- [[payout_no_login_info]]
28
+ Support@nuento.dk
29
+ <br><a href="tel:+4593406040">+45 93 40 60 40</a>
87
30
  </p>
88
31
  </mj-text>
89
32
  </mj-column>
@@ -1,6 +1,6 @@
1
1
  {
2
- "subject": "Thanks! Weve registered you on Nuento.",
3
- "greeting": "Hi {{ user.name }},",
4
- "registration_confirmation": "Thanks for registering your business with Nuento. Weve noted your request to be set up as a supplier under <b>{{supplier.name}}</b>, CVR <b>{{supplier.cvr}}</b>.",
5
- "response_time_notice": "Were working behind the scenes and will make sure you hear from us within 48 hours!"
2
+ "subject": "Thanks! We've registered you on Nuento.",
3
+ "greeting": "Hi",
4
+ "registered_intro": "Thanks for registering your business with Nuento. We've noted your request to be set up as a supplier under <b>{{supplier.name}}</b>, CVR <b>{{supplier.cvr}}</b>.",
5
+ "registered_followup": "We're working behind the scenes and will make sure you hear from us within 48 hours!"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clink/emails",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [