change user policy

This commit is contained in:
Fateme
2020-06-05 17:17:55 +04:30
parent 42934693ce
commit 2ff59d29d0
10 changed files with 23 additions and 13 deletions
@@ -3,7 +3,7 @@
<v-container grid-list-xs>
<material-card color="black" title="Show Package">
<v-layout id="printMe" align-left justify-left wrap class="px-5 my-3">
<h3 class="ml-3">Package - {{ data.user.medical_center.name }}</h3>
<h3 class="ml-3">Package - {{ (data.user != null && data.user.medical_center != null) ? data.user.medical_center.name : ''}}</h3>
<v-flex xs12>
<hr class="v-divider theme--light">
</v-flex>
@@ -23,7 +23,7 @@
<v-flex xs12 md6 sm6>
<div class="WM-d-flex">
<v-icon class="WMi-user"></v-icon>
<span class="headline ml-2" style="letter-spacing:0 !important">{{ (typeof data.user != 'undefined') ? data.user.name : '' }}</span>
<span class="headline ml-2" style="letter-spacing:0 !important">{{ data.user ? data.user.name : '' }}</span>
</div>
</v-flex>
<v-flex xs12 md6 sm6>