Procházet zdrojové kódy

CCM/RPM popups moes clearing checkboxes fix

Vijayakrishnan před 3 roky
rodič
revize
e5ab5a6ebf

+ 5 - 5
resources/views/app/patient/note/ccm-agreement.blade.php

@@ -13,7 +13,7 @@
 
     <?php $patient = $note->client; ?>
 
-    <div class="border rounded p-3 mb-3 max-width-500px">
+    <div class="border rounded p-3 mb-3 max-width-500px" id="ccm-agreement-reasons-{{$note->id}}">
         <p><b>CCM Reasons @if(!$patient->cmReasons || count($patient->cmReasons) < 2)(2 reasons required)@else <i class="fa fa-check text-success ml-1"></i> @endif</b></p>
         <div class="min-width-300px">
             @if(!$patient->cmReasons || !count($patient->cmReasons))
@@ -26,7 +26,7 @@
                             <span class="max-width-200px mr-3">{{$reason->description}}</span>
                             <div moe relative class="ml-auto">
                                 <a start show><i class="fa fa-pencil-alt"></i></a>
-                                <form url="/api/clientCmRmReason/updateBasic" class="mcp-theme-1" right>
+                                <form url="/api/clientCmRmReason/updateBasic" class="mcp-theme-1" right target="#ccm-agreement-reasons-{{$note->id}}">
                                     <input type="hidden" name="uid" value="{{$reason->uid}}">
                                     <div class="mb-2">
                                         <label class="text-sm mb-1 text-secondary">Code *</label>
@@ -48,7 +48,7 @@
                             </div>
                             <div moe relative class="ml-2">
                                 <a start show><i class="fa fa-trash-alt text-danger on-hover-opaque"></i></a>
-                                <form url="/api/clientCmRmReason/remove" class="mcp-theme-1" right>
+                                <form url="/api/clientCmRmReason/remove" class="mcp-theme-1" right target="#ccm-agreement-reasons-{{$note->id}}">
                                     <input type="hidden" name="uid" value="{{$reason->uid}}">
                                     <p>Remove this CM reason?</p>
                                     <div>
@@ -65,7 +65,7 @@
                 <div class="d-flex align-items-baseline">
                     <div moe>
                         <a start show>+ Add From Dx</a>
-                        <form url="/api/clientCmRmReason/create" class="mcp-theme-1">
+                        <form url="/api/clientCmRmReason/create" class="mcp-theme-1" target="#ccm-agreement-reasons-{{$note->id}}">
                             <input type="hidden" name="clientUid" value="{{$patient->uid}}">
                             <input type="hidden" name="cmOrRm" value="CM">
                             <input type="hidden" name="code" value="">
@@ -91,7 +91,7 @@
                     <span class="mx-2 text-secondary text-sm">|</span>
                     <div moe>
                         <a start show>+ Add</a>
-                        <form url="/api/clientCmRmReason/create" class="mcp-theme-1">
+                        <form url="/api/clientCmRmReason/create" class="mcp-theme-1" target="#ccm-agreement-reasons-{{$note->id}}">
                             <input type="hidden" name="clientUid" value="{{$patient->uid}}">
                             <input type="hidden" name="cmOrRm" value="CM">
                             <div class="mb-2">

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

@@ -587,7 +587,7 @@
                                     <a native target="_blank"
                                        class="screen-only ml-3"
                                        open-in-stag-popup
-                                       popup-style="medium"
+                                       popup-style="medium overflow-visible"
                                        mc-initer="ccm-agreement-{{$note->id}}"
                                        title="Consent To Chronic Care Management Services"
                                        href="/note/ccm-agreement/{{$note->uid}}?popupmode=1">

+ 1 - 1
resources/views/app/patient/note/rm-setup.blade.php

@@ -72,7 +72,7 @@
                         <a native target="_blank"
                            class="screen-only ml-2"
                            open-in-stag-popup
-                           popup-style="medium"
+                           popup-style="medium overflow-visible"
                            mc-initer="rpm-agreement-{{$note->id}}"
                            title="Leadership Health Remote Patient Monitoring Consent Form"
                            href="/note/rpm-agreement/{{$note->uid}}?popupmode=1">

+ 5 - 5
resources/views/app/patient/note/rpm-agreement.blade.php

@@ -42,7 +42,7 @@
 
     <?php $patient = $note->client; ?>
 
-    <div class="border rounded p-3 mb-3 max-width-500px">
+    <div class="border rounded p-3 mb-3 max-width-500px" id="rpm-agreement-reasons-{{$note->id}}">
         <p><b>RPM Reasons</b></p>
         <div class="max-width-500px">
             @if(!$patient->rmReasons || !count($patient->rmReasons))
@@ -55,7 +55,7 @@
                             <span class="max-width-200px mr-3">{{$reason->description}}</span>
                             <div moe relative class="ml-auto">
                                 <a start show><i class="fa fa-pencil-alt"></i></a>
-                                <form url="/api/clientCmRmReason/updateBasic" class="mcp-theme-1" right>
+                                <form url="/api/clientCmRmReason/updateBasic" class="mcp-theme-1" right target="#rpm-agreement-reasons-{{$note->id}}">
                                     <input type="hidden" name="uid" value="{{$reason->uid}}">
                                     <div class="mb-2">
                                         <label class="text-sm mb-1 text-secondary">Code *</label>
@@ -77,7 +77,7 @@
                             </div>
                             <div moe relative class="ml-2">
                                 <a start show><i class="fa fa-trash-alt text-danger on-hover-opaque"></i></a>
-                                <form url="/api/clientCmRmReason/remove" class="mcp-theme-1" right>
+                                <form url="/api/clientCmRmReason/remove" class="mcp-theme-1" right target="#rpm-agreement-reasons-{{$note->id}}">
                                     <input type="hidden" name="uid" value="{{$reason->uid}}">
                                     <p>Remove this RM reason?</p>
                                     <div>
@@ -93,7 +93,7 @@
             <div class="d-flex align-items-baseline">
                 <div moe>
                     <a start show>+ Add From Dx</a>
-                    <form url="/api/clientCmRmReason/create" class="mcp-theme-1">
+                    <form url="/api/clientCmRmReason/create" class="mcp-theme-1" target="#rpm-agreement-reasons-{{$note->id}}">
                         <input type="hidden" name="clientUid" value="{{$patient->uid}}">
                         <input type="hidden" name="cmOrRm" value="RM">
                         <input type="hidden" name="code" value="">
@@ -119,7 +119,7 @@
                 <span class="mx-2 text-secondary text-sm">|</span>
                 <div moe>
                     <a start show>+ Add New</a>
-                    <form url="/api/clientCmRmReason/create" class="mcp-theme-1">
+                    <form url="/api/clientCmRmReason/create" class="mcp-theme-1" target="#rpm-agreement-reasons-{{$note->id}}">
                         <input type="hidden" name="clientUid" value="{{$patient->uid}}">
                         <input type="hidden" name="cmOrRm" value="RM">
                         <div class="mb-2">