From c386278d13ca9da7cb0cab2db7461e27891cb453 Mon Sep 17 00:00:00 2001 From: zeeshan Date: Mon, 25 May 2026 16:05:59 +0530 Subject: [PATCH] Team3 Changes --- ...a43b-8be4-418a-ab42-cbb1dcae232e.blade.php | 848 +++++++----------- ...81c6-b4d0-4c27-8790-b197973e8c03.blade.php | 56 ++ 2 files changed, 396 insertions(+), 508 deletions(-) diff --git a/resources/views/form/rapport-team3/1774866189-e645a43b-8be4-418a-ab42-cbb1dcae232e.blade.php b/resources/views/form/rapport-team3/1774866189-e645a43b-8be4-418a-ab42-cbb1dcae232e.blade.php index 387d67b0..2c771f21 100644 --- a/resources/views/form/rapport-team3/1774866189-e645a43b-8be4-418a-ab42-cbb1dcae232e.blade.php +++ b/resources/views/form/rapport-team3/1774866189-e645a43b-8be4-418a-ab42-cbb1dcae232e.blade.php @@ -1,55 +1,13 @@ - - @include('layouts.shared/title-meta', ['title' => 'Form']) - @include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? '']) - + @include('layouts.shared/title-meta', ['title' => "Form"]) + @include('layouts.shared/head-css', ["mode" => $mode ?? '', "demo" => $demo ?? '']) +
- processing... + processing...
- -@php - // echo "
";
-    // print_r($form);
-    // exit;
-
-    $data = DB::table('team3_tripleimpact')->where('hierarchy_id', $form->hierarchy_id)->get();
-    // echo "
";
-    // print_r($data);
-    // exit;
-
-    $history = Formhelper::getMultiformData($form->partition, $form->form_id, $form->user_id);
-    // echo '
';
-    // print_r($history);
-    // echo '
'; - // exit - - $existingCounts = [ - 'chest' => 0, - 'pedia' => 0, - 'gp' => 0, - ]; - - if (!empty($history->data->submissions)) { - foreach ($history->data->submissions as $sub) { - $spec = strtolower($sub->formdata->speciality ?? ''); - - if ($spec === 'chest') { - $existingCounts['chest']++; - } - if ($spec === 'pedia') { - $existingCounts['pedia']++; - } - if ($spec === 'gp') { - $existingCounts['gp']++; - } - } - } - -@endphp -