From 3b584fd24edf0ab4ed9444b16f29a65879bbff34 Mon Sep 17 00:00:00 2001 From: Farhan Pathan Date: Mon, 1 Jun 2026 09:41:35 +0530 Subject: [PATCH] in domain gcv in view history when value is blank or if brand is not selected then in view history form it showing slugs of that unselected fields so fixed that slug issued and added --- ...6-4dc6-b867-0e18922c1f88-history.blade.php | 116 ++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 resources/views/form/rapport-glenmarkcv/1779787418-c5969925-b986-4dc6-b867-0e18922c1f88-history.blade.php diff --git a/resources/views/form/rapport-glenmarkcv/1779787418-c5969925-b986-4dc6-b867-0e18922c1f88-history.blade.php b/resources/views/form/rapport-glenmarkcv/1779787418-c5969925-b986-4dc6-b867-0e18922c1f88-history.blade.php new file mode 100644 index 00000000..f77f2f1f --- /dev/null +++ b/resources/views/form/rapport-glenmarkcv/1779787418-c5969925-b986-4dc6-b867-0e18922c1f88-history.blade.php @@ -0,0 +1,116 @@ + + + + @include('layouts.shared/title-meta', ['title' => "History"]) + @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) + + + +
+
+ + ` +
+
+

{{$formname}}

+
+ +
+ + @if(session()->has('message')) +
+ {{ session()->get('message') }} +
+ @endif + @if(session()->has('error')) +
+ {{ session()->get('error') }} +
+ @endif +
+
+
+
+
+
+
+ + + + + @foreach($questions as $code => $question) + @if($question->type == 'hidden') + @continue; + @endif + + @endforeach + + + + + @foreach($submissions as $submission) + + + @foreach($questions as $code => $question) + @if($question->type == 'hidden') + @continue; + @endif + @if($question->type == 'file') + + + @elseif($question->type == 'radiometrix' && isset($submission->formdata->{$code}) && is_object($submission->formdata->{$code})) + + + @elseif(count((array)$question->options) > 0 && 1==2 ) + + @else + + + + @endif + @endforeach + + + @endforeach + +
Submission Date{{$question->label}}Action
{{date("d M Y", strtotime($submission->updatedAt))}} Download + {{ collect((array)$submission->formdata->{$code})->map(function($val, $key){ return "$key: $val"; })->implode(', ') }} + {{ $question->options->{ $submission->formdata->{$code} } }} + {{ + isset($submission->formdata->{$code}) + ? (is_array($submission->formdata->{$code}) + ? implode(', ', $submission->formdata->{$code}) + : $submission->formdata->{$code}) + : '-' + }} + + @if($question->can_edit == 'yes' || sizeof($submission->workflow_approvals) == 0 ) + @if($submission->workflow == 'yes' && $submission->workflow_status == 'approved' ) +

Approved

+ @else + Edit + @if(isset($form->allow_delete_by_user) && $form->allow_delete_by_user == 'yes') + Delete + @endif + @endif + @endif +
+
+ +
+
+ +
+
+
+
+ +
+ +
+ + @include('layouts.shared/footer-script') + + \ No newline at end of file