@7365admin1/layer-common 3.0.25 → 3.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 3.0.26
4
+
5
+ ### Patch Changes
6
+
7
+ - 4c4e01d: Update Package Version
8
+ - 165fd5a: Update Layer Common Version
9
+
3
10
  ## 3.0.25
4
11
 
5
12
  ### Patch Changes
@@ -54,9 +54,39 @@
54
54
 
55
55
  <div>
56
56
  <div class="text-caption text-grey">User</div>
57
- <div class="text-body-2 font-weight-medium">{{ details.user?.name ?? "N/A" }} ({{ details.user?.email ?? "N/A" }})</div>
57
+ <div class="text-body-2 font-weight-medium">
58
+ {{ details.userCred?.name ?? details.user?.name ?? "N/A" }}
59
+ <template v-if="details.user?.email">({{ details.user.email }})</template>
60
+ </div>
58
61
  </div>
59
62
 
63
+ <!-- Visitor Credentials -->
64
+ <template v-if="details.userCred">
65
+ <v-divider />
66
+ <div class="text-caption font-weight-bold text-grey-darken-2 text-uppercase">Visitor Information</div>
67
+
68
+ <div>
69
+ <div class="text-caption text-grey">NRIC</div>
70
+ <div class="text-body-2 font-weight-medium">{{ details.userCred.nric ?? "N/A" }}</div>
71
+ </div>
72
+
73
+ <div>
74
+ <div class="text-caption text-grey">Contact</div>
75
+ <div class="text-body-2 font-weight-medium">{{ details.userCred.contact ?? "N/A" }}</div>
76
+ </div>
77
+
78
+ <div v-if="details.userCred.company">
79
+ <div class="text-caption text-grey">Company</div>
80
+ <div class="text-body-2 font-weight-medium">{{ details.userCred.company }}</div>
81
+ </div>
82
+
83
+ <div v-if="details.userCred.plateNumber">
84
+ <div class="text-caption text-grey">Plate Number</div>
85
+ <div class="text-body-2 font-weight-medium">{{ details.userCred.plateNumber }}</div>
86
+ </div>
87
+ <v-divider />
88
+ </template>
89
+
60
90
  <div>
61
91
  <div class="text-caption text-grey">Created At</div>
62
92
  <div class="text-body-2 font-weight-medium">{{ formatDate(details.createdAt) }}</div>