|
@@ -40,6 +40,23 @@ if ($latestSectionTS === 0 || $latestSectionTS < $sectionTS) {
|
|
|
@include('sections/' . $sectionInternalName . '/actions')
|
|
|
<?php endif; ?>
|
|
|
|
|
|
+ {{-- refresh from client data --}}
|
|
|
+ <?php if ($section->sectionTemplate->is_canvas): ?>
|
|
|
+ <div moe class="d-none if-edit ml-2">
|
|
|
+ <a start show class="font-weight-normal" title="Update with latest patient data">
|
|
|
+ <i class="fa fa-sync"></i>
|
|
|
+ </a>
|
|
|
+ <form url="/api/section/updateFromCanvas">
|
|
|
+ <p>Update this section with latest patient data?</p>
|
|
|
+ <input type="hidden" name="uid" value="{{ $section->uid }}">
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" type="button" submit>Update</button>
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" type="button" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <?php endif; ?>
|
|
|
+
|
|
|
@if(isset($pro))
|
|
|
<div class="ml-auto d-inline-flex align-items-center">
|
|
|
<div class="ml-auto">
|