|
@@ -28,7 +28,9 @@ $medications = $points;
|
|
|
<tr>
|
|
|
<th class="text-secondary bg-light border-bottom-0 w-25">Medication</th>
|
|
|
<th class="text-secondary bg-light border-bottom-0 w-25">Pre-existing Plan</th>
|
|
|
- <th class="text-secondary bg-light border-bottom-0 w-25">Current Subjective</th>
|
|
|
+ <th class="text-secondary bg-light border-bottom-0 w-25">Current Subjective
|
|
|
+ <a href="#" class="text-sm font-weight-normal ml-3 btn-copy-all">Copy all to new subj.</a>
|
|
|
+ </th>
|
|
|
<th class="text-secondary bg-light border-bottom-0 w-25">New Subjective</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
@@ -157,6 +159,15 @@ $medications = $points;
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
+ $('#medications-reconcile-{{$note->id}} .btn-copy-all')
|
|
|
+ .off('click')
|
|
|
+ .on('click', function() {
|
|
|
+ $('#medications-reconcile-{{$note->id}} .copy-to-new-subjective').each(function() {
|
|
|
+ $(this).trigger('click');
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ });
|
|
|
+
|
|
|
$('#medications-reconcile-{{$note->id}} .btn-save-reviews')
|
|
|
.off('click')
|
|
|
.on('click', function() {
|