Samson Mutunga 1 year ago
parent
commit
8e66c5b836
1 changed files with 7 additions and 1 deletions
  1. 7 1
      resources/views/layouts/print-note-v2.blade.php

+ 7 - 1
resources/views/layouts/print-note-v2.blade.php

@@ -93,7 +93,13 @@
 <div style="margin: 0; padding: 1rem; font-family: serif" contenteditable="true">
     <!-- header/smg info -->
     <div style="text-align: center; margin-bottom: 1.5rem; font-family: sans-serif">
-        <div style="margin-bottom: 3px; font-weight:bold; font-size: 43px;line-height:40px;">Scholar Medical Group</div>
+        <div style="margin-bottom: 3px; font-weight:bold; font-size: 43px;line-height:40px;">
+            @if($note->hcpCompanyPro)
+                {{ $note->hcpCompanyPro->company->name }}
+            @else
+                Scholar Medical Group
+            @endif
+        </div>
         @if($patient->mcp)
             <div style="margin-bottom: 3px; font-size: 16px;font-weight:bold;">{{ $patient->mcp->displayName() }}</div>
         @endif