diff --git a/resources/views/form/list.blade.php b/resources/views/form/list.blade.php index d5cf493e..49e4cb8d 100644 --- a/resources/views/form/list.blade.php +++ b/resources/views/form/list.blade.php @@ -3,24 +3,27 @@ @include('layouts.shared/title-meta', ['title' => "History"]) @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) + +
processing...
+
-

{{$formname}}

- Download Data + Download +
-
-

Showing data for last 30 days, please download data if you want to see all submissions

+
+

Showing data for last 30 days, please use above button "Download" to download all submissions

@@ -35,70 +38,73 @@
@endif +
+
+
+
+ + +
+
+ + +
+
+ +
+ +
+
- +
- - - @foreach($questions as $code => $question) - - @endforeach + + + + @if(isset($formdata) && isset($formdata->workflow) && $formdata->workflow == 'yes' ) + + @endif + @foreach($questions as $code => $question) + @if($question->type == 'hidden') + @continue + @endif + @if($question->type == 'multitextbox') + @foreach( $question->options as $k => $v ) + + @endforeach + @else + + @endif + @endforeach - @foreach($submissions as $submission) - @if(isset($submission->user_info->name)) - - - - - @foreach($questions as $code => $question) - @if($question->type == 'file') - - @else - - @endif - @endforeach - - - @endif - @endforeach
Submission DateSubmitted By{{$question->label}}ActionSubmission DateSubmitted ByEmployee CodeWorkflow Status{{$v}} ({{$question->label}}){{$question->label}}
{{date("d M Y", strtotime(isset($submission->record_date) ? $submission->record_date : $submission->updatedAt))}} - - -
{{$submission->user_info->name}}
-

{{$submission->user_info->designation}}

-
Download{{ isset($submission->formdata->{$code}) ? (is_array($submission->formdata->{$code}) ? implode(', ', $submission->formdata->{$code}) : $submission->formdata->{$code}) : '' }} - @if( in_array('edit', $submission->actions) ) - Edit - @endif -
-
+
+
+
-
-
@if($lastkey)
@endif -
-
-
+ + + - - - + + - @include('layouts.shared/footer-script') + + + - \ No newline at end of file +