diff --git a/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php b/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php index fd2da7cf..0ebecde9 100644 --- a/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php +++ b/resources/views/form/rapport-gennovadc/1750326824-c1c033e6-9d6e-4647-b0dd-d3d28e6953e5.blade.php @@ -1351,9 +1351,9 @@ console.log("func 1..."); return; } - // ========================= + // Vintor 4K - // ========================= + let v4kTotal = parseInt($('#execution-vintor_4k_week' + numOfWeek + '_exe').val()) || 0; @@ -1366,9 +1366,9 @@ console.log("func 1..."); ); - // ========================= + // Vintor 10K - // ========================= + let v10kTotal = parseInt($('#execution-vintor_10k_week' + numOfWeek + '_exe').val()) || 0; @@ -1381,9 +1381,9 @@ console.log("func 1..."); ); - // ========================= + // Vintor 6K - // ========================= + let v6kTotal = parseInt($('#execution-vintor_6k_week' + numOfWeek + '_exe').val()) || 0; @@ -1396,9 +1396,9 @@ console.log("func 1..."); ); - // ========================= + // Encicarb 500 - // ========================= + let e500Total = parseInt($('#execution-encicarb_500_week' + numOfWeek + '_exe').val()) || 0; @@ -1411,9 +1411,9 @@ console.log("func 1..."); ); - // ========================= + // Encicarb 100 - // ========================= + let e100Total = parseInt($('#execution-encicarb_100_week' + numOfWeek + '_exe').val()) || 0; @@ -1426,9 +1426,9 @@ console.log("func 1..."); ); - // ========================= + // Dynulta - // ========================= + let dynTotal = parseInt($('#execution-dynulta_week' + numOfWeek + '_exe').val()) || 0; diff --git a/resources/views/form/rapport-team4/1781090899-2cedf382-9fbb-45ac-896b-94de9104a11b.blade.php b/resources/views/form/rapport-team4/1781090899-2cedf382-9fbb-45ac-896b-94de9104a11b.blade.php new file mode 100644 index 00000000..fdafc78d --- /dev/null +++ b/resources/views/form/rapport-team4/1781090899-2cedf382-9fbb-45ac-896b-94de9104a11b.blade.php @@ -0,0 +1,746 @@ + + + + + @include('layouts.shared/title-meta', ['title' => "Form"]) + @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) + + + + +
+ processing... +
+ + +
+
+
+
+
+
+ + @if(Session::has('error'))
{{Session::get('error')}}
+
@endif + @if(session('success'))
{{ session('success') }} +
+
@endif +
+

{{$form->title}}

+
+ @if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes' + ) ) +
+ @if($form->link_type == 'form') + View History + @else + Back + @endif +
+ @endif + @if(isset($form->user_info)) +
+
Submitted By: {{$form->user_info->name}}
+
+ @endif + + @php + $submissions = Formhelper::getMultiformData( $form->partition, $form_id, $form->user_id); + $submissions = $submissions->data->submissions; + + + @endphp + {{-- @if(count($submissions)===0 || $id) --}} +
+ + @csrf + @if($id) + + @endif + @if(isset($form->manager_can_submit) && $form->manager_can_submit == true) +
+ + + +
+ @endif + @foreach($questions as $question) + @if( !in_array($question->code, + ["record_date","select_rxber_type"] ) ) + @continue; + @endif +
+ + @switch($question->type) + @case('hidden') + + @break + @case('text') + @case('email') + @case('tel') + @case('date') + required == 'yes'?'required':'' }} + value="{{isset($question->value)?$question->value:''}}"> + @break + @case('number') + required == 'yes'?'required':'' }} + value="{{isset($question->value)?$question->value:0}}"> + @break + @case('textarea') + + @break + @case('dropdown') + + @break + @endswitch +
+ @endforeach +
+ + @foreach($questions as $question) + @if( in_array($question->code, + ["record_date","select_rxber_type"] ) ) + @continue; + @endif +
+ + @switch($question->type) + @case('hidden') + + @break + @case('text') + @case('email') + @case('tel') + @case('date') + required == 'yes'?'required':'' }} + value="{{isset($question->value)?$question->value:''}}"> + @break + @case('number') + required == 'yes'?'required':'' }} + value="{{isset($question->value)?$question->value:0}}"> + @break + @case('textarea') + + @break + @case('dropdown') + @if ($question->code == 'contact_id') + + @else + + @endif + @break + @case('checkbox') + @foreach($question->options as $option) +
+ value) && $question->value != '' && in_array($option->value, $question->value) ? 'checked':''}}> + +
+ @endforeach + @break + @case('file') + @if(!isset($form->is_approval) || (isset($form->is_approval) && + $form->is_approval != 'yes' ) ) + required == 'yes'?'required':'' }}> + @elseif(isset($question->value)) + + @endif + + @break + @case('multitextbox') +
+ @foreach($question->options as $option) +
{{$option->display}}
+
+ +
+ @endforeach +
+ @break + @endswitch +
+ @endforeach +
+
+ +
+ @if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != + 'yes' ) ) +
+ @if(!$id) + + @endif + +
+ @endif +
+ {{-- @elseif(!$id) +

You have submitted 10 doctors

+ @endif --}} +
+
+ + + + +
+
+ +
+ +
+ + + @include('layouts.shared/footer-script') + + + + + +