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 index e4da92b1..5c509d5d 100644 --- 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 @@ -33,6 +33,12 @@ 'nac + acebrophylline' => 'nac_acebrophylline', ]; + $categoryMoleculeUse = [ + 'erdosteine' => 'Erdosteine Prescriber', + 'erdosteine + acebrophylline' => 'Erdosteine + Acebrophylline', + 'nac + acebrophylline' => 'NAC + Acebrophylline', + ]; + $moleculeUseToCategory = [ 'erdosteine prescriber' => 'erdosteine', 'erdosteine' => 'erdosteine', @@ -183,10 +189,10 @@ @php $hideFields = [ - 'contact_id', 'rx_support', - 'other_molecule_use' + 'other_molecule_use', + 'molecule_use', ]; @endphp @@ -328,117 +334,72 @@ @endforeach @if(!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes' ) )
+ @php $globalRowIndex = 0; @endphp + @foreach($categoryAttributes as $categoryLabel => $categoryPrefix)
-
- {{--
-
Tagged Doctors
-
--}} -
-
- @php - $doctors = []; - - foreach($questions as $question){ - if($question->code == 'contact_id'){ - $doctors = $question->options ?? []; - break; - } - } - @endphp - - - - - - - - - - - - - @for($i=1; $i<=5; $i++) - - - - + + + + @php $globalRowIndex++; @endphp + @endfor + +
Doctor NameRxn/Week SupportOther Molecule Use
- + + + + + + + + + @for($i = 1; $i <= 5; $i++) + + - - - - - - - - @endfor - - -
Doctor NameRxn/Week SupportOther Molecule Use
+ - - - - - - -
+ +
+ + + +
+
-
- + @endforeach + - + @endif @@ -500,78 +461,61 @@ select option:disabled {