Browse Source

Canvas migrate - click to copy

Vijayakrishnan 3 năm trước cách đây
mục cha
commit
b581b0ff5d

+ 2 - 2
resources/views/app/patient/canvas-sections/allergies/summary.php

@@ -29,7 +29,7 @@ if(count($contentData['items'])) {
 ?>
         <div class="mb-2">
             <div class="">
-                <b><?= $item["title"] ?></b>
+                <b class="click-to-copy"><?= $item["title"] ?></b>
             </div>
 
             <?php
@@ -37,7 +37,7 @@ if(count($contentData['items'])) {
             $detailPlain = trim(strip_tags($detailPlain));
             if(!empty($detailPlain)):
             ?>
-                <div class="text-secondary"><?= $detailPlain ?></div>
+                <div class="text-secondary click-to-copy"><?= $detailPlain ?></div>
             <?php endif; ?>
         </div>
 <?php

+ 3 - 3
resources/views/app/patient/canvas-sections/dx/summary.php

@@ -31,7 +31,7 @@ if(count($contentData['items'])) {
 ?>
         <div class="mb-2 <?= @$item["included"] ? '' : 'hide-if-note' ?>">
             <div class="">
-                <b><?= isset($item["title"]) ? $item["title"] :''  ?></b>
+                <b class="click-to-copy"><?= isset($item["title"]) ? $item["title"] :''  ?></b>
                 <?= isset($item["icd"]) ? '/&nbsp;' . $item["icd"] : '' ?>
                 <?= isset($item["coa"]) ? '/&nbsp;' . $item["coa"] : '' ?>
             </div>
@@ -41,7 +41,7 @@ if(count($contentData['items'])) {
             if(!empty($detailPlain)):
             ?>
                 <div class="text-secondary font-weight-bold">HPI</div>
-                <div class="ml-2"><?= $detailPlain ?></div>
+                <div class="ml-2 click-to-copy"><?= $detailPlain ?></div>
             <?php endif; ?>
             <?php
             $planPlain = isset($item["plan"]) ? $item["plan"] : '';
@@ -49,7 +49,7 @@ if(count($contentData['items'])) {
             if(!empty($planPlain)):
             ?>
                 <div class="text-secondary font-weight-bold">Plan</div>
-                <div class="ml-2"><?= $planPlain ?></div>
+                <div class="ml-2 click-to-copy"><?= $planPlain ?></div>
             <?php endif; ?>
         </div>
 <?php

+ 1 - 1
resources/views/app/patient/canvas-sections/pmhx/summary.php

@@ -119,7 +119,7 @@ else {
     if(isset($contentData['comments'])) { ?>
         <div class="mt-2 mb-1">
             <div class="font-weight-bold">Comments:</div>
-            <div><?= $contentData['comments'] ?></div>
+            <div class="click-to-copy"><?= $contentData['comments'] ?></div>
         </div>
     <?php }
 }

+ 1 - 1
resources/views/app/patient/canvas-sections/pshx/summary.php

@@ -93,7 +93,7 @@ else {
     if(isset($contentData['comments'])) { ?>
         <div class="mt-2 mb-1">
             <div class="font-weight-bold">Comments:</div>
-            <div><?= $contentData['comments'] ?></div>
+            <div class="click-to-copy"><?= $contentData['comments'] ?></div>
         </div>
     <?php }
 }

+ 2 - 2
resources/views/app/patient/canvas-sections/rx/summary.php

@@ -27,7 +27,7 @@ if(count($contentData['items'])) {
         <div class="mb-2 <?= @$item["type"] === 'removed' ? 'on-hover-opaque' : '' ?>">
             <div class="">
                 <?php if(isset($item["title"]) && !empty($item["title"])): ?>
-                    <b class="<?= isset($item["type"]) && $item["type"] === 'removed' ? 'text-secondary' : '' ?>">
+                    <b class="click-to-copy <?= isset($item["type"]) && $item["type"] === 'removed' ? 'text-secondary' : '' ?>">
                         <?= $item["title"] ?>
                     </b>
                 <?php endif; ?>
@@ -50,7 +50,7 @@ if(count($contentData['items'])) {
             $detailPlain = trim(strip_tags($detailPlain));
             if(!empty($detailPlain)):
             ?>
-                <div class="text-secondary"><?= $detailPlain ?></div>
+                <div class="text-secondary click-to-copy"><?= $detailPlain ?></div>
             <?php endif; ?>
             <?php if(isset($item["notes"]) && count($item["notes"])): ?>
                 <div class="pl-3">

+ 1 - 1
resources/views/app/patient/canvas-sections/sochx/summary.php

@@ -93,7 +93,7 @@ else {
     if(isset($contentData['comments'])) { ?>
         <div class="mt-2 mb-1">
             <div class="font-weight-bold">Comments:</div>
-            <div><?= $contentData['comments'] ?></div>
+            <div class="click-to-copy"><?= $contentData['comments'] ?></div>
         </div>
     <?php }
 }