1
1
export default function reportJson ( id ) {
2
2
// console.log("json ", json);
3
-
3
+ const head = [ "Sr.No" , "Name" , "Note" , "Folder" , "File" , "Owner" , "Signers" ] ;
4
+ const contactbook = [ "Sr.No" , "Name" , "Email" , "Phone" ] ;
4
5
switch ( id ) {
5
6
// draft documents report
6
7
case "ByHuevtCFY" :
7
8
return {
8
9
reportName : "Draft Documents" ,
10
+ heading : head ,
9
11
actions : [
10
12
{
11
13
btnLabel : "sign" ,
@@ -21,6 +23,7 @@ export default function reportJson(id) {
21
23
case "4Hhwbp482K" :
22
24
return {
23
25
reportName : "Need your sign" ,
26
+ heading : head ,
24
27
actions : [
25
28
{
26
29
btnLabel : "sign" ,
@@ -36,6 +39,7 @@ export default function reportJson(id) {
36
39
case "1MwEuxLEkF" :
37
40
return {
38
41
reportName : "In-progress documents" ,
42
+ heading : head ,
39
43
actions : [
40
44
{
41
45
btnLabel : "View" ,
@@ -51,6 +55,7 @@ export default function reportJson(id) {
51
55
case "kQUoW4hUXz" :
52
56
return {
53
57
reportName : "Completed Documents" ,
58
+ heading : head ,
54
59
actions : [
55
60
{
56
61
btnLabel : "View" ,
@@ -66,6 +71,7 @@ export default function reportJson(id) {
66
71
case "UPr2Fm5WY3" :
67
72
return {
68
73
reportName : "Declined Documents" ,
74
+ heading : head ,
69
75
actions : [
70
76
{
71
77
btnLabel : "View" ,
@@ -81,6 +87,7 @@ export default function reportJson(id) {
81
87
case "zNqBHXHsYH" :
82
88
return {
83
89
reportName : "Expired Documents" ,
90
+ heading : head ,
84
91
actions : [
85
92
{
86
93
btnLabel : "View" ,
@@ -96,6 +103,7 @@ export default function reportJson(id) {
96
103
case "d9k3UfYHBc" :
97
104
return {
98
105
reportName : "Recently sent for signatures" ,
106
+ heading : head ,
99
107
actions : [
100
108
{
101
109
btnLabel : "View" ,
@@ -111,6 +119,7 @@ export default function reportJson(id) {
111
119
case "5Go51Q7T8r" :
112
120
return {
113
121
reportName : "Recent signature requests" ,
122
+ heading : head ,
114
123
actions : [
115
124
{
116
125
btnLabel : "Sign" ,
@@ -126,6 +135,7 @@ export default function reportJson(id) {
126
135
case "kC5mfynCi4" :
127
136
return {
128
137
reportName : "Drafts" ,
138
+ heading : head ,
129
139
actions : [
130
140
{
131
141
btnLabel : "sign" ,
@@ -137,6 +147,20 @@ export default function reportJson(id) {
137
147
}
138
148
]
139
149
} ;
150
+ // contactbook report
151
+ case "5KhaPr482K" :
152
+ return {
153
+ reportName : "Contactbook" ,
154
+ heading : contactbook ,
155
+ actions : [
156
+ {
157
+ btnLabel : "" ,
158
+ btnColor : "#f55a42" ,
159
+ textColor : "white" ,
160
+ btnIcon : "fa-solid fa-trash"
161
+ }
162
+ ]
163
+ } ;
140
164
default :
141
165
return null ;
142
166
}
0 commit comments