|
@@ -44,11 +44,14 @@
|
|
|
v-if="!addingReport && <?=$category?>PopupMode === 'edit' && <?=$category?>PopupItem.data.attachments && <?=$category?>PopupItem.data.attachments.length"
|
|
|
class="py-2 bg-light">
|
|
|
<div v-for="(attachment) in <?=$category?>PopupItem.data.attachments" class="d-flex align-items-start pb-2">
|
|
|
- <div class="pro-initials text-uppercase mr-2"
|
|
|
+ <div v-if="attachment.hcp_pro_id" class="pro-initials pro-initials-sm text-uppercase mr-2"
|
|
|
:title="allProsFlat['pro_' + attachment.hcp_pro_id].displayedName"
|
|
|
:style="'background-color: ' + allProsFlat['pro_' + attachment.hcp_pro_id].colors.bc + '; color: ' + allProsFlat['pro_' + attachment.hcp_pro_id].colors.fc + ';'"
|
|
|
v-html="allProsFlat['pro_' + attachment.hcp_pro_id].displayedInitials">
|
|
|
</div>
|
|
|
+ <div v-if="!attachment.hcp_pro_id" class="pro-initials pro-initials-sm text-uppercase mr-2"
|
|
|
+ title="HCP not set"
|
|
|
+ style="background-color: #eee; color: #666">…</div>
|
|
|
<div class="flex-grow-1">
|
|
|
<div class="d-flex align-items-center">
|
|
|
<a class="pdf-viewer-trigger" native target="_blank"
|