diff --git a/resources/views/form/1650365531-3efb1e12-89e5-4e5f-ba3d-2b1da3f1086d-new.blade.php b/resources/views/form/1650365531-3efb1e12-89e5-4e5f-ba3d-2b1da3f1086d-new.blade.php new file mode 100644 index 00000000..a2048c29 --- /dev/null +++ b/resources/views/form/1650365531-3efb1e12-89e5-4e5f-ba3d-2b1da3f1086d-new.blade.php @@ -0,0 +1,194 @@ + + +
+ @include('layouts.shared/title-meta', ['title' => "Form"]) + @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) + + +
+
+'; print_r($history); exit;
+ if(sizeof($history->data->submissions) > 0) {
+ foreach($history->data->submissions as $sub){
+ $contacts[] = $sub->formdata->target;
+ }
+ }
+ @endphp
+
+
+
+
+';print_r($contacts);echo ''; + @endphp + + + + +
+| Action | +Plan Date | +Team Name | +Type of meeting | +Execution Date | +Name of speaker | +MSL Code | +No. og Doctors/Paramedics attended | +
|---|---|---|---|---|---|---|---|
| + + | +{{$his->record_date}} | +{{$his->team_name}} | +{{$his->type_of_meeting}} | +{{$his->execution_date}} | +{{$his->name_of_the_speaker}} | +{{$his->msl_code}} | +{{$his->attendence}} | +
+| Action | +Tour | +Plan Date | +Execution Date | +Total POB | +
|---|---|---|---|---|
| + + | +{{$his->tour}} | +{{$his->record_date}} | +{{$his->execution_date}} | +{{$his->total_pob}} | +
+'; print_r($history); exit;
+ $contacts = [];
+ if(sizeof($history->data->submissions) > 0) {
+ foreach($history->data->submissions as $sub){
+ if(sizeof($sub->contacts) > 0) {
+ $contacts[] = $sub->contacts[0]->id;
+ }
+ }
+ }
+ @endphp
+
+
+
+
+
+