Ver Fonte

Clone support for old notes

Vijayakrishnan há 3 anos atrás
pai
commit
362187a18a

+ 6 - 6
resources/views/app/patient/note/dashboard.blade.php

@@ -159,11 +159,11 @@
                             <button class="btn btn-default border btn-sm" cancel>Cancel</button>
                         </div>
                     </form>
-                </div>
-                <div class="d-inline border-left pl-2">
-                    @include('app.practice-management.visit-templates.change-note-visit-template')
                 </div>
                     @if($note->visit_template_id)
+                        <div class="d-inline border-left pl-2">
+                            @include('app.practice-management.visit-templates.change-note-visit-template')
+                        </div>
                         <div moe relative class="d-inline border-left pl-2 ml-2">
                             <a start show>Clone</a>
                             <form url="/api/visit/clone" class="mcp-theme-1" left
@@ -469,7 +469,7 @@
                                     <div moe relative
                                          class="{{ $note->hcp_pro_id !== $pro->id ? 'moe-disabled' : '' }} screen-only"
                                          title="{{ $note->hcp_pro_id !== $pro->id ? 'Only the note\'s HCP can sign' : '' }}">
-                                        <a class="" href="" show start>Sign Note As HCP</a>
+                                        <a class="" href="" show start>Sign As HCP</a>
                                         <form url="/api/note/signAsHcp" right>
                                             <input type="hidden" name="uid" value="{{$note->uid}}">
                                             <p>Sign this note as HCP?</p>
@@ -496,7 +496,7 @@
                     </div>
                 </div>
                 @if($note->allyPro && $pro->id === $note->allyPro->id)
-                <div class="mx-3">
+                <div class="ml-3">
                     <div>
                         @if($note->is_signed_by_ally)
                             <span class="text-secondary">
@@ -520,7 +520,7 @@
                             <div moe
                                  class="{{ $note->ally_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
                                  title="{{ $note->ally_pro_id !== $pro->id ? 'Only the note\'s Ally can sign' : '' }}">
-                                <a class="" href="" show start>Sign Note As NA</a>
+                                <a class="" href="" show start>Sign As NA</a>
                                 <form url="/api/note/signAsAlly" right>
                                     <input type="hidden" name="uid" value="{{$note->uid}}">
                                     <p>Sign this NA?</p>

+ 1 - 1
resources/views/app/practice-management/visit-templates/change-note-visit-template.blade.php

@@ -9,7 +9,7 @@
 
 <div id="changeNoteVisitTemplateSegmentTemplate" class="d-inline">
 	<div moe>
-		<a class="" href="" show start>Change Visit Template</a>
+		<a class="" href="" show start>Change Template</a>
 		<form url="/api/visit/swapTemplate">
 			<input type="hidden" name="noteUid" value="{{ $note->uid }}">
 			<div id="changeNoteVisitTemplateSegmentTemplateComponent" v-cloak>