|
@@ -10,11 +10,12 @@
|
|
<div id="changeNoteVisitTemplateSegmentTemplate" class="d-inline">
|
|
<div id="changeNoteVisitTemplateSegmentTemplate" class="d-inline">
|
|
<div moe>
|
|
<div moe>
|
|
<a class="" href="" show start>Change Visit Template</a>
|
|
<a class="" href="" show start>Change Visit Template</a>
|
|
- <form url="">
|
|
|
|
|
|
+ <form url="/api/visit/swapTemplate">
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $note->uid }}">
|
|
<div id="changeNoteVisitTemplateSegmentTemplateComponent" v-cloak>
|
|
<div id="changeNoteVisitTemplateSegmentTemplateComponent" v-cloak>
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<label>Visit Template<sup class="text-danger">*</sup></label>
|
|
<label>Visit Template<sup class="text-danger">*</sup></label>
|
|
- <select name="segmentTemplateUid" class="form-control" select-2 required>
|
|
|
|
|
|
+ <select name="visitTemplateUid" class="form-control" select-2 required>
|
|
<option value=""></option>
|
|
<option value=""></option>
|
|
<option v-for="t in visitTemplates" v-bind:value="t.uid" v-bind:selected="t.id == {{ $note->visit_template_id }}">@{{ t.title }}</option>
|
|
<option v-for="t in visitTemplates" v-bind:value="t.uid" v-bind:selected="t.id == {{ $note->visit_template_id }}">@{{ t.title }}</option>
|
|
</select>
|
|
</select>
|