File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Controllers/Examples/WebForms
Services/Examples/Monitor Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ protected function createController(): void
104
104
$ GLOBALS ['twig ' ]->display (
105
105
self ::WEB_FORM . '.html ' ,
106
106
[
107
+ 'embeddedBy ' => $ this ->codeExampleText ["AdditionalPage " ][2 ]["ResultsPageText " ],
107
108
'instance_token ' => $ webFormInstance ["instance_token " ],
108
109
'url ' => $ webFormInstance ["form_url " ],
109
110
'integration_key ' => $ GLOBALS ['DS_CONFIG ' ]['ds_client_id ' ],
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ public static function getMonitoringData(MonitorApiClientService $clientService)
23
23
try {
24
24
// Get monitoring data
25
25
$ datasetApi = new DataSetApi ($ apiClient );
26
-
27
- $ cursor = "" ;
26
+ $ cursorDate = new \DateTime ();
27
+ $ cursorDate ->modify ('-1 year ' );
28
+ $ cursor = $ cursorDate ->format ('Y-m-d ' ) . "T00:00:00Z " ;
28
29
$ complete = false ;
29
30
$ options = new GetStreamOptions ();
30
31
$ options ->setLimit (2000 );
Original file line number Diff line number Diff line change 10
10
< body >
11
11
< div id ="app ">
12
12
< div id ="webform-customer-app-area ">
13
- < h5 id ="webforms-heading "> The web form has been embedded below using the Docusign JS library. </ h5 >
13
+ < h5 id ="webforms-heading "> {{ embeddedBy | raw }} </ h5 >
14
14
< div id ="docusign " class ="webform-iframe-container ">
15
15
< p > Web Form will render here</ p >
16
16
</ div >
You can’t perform that action at this time.
0 commit comments