-
Notifications
You must be signed in to change notification settings - Fork 0
/
LetterBuilder.hta
579 lines (496 loc) · 24.7 KB
/
LetterBuilder.hta
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
<!DOCTYPE HTML>
<html lang="en" dir="ltr" id="html">
<head>
<title id="applicationTitle">Letter Builder</title>
<HTA:APPLICATION id="LetterBuilder" BORDER="thin" BORDERSTYLE="normal" maximizeButton="yes" minimizeButton="yes" SINGLEINSTANCE="yes" SCROLLFLAT="flat" ICON="assets/favicon.ico" />
<meta charset="UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=9">
<!-- Include WET styles https://wet-boew.github.io/wet-boew-styleguide/index-en.html -->
<link href="Src/Styles/ie8-theme.css" rel="stylesheet">
<link href="Src/Styles/styles.css" rel="stylesheet">
<!-- Do Windows Move right away -->
<SCRIPT type="text/vbscript" language="vbscript">
window.focus()
window.resizeTo (screen.AvailWidth/2), screen.AvailHeight
window.moveTo 0, 0
</SCRIPT>
<script type="text/javascript" language="javascript" src="Src/LetterBuilder/LetterBuilder.js"></script>
<script type="text/vbscript" language="vbscript" src="Src/LetterBuilder/LetterBuilder.vbs"></script>
</head>
<body>
<div class="banner">
<img src="assets/img/fip-en.png" alt="Logo of ESDC" class="fip" id="fip" />
</div>
<!-- Main Body -->
<div class="main" id="main">
<div class="col-xs-12">
<!-- Language Switch -->
<div id="languageToggleSection" class="col-xs-8 col-xs-offset-4" style="padding-right: 32px">
<a href="#" id="languageEnglish" onClick="TranslateScreen('en', event)">English</a>
<a href="#" id="languageFrench" onClick="TranslateScreen('fr', event)">Français</a>
</div>
<!-- Title -->
<div>
<h1 id="pageTitle">Letter Builder</h1> V2.4
<!-- Version String -->
<div id="pageIndicator">
<span class="pageIndicatorCircle pageIndicatorCircle-1"></span>
<span class="pageIndicatorCircle pageIndicatorCircle-2"></span>
<span class="pageIndicatorCircle pageIndicatorCircle-3"></span>
<span class="pageIndicatorCircle pageIndicatorCircle-4"></span>
<span class="pageIndicatorCircle pageIndicatorCircle-5"></span>
<span class="pageIndicatorCircle pageIndicatorCircle-6"></span>
</div>
</div>
</div>
<!-- =========================================
Pages now starting
========================================= -->
<!-- RFL Letter Select Page 1 -->
<div id="page-1" data-pageNo="1" class="page">
<div class="pageContent col-xs-12">
<h2 class="col-xs-8 col-xs-offset-2 text-grey" id="page1Header">What letter would you like to work on?</h2>
<span class=" col-xs-12 mrgn-tp-xl"></span>
<div class="col-xs-8 col-xs-offset-2 form-field">
<label for="selectLetter" id="page1LetterType">Letter Type</label>
<select id="selectLetter" class="cadField" name="selectLetter" onchange="ValidatePage1()">
<option id="page1DefaultLetter" value="--">Select from List</option>
</select>
</div>
<div class="col-xs-8 col-xs-offset-2 form-field">
<label id="page1LanguageSelect">Language of Letter</label>
<select id="selectLanguage" class="cadField" name="selectLanguage" disabled onchange="ValidatePage1()">
<option id="page1DefaultLanguage" value="--">Select from List</option>
<option id="page1OptionEnglish">English</option>
<option id="page1OptionFrench">French</option>
</select>
</div>
<div class="col-xs-8 col-xs-offset-2 form-field">
<label id="page1EffectiveDate" for="inputEffectiveDate">Effective Date of Pay Action</label>
<input type="date" id="inputEffectiveDate" class="cadField" name="inputEffectiveDate" oninput="EffectiveDateFormatting(event)" onselectionchange="EffectiveDateFormatting(event)" disabled placeholder="DD/MM/YYYY"></input>
</div>
</div>
<div class="actionBar col-xs-12">
<button class="actionButton" id="page1ButtonStart" onClick="GoToPage(2,event)" disabled>Lets Get Started</button>
</div>
</div>
<!-- RFL Page 2 -->
<div id="page-2" data-pageNo="2" class="page">
<p class="pageSubTitle" id="page1Subtitle">Are the files installed correctly?</p>
<div class="pageContent pageMiddle col-xs-12">
<div class="pageMiddleContent">
<ul class="validationEntries">
<li>
<span class="validationStatusIcon validationStatusSuccess">
<img src="assets/img/checkbox.png" alt="Pass" />
</span>
<span class="validationStatusIcon validationStatusError">
<img src="assets/img/error.png" alt="Failed" />
</span>
<span id="page1CadFileLabel" class="validationStatusLabel">CAD file</span>
<span class="validationStatusErrorMessage" id="page1CadFileErrorMsg">
Missing "<span id="fileCadName"></span>" in folder.
</span>
</li>
<li>
<span class="validationStatusIcon validationStatusSuccess">
<img src="assets/img/checkbox.png" alt="Pass" />
</span>
<span class="validationStatusIcon validationStatusError">
<img src="assets/img/error.png" alt="Failed" />
</span>
<span id="page1EnLtrLabel" class="validationStatusLabel">English Letter Template</span>
<span class="validationStatusErrorMessage" id="page1EnLtrErrorMsg">
Missing "<span id="fileEnLetterName"></span>" in folder.
</span>
</li>
<li>
<span class="validationStatusIcon validationStatusSuccess">
<img src="assets/img/checkbox.png" alt="Pass" />
</span>
<span class="validationStatusIcon validationStatusError">
<img src="assets/img/error.png" alt="Failed" />
</span>
<span id="page1FrLtrLabel" class="validationStatusLabel">French Letter Template</span>
<span class="validationStatusErrorMessage" id="page1FrLtrErrorMsg">
Missing "<span id="fileFrLetterName"></span>" in folder.
</span>
</li>
</ul>
</div>
</div>
<div class="page1-recheckButtonbar" id="recheck-install">
<button id="retryButton" class="secondaryButton" onClick="CheckInstall()">
<img class="button-icon" src="assets/img/reload.png" alt="Reload" />
<span id="page1RetryButton">
Retry
</span>
</button>
</div>
<div class="actionBar">
<button class="actionButton" id="page2ButtonStart" onClick="GoToPage(3,event)">Lets get started</button>
</div>
</div>
<!-- RFL Page 3 -->
<div id="page-3" data-pageNo="3" class="page">
<p class="pageSubTitle" id="page2Subtitle">Enter PRI</p>
<div class="pageContent pageMiddle">
<div class="pageMiddleContent">
<span id="page2ContentP1">The CAD Excel spread sheet is now open. </span>
<ul id="page2Subnotes" class="subnotes">
<li id="page2ContentL1"> Acknowledge the CAD disclaimer (<b>IF SHOWN</b>)</li>
<li id="page2ContentL2"> Please navigate to the "CAD" tab of the file and enter in a single PRI into cell B2.</li>
<li id="page2ContentL3"> Ensure the following codes on the CAD are checked DED, PER, JOB, ERN, BEN, and CAD </li>
<li id="page2ContentL4"> Press “Auto Load” on CAD to populate employee data </li>
<li id="page2ContentL5"> Once complete click next on this screen to continue</li>
</ul>
</div>
</div>
<div class="actionBar col-xs-12">
<button class="actionButton pull-right" style="margin-right: 32px;" id="page3ButtonNext" onClick="GoToPage(4,event)">Next</button>
</div>
</div>
<!-- RFL Page 4 -->
<div id="page-4" data-pageNo="4" class="page">
<div class="col-xs-12">
<h3 class="text-grey" id="page3Subtitle">Verify Information</h3>
</div>
<div id="cad-form-container" class="pageContent col-xs-12">
<form id="cad-form" class="cad-form" onchange="validateForm()">
<span class="col-xs-12 mrgn-tp-lg"></span>
<div class="col-xs-7 label-button-lrg">
<p class="text-large text-left" id="page3Instruction">Please verify employee information:</p>
</div>
<div class="col-xs-5">
<button class="btn btn-default btn-padding-lg pull-right" onClick="PopulateScreenCADFields(0)" type="button" id="page3-reloadbutton" idTextAsTitle=true><img src="assets/img/reload.png"> <span id="page3-reloadbutton-text"></span></button>
</div>
<div id="cad-text-inputs">
<span class="col-xs-12 mrgn-bttm-lg"></span>
<div class="col-xs-6 form-field">
<label id="PayListLabel" for="PayList">Paylist</label>
<input id="PayList" type="text" class="cadField" placeholder="####" name="PayList">
</div>
<div class="col-xs-6 form-field">
<label id="PRILabel" for="PRI">PRI</label>
<input id="PRI" type="text" class="cadField" readonly name="PRI">
</div>
<div class="col-xs-6 form-field">
<label id="EffectiveDateLabel" for="EffectiveDate">Effective Date</label>
<input type="date" id="EffectiveDate" type="text" class="cadField" name="EffectiveDate" oninput="EffectiveDateFormatting(event)" onselectionchange="EffectiveDateFormatting(event)" placeholder="DD/MM/YYYY">
</div>
<div class="col-xs-6 form-field">
<label id="CaseNumberLabel" for="CaseNumber">Case #</label>
<input id="CaseNumber" type="text" class="cadField" placeholder="######" name="CaseNumber">
</div>
<div class="col-xs-12 form-field">
<label id="EENameLabel" for="EEName">Name</label>
<input id="EEName" type="text" class="cadField" readonly name="EmployeeName">
</div>
<div class="col-xs-12 form-field">
<label id="PersonalEmailLabel" for="PersonalEmail">Personal Email (Employee)</label>
<input id="PersonalEmail" type="text" class="cadField" name="PersonalEmail">
</div>
<div class="col-xs-12 form-field">
<label id="ReasonLabel" for="Reason">Reason</label>
<input id="Reason" type="text" class="cadField" readonly name="Reason">
</div>
</div>
<span class="col-xs-12 mrgn-tp-lg"></span>
<div class="col-xs-7 label-button-lrg">
<p class="text-large text-left" id="Page3InstructionsLabel">Letter Customizations:</p>
</div>
<div id="cad-checked-inputs">
<div class="col-xs-5">
<button class="btn btn-default btn-padding-lg pull-right" onClick="PopulateScreenCADFields(1)" type="button" id="page3-reloadcad" idTextAsTitle=true><img src="assets/img/reload.png"> <span id="page3-reloadcad-text"></span></button>
</div>
<span class="col-xs-12 mrgn-bttm-lg"></span>
<span class="col-xs-12 text-large text-left mrgn-bttm-lg" id="Page3InstructionsText">
Content with checkmarks are loaded by default based on the information collected from the CAD.
Please review and select or unselect as needed. Selecting field will add to the generated letter,
unselected fields will not be displayed on the letter.
</span>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="PensionandDSB" class="btn btn-default cadField" type="checkbox" name="PensionandDSB">
<label id="PensionandDSBLabel" for="PensionandDSB" class="mrgn-lft-md">Pension and Insurance</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="DisabilityInsurance" class="btn btn-default cadField" type="checkbox" name="DisabilityInsurance">
<label id="DisabilityInsuranceLabel" for="DisabilityInsurance" class="mrgn-lft-md">Disability Insurance</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md" style="padding:0;">
<div class="col-xs-12 mrgn-bttm-0" style="padding-left:0; padding-right: 0;">
<div class="col-xs-12 mrgn-bttm-0">
<div class="form-checkbox pull-left">
<input id="PSMIP" class="btn btn-default cadField" type="checkbox" name="PSMIP" childField="PSMIPField" onclick="ShowCadField('PSMIPField', event.target.checked)">
<label id="PSMIPLabel" for="PSMIP" class="mrgn-lft-md">PSMIP</label>
</div>
</div>
</div>
<div id="PSMIPField" class="col-xs-12 mrgn-bttm-0">
<div class="col-xs-1" style="padding-right: 12px;">
<p class="col-xs-12 checkbox-type-input"></p>
</div>
<div class="col-xs-5" style="padding-left: 0;">
<div id="IANLabel" class="mrgn col-xs-12 text-left mrgn-bttm-0 mrgn-tp-0">IAN</div>
<div class="form-field col-xs-12 mrgn-bttm-0 mrgn-tp-0" style="padding: 0; padding-left: 14px;">
<input id="IAN" type="text" class="cadField" name="PSMIPNo">
</div>
</div>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md" style="padding:0;">
<div class="col-xs-12 mrgn-bttm-0" style="padding-left:0; padding-right: 0;">
<div class="col-xs-12 mrgn-bttm-0">
<div class="form-checkbox pull-left">
<input id="PSHCP" class="btn btn-default cadField" type="checkbox" name="PSHCP" childField="PSHCPField" onclick="ShowCadField('PSHCPField', event.target.checked)">
<label id="PSHCPLabel" for="PSHCP" class="mrgn-lft-md">PSHCP</label>
</div>
</div>
</div>
<div id="PSHCPField" class="col-xs-12 mrgn-bttm-0">
<div class="col-xs-1" style="padding-right: 12px;">
<p class="col-xs-12 checkbox-type-input"></p>
</div>
<div class="col-xs-5" style="padding-left: 0;">
<div id="PSHCPNoLabel" class="mrgn col-xs-12 text-left mrgn-bttm-0 mrgn-tp-0">PSHCP #</div>
<div id="PSHCPLevelLabel" class="hidden" style="display: none;"></div>
<div class="form-field col-xs-12 mrgn-bttm-0 mrgn-tp-0" style="padding: 0; padding-left: 14px;">
<select id="PSHCPLevel" name="PSHCPLevel" class="cadField">
<option value="1" id="PSHCPLevel1"> Level 1 </option>
<option value="2" id="PSHCPLevel2"> Level 2 </option>
<option value="3" id="PSHCPLevel3"> Level 3 </option>
</select>
</div>
</div>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md" style="padding: 0;">
<div class="col-xs-12 mrgn-bttm-0" style="padding-left:0; padding-right: 0;">
<div class="col-xs-12 mrgn-bttm-0">
<div class="form-checkbox pull-left">
<input id="DCPStatus" class="btn btn-default cadField" type="checkbox" childField="DCPStatusField" name="DCPStatus" onclick="ShowCadField('DCPStatusField', event.target.checked)">
<label id="DCPLabel" for="DCPStatus" class="mrgn-lft-md">DCP</label>
</div>
</div>
</div>
<div id="DCPStatusField" class="col-xs-12 mrgn-bttm-0">
<div class="col-xs-1" style="padding-right: 12px;">
<p class="col-xs-12 checkbox-type-input"></p>
</div>
<div class="col-xs-5" style="padding-left: 0;">
<div id="DCPPlanNoLabel" class="col-xs-12 text-left mrgn-bttm-0 mrgn-tp-0">DCP Plan #</div>
<div class="form-field col-xs-12 mrgn-bttm-0 mrgn-tp-0" style="padding: 0; padding-left: 14px;">
<select id="DCPPlanNo" name="DCPPlanNo" class="cadField">
<option id="DCP-Option-Default" value="">Select Plan</option>
<option value="55555"> 55555 </option>
<option value="55556"> 55556 </option>
</select>
</div>
</div>
<div class="col-xs-6" style="padding-left: 0; padding-right: 0;">
<div id="CertificateNumberLabel" class="mrgn col-xs-12 text-left mrgn-bttm-0 mrgn-tp-0">Certificate #</div>
<div class="form-field col-xs-12 mrgn-bttm-0 mrgn-tp-0" style="padding: 0; padding-left: 14px;">
<input id="DCPCertNo" type="text" class="cadField" name="DCPCertNo" placeholder="XX######">
</div>
</div>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="UnionInsurance" class="btn btn-default cadField" type="checkbox" name="UnionInsurance">
<label id="UnionInsuranceLabel" for="UnionInsurance" class="mrgn-lft-md ">Union Insurance</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="BilingualBonus" class="btn btn-default cadField" type="checkbox" name="BilingualBonus">
<label id="BilingualBonusLabel" for="BilingualBonus" class="mrgn-lft-md">Bilingual Bonus</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md" style="padding:0;">
<div class="col-xs-12 mrgn-bttm-0" style="padding-left:0; padding-right: 0;">
<div class="col-xs-12 mrgn-bttm-0">
<div class="form-checkbox pull-left">
<input id="AnnualandSickLeave" class="btn btn-default cadField" type="checkbox" name="AnnualandSickLeave" childField="AnnualandSickLeaveField" onclick="ShowCadField('AnnualandSickLeaveField', event.target.checked)">
<label id="AnnualandSickLeaveLabel" for="AnnualandSickLeave" class="mrgn-lft-md">Annual and Sick Leave</label>
</div>
</div>
</div>
<div id="AnnualandSickLeaveField" class="col-xs-12">
<div class="col-xs-1" style="padding-right: 12px;">
<p class="col-xs-12 checkbox-type-input"></p>
</div>
<div class="col-xs-5 " style="padding-left: 0;"">
<div class=" mrgn col-xs-12 text-left mrgn-bttm-0 mrgn-tp-0" id="AWWLabel">AWW</div>
<div class="form-field col-xs-12 mrgn-bttm-0 mrgn-tp-0" style="padding: 0; padding-left: 14px;">
<input id="AWW" type="text" class="cadField" name="AWW">
</div>
</div>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="CompensatoryLeave" class="btn btn-default cadField" type="checkbox" name="CompensatoryLeave">
<label id="CompensatoryLeaveLabel" for="CompensatoryLeave" class="mrgn-lft-md">Compensatory Leave</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="PayRevision" class="btn btn-default cadField" type="checkbox" name="PayRevision">
<label id="PayRevisionLabel" for="PayRevision" class="mrgn-lft-md">Pay Revision</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="ContinuousService" class="btn btn-default cadField" type="checkbox" name="ContinuousService">
<label id="ContinuousServiceLabel" for="ContinuousService" class="mrgn-lft-md">Continuous Service</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="TermEmployment" class="btn btn-default cadField" type="checkbox" name="TermEmployment">
<label id="TermEmploymentLabel" for="TermEmployment" class="mrgn-lft-md">Term Employment</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="UnionDues" class="btn btn-default cadField" type="checkbox" name="UnionDues">
<label id="UnionDuesLabel" for="UnionDues" class="mrgn-lft-md">Union Dues</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="RA" class="btn btn-default cadField" type="checkbox" name="RA">
<label id="RALabel" for="RA" class="mrgn-lft-md">RA</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="CreditUnion" class="btn btn-default cadField" type="checkbox" name="CreditUnion">
<label id="CreditUnionLabel" for="CreditUnion" class="mrgn-lft-md">Credit Union</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="GCWCC" class="btn btn-default cadField" type="checkbox" name="GCWCC">
<label id="GCWCCLabel" for="GCWCC" class="mrgn-lft-md">GOC Workplace Charitable Campaign</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="Garnishments" class="btn btn-default cadField" type="checkbox" name="Garnishments">
<label id="GarnishmentsLabel" for="Garnishments" class="mrgn-lft-md">Garnishments</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="StudentLoans" class="btn btn-default cadField" type="checkbox" name="StudentLoans">
<label id="StudentLoansLabel" for="StudentLoans" class="mrgn-lft-md">Student Loans</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="LIA" class="btn btn-default cadField" type="checkbox" name="LIA">
<label id="LIALabel" for="LIA" class="mrgn-lft-md">LIA</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="Selffunded" class="btn btn-default cadField" type="checkbox" name="Selffunded">
<label id="SelffundedLabel" for="Selffunded" class="mrgn-lft-md">Self Funded</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="Parental" class="btn btn-default cadField" type="checkbox" name="Parental">
<label id="ParentalLabel" for="Parental" class="mrgn-lft-md">Parental Leave</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="Gradual" class="btn btn-default cadField" type="checkbox" name="Gradual">
<label id="GradualLabel" for="Gradual" class="mrgn-lft-md">Gradual Return to Work</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="Parking" class="btn btn-default cadField" type="checkbox" name="Parking">
<label id="ParkingLabel" for="Parking" class="mrgn-lft-md">Parking</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="InvCheck-CasualorStudent" class="btn btn-default cadField" type="checkbox" name="InvCheck-CasualorStudent" Data-Invert-Check=true>
<label id="InvCheck-CasualorStudentLabel" for="InvCheck-CasualorStudent" class="mrgn-lft-md">Casual/Student</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="PartTimeEmployee" class="btn btn-default cadField" type="checkbox" name="PartTimeEmployee">
<label id="PartTimeEmployeeLabel" for="PartTimeEmployee" class="mrgn-lft-md">Part-Time</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md">
<div class="form-checkbox pull-left">
<input id="BackToBack" class="btn btn-default cadField" type="checkbox" name="BackToBack" onclick="ToggleNotCheck('BackToBack', 'Not-BackToBack')">
<label id="BackToBackLabel" for="BackToBack" class="mrgn-lft-md">Back to Back LWOP</label>
</div>
</div>
<div class="col-xs-12 mrgn-bttm-md hidden">
<div class="form-checkbox pull-left">
<input id="Not-BackToBack" class="btn btn-default cadField" type="checkbox" name="Not-BackToBack">
<label id="Not-BackToBackLabel" for="Not-BackToBack" class="mrgn-lft-md">Back to Back LWOP</label>
</div>
</div>
</div>
</form>
</div>
<div class="actionBar col-xs-12">
<button class="actionButton pull-right" style="margin-right: 32px" id="page3ButtonGenerate" onClick="GoToPage(5,event)">Generate Letter</button>
</div>
</div>
<!-- Page 5 -->
<div id="page-5" data-pageNo="5" class="page">
<p class="pageSubTitle" id="page4Subtitle">Review and Export</p>
<div class="pageContent pageMiddle">
<div class="pageMiddleContent">
<p id="page4Instructions">
The Letter generation is now complete. Please review content, before exporting to PDF.
</p>
</div>
</div>
<div class="actionBar">
<button class="actionButton" id="page4ButtonNext" onClick="GoToPage(6,event)">Export to PDF</button>
</div>
</div>
<!-- Page 6 -->
<div id="page-6" data-pageNo="6" class="page">
<p class="pageSubTitle" id="page5Subtitle">Ready to be sent to EPOST</p>
<div class="pageContent pageMiddle">
<div class="pageMiddleContent">
<img src="assets/img/completed.png" alt="Completed" /><br />
<p id="page5Instructions">
Successfully exported letter to PDF. <br />
</p>
<a href="#" onClick="OpenPDFFile()"><span id="pdfFileName">Placeholder</span></a>
<ul id="page5Subnotes" class="subnotes">
<li id="page5Subnote1">An email template had been created and ready to be sent to EPOST GD Box.</li>
<li id="page5Subnote2">Review the content of the email and send when ready.</li>
<li id="page5Subnote3">Press “Generate next letter” to proceed with processing a new letter.</li>
</ul>
</div>
</div>
<div class="actionBar">
<button class="actionButton" id="page5ButtonNext" onClick="GoToPage(1,event)">Generate next letter</button>
</div>
</div>
</div>
<div id="progress-overlay">
<img src="assets/img/spinner.gif" alt="In progress" />
</div>
</body>
</html>