Browse Source

Note - SOAP labels + segment indentation

Vijayakrishnan 3 years ago
parent
commit
1be1ddc2ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/app/patient/note/note-segment-list.blade.php

+ 1 - 1
resources/views/app/patient/note/note-segment-list.blade.php

@@ -23,7 +23,7 @@
             }
             if (!empty($segment->heading)) {
                 echo '<div class="note-content-node note-content-heading">' .
-                    '<div class="py-2 px-3 border-top border-bottom font-size-14 font-weight-bold text-secondary bg-light mt-4">' . $segment->heading . '</div>' .
+                    '<div class="py-2 px-3 border-bottom font-size-14 font-weight-bold text-secondary bg-light ' . ($previousHeading ? 'mt-4 border-top' : '') . '">' . $segment->heading . '</div>' .
                     '<div class="note-content-children ml-4 border-left">'; // <!-- open new node -->
             }
             $previousHeading = $segment->heading;