-
Notifications
You must be signed in to change notification settings - Fork 0
/
generateDocumentsQuickAction.html
51 lines (36 loc) · 1.73 KB
/
generateDocumentsQuickAction.html
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
<template>
<template if:true={showOptions}>
<lightning-modal-header label="Generate Document"></lightning-modal-header>
<lightning-modal-body>
<div class="slds-p-around_large">
<label style="font-weight: 500;"
for="template" >Choose a template</label>
</br>
<lightning-radio-group name="emailtemplate"
label= ""
id="template"
options={options}
value={emailTemplateValue}
type="radio"
onchange={handleRadionChange}></lightning-radio-group>
</br>
<div style="display: flex;">
<label style="font-weight: 500;"
for="template" >Save document in Salesforce?</label>
<lightning-input type="toggle"
label= ""
id="YesorNo"
onchange={toggleChange}
checked={insertAttachment}
name="input1"
messagetoggleactive="Save"
messagetoggleinactive="Don't save"></lightning-input>
</div>
</div>
</lightning-modal-body>
<lightning-modal-footer>
<lightning-button variant="neutral" label="Cancel" onclick={cancelAction}></lightning-button>
<lightning-button variant="brand" label="Generate PDF" onclick={handleNext} class="slds-m-left_x-small"></lightning-button>
</lightning-modal-footer>
</template>
</template>