PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.8
Booking for Appointments and Events Calendar – Amelia v2.4.8
2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / v3 / src / assets / js / admin / status.js
ameliabooking / v3 / src / assets / js / admin Last commit date
admin.js 1 month ago appointment.js 1 month ago booking.js 1 day ago customers.js 1 day ago event.js 1 month ago package.js 1 month ago payment.js 1 month ago socialAuthOptions.js 1 month ago status.js 1 month ago useReactiveCustomize.js 1 week ago
status.js
47 lines
1 import { reactive } from 'vue'
2
3 const globalLabels = reactive(window.wpAmeliaLabels)
4
5 function useStatuses() {
6 return [
7 {
8 value: 'approved',
9 label: globalLabels.approved,
10 icon: 'check',
11 color: 'var(--am-c-success)',
12 },
13 {
14 value: 'pending',
15 label: globalLabels.pending,
16 icon: 'refresh',
17 color: 'var(--am-c-warning)',
18 },
19 {
20 value: 'canceled',
21 label: globalLabels.canceled,
22 icon: 'close',
23 color: 'var(--am-c-error)',
24 },
25 {
26 value: 'rejected',
27 label: globalLabels.rejected,
28 icon: 'info-reverse',
29 color: 'var(--am-c-main-text)',
30 },
31 {
32 value: 'waiting',
33 label: globalLabels.waiting,
34 icon: 'clock',
35 color: 'var(--am-c-warning)',
36 },
37 {
38 value: 'no-show',
39 label: globalLabels['no-show'],
40 icon: 'no-show',
41 color: '#808A90',
42 },
43 ]
44 }
45
46 export { useStatuses }
47