@fishawack/lab-velocity 2.0.0-beta.26 → 2.0.0-beta.27
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.
|
@@ -75,6 +75,21 @@
|
|
|
75
75
|
</VelButton>
|
|
76
76
|
</div>
|
|
77
77
|
|
|
78
|
+
<VelBasic
|
|
79
|
+
v-model="form.seats"
|
|
80
|
+
name="seats"
|
|
81
|
+
:error="form.errors"
|
|
82
|
+
type="number"
|
|
83
|
+
placeholder="Company seats"
|
|
84
|
+
label="Company seats"
|
|
85
|
+
min="0"
|
|
86
|
+
class="mb-0 mt-2"
|
|
87
|
+
>
|
|
88
|
+
<template #label>
|
|
89
|
+
Company seats <sup class="color-status-red-100">*</sup>
|
|
90
|
+
</template>
|
|
91
|
+
</VelBasic>
|
|
92
|
+
|
|
78
93
|
<hr class="my-5 hr-muted" />
|
|
79
94
|
|
|
80
95
|
<template v-if="$store.getters.can('edit roles')">
|
|
@@ -33,6 +33,7 @@ export default [
|
|
|
33
33
|
name: model?.name || null,
|
|
34
34
|
primary_contact: model?.primary_contact?.id || null,
|
|
35
35
|
domains: model?.domains || [],
|
|
36
|
+
seats: model?.seats != null ? model.seats : null,
|
|
36
37
|
roles: model?.roles.map((val) => val.id) || [],
|
|
37
38
|
sso_client_id: model?.sso_client_id || undefined,
|
|
38
39
|
sso_tenant: model?.sso_tenant || undefined,
|
|
@@ -95,9 +96,13 @@ export default [
|
|
|
95
96
|
h("span", !!model.primary_contact_contacted),
|
|
96
97
|
},
|
|
97
98
|
{
|
|
98
|
-
label: "Total
|
|
99
|
+
label: "Total Users",
|
|
99
100
|
key: "user_count",
|
|
100
101
|
},
|
|
102
|
+
{
|
|
103
|
+
label: "Available Seats",
|
|
104
|
+
key: "seats",
|
|
105
|
+
},
|
|
101
106
|
],
|
|
102
107
|
},
|
|
103
108
|
index: {
|