|
@@ -402,7 +402,7 @@
|
|
|
<div v-else>-</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="pb-2 d-flex align-items-start" v-if="currentPrescription.has_hcp_pro_signed">
|
|
|
+ <div class="pb-2 d-flex align-items-start" v-if="currentPrescription.has_hcp_pro_signed || proType == 'ADMIN'">
|
|
|
<span class="min-width-140px text-secondary text-sm">PDF</span>
|
|
|
<div class="d-flex align-items-baseline">
|
|
|
<a class="pdf-viewer-trigger d-block mb-1" native target="_blank"
|
|
@@ -525,6 +525,7 @@ GROUP BY erx_category");
|
|
|
el: '#prescriptions-{{$patient->id}}',
|
|
|
delimiters: ['@{{', '}}'],
|
|
|
data: {
|
|
|
+ proType: "{{$pro->pro_type}}",
|
|
|
includeCancelled: '',
|
|
|
|
|
|
prescriptions: <?= json_encode($prescriptions) ?>,
|
|
@@ -1616,6 +1617,7 @@ GROUP BY erx_category");
|
|
|
},
|
|
|
mounted: function() {
|
|
|
let self = this;
|
|
|
+
|
|
|
$(document).on('pro-changed', '.erx-hcp-pro-select', function() {
|
|
|
self.currentPrescriptionHcpPro.newHcpProUid = this.value;
|
|
|
});
|