PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.9
Booking for Appointments and Events Calendar – Amelia v2.4.9
2.4.9 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 / store / modules / recurring.js
ameliabooking / v3 / src / store / modules Last commit date
appointment.js 2 months ago appointmentWaitingListOptions.js 2 months ago attendee.js 2 months ago auth.js 2 months ago bookableType.js 2 months ago booking.js 2 weeks ago cabinet.js 2 months ago cabinetFilters.js 2 months ago coupon.js 2 months ago customFields.js 2 months ago customerInfo.js 2 months ago employee.js 2 months ago entities.js 1 week ago event.js 2 months ago eventBooking.js 2 months ago eventEntities.js 1 month ago eventWaitingListOptions.js 2 months ago pagination.js 2 months ago params.js 2 months ago payment.js 2 months ago persons.js 2 months ago recurring.js 2 months ago shortcodeParams.js 2 months ago stepByStepFilters.js 2 months ago tickets.js 4 weeks ago
recurring.js
72 lines
1 export default {
2 namespaced: true,
3
4 state: () => ({
5 repeatType: 'daily',
6 repeatInterval: 1,
7 occurrenceType: 'After',
8 occurrenceDate: null,
9 occurrenceCount: 1,
10 days: [
11 { value: 'monday', selected: false },
12 { value: 'tuesday', selected: false },
13 { value: 'wednesday', selected: false },
14 { value: 'thursday', selected: false },
15 { value: 'friday', selected: false },
16 { value: 'saturday', selected: false },
17 { value: 'sunday', selected: false },
18 ],
19 monthly: 0,
20 }),
21
22 getters: {
23 getRepeatType(state) {
24 return state.repeatType
25 },
26 getRepeatInterval(state) {
27 return state.repeatInterval
28 },
29 getOccurrenceType(state) {
30 return state.occurrenceType
31 },
32 getOccurrenceDate(state) {
33 return state.occurrenceDate
34 },
35 getOccurrenceCount(state) {
36 return state.occurrenceCount
37 },
38 getMonthly(state) {
39 return state.monthly
40 },
41 getDays(state) {
42 return state.days
43 },
44 },
45
46 mutations: {
47 setRepeatType(state, payload) {
48 state.repeatType = payload
49 },
50 setRepeatInterval(state, payload) {
51 state.repeatInterval = payload
52 },
53 setOccurrenceType(state, payload) {
54 state.occurrenceType = payload
55 },
56 setOccurrenceDate(state, payload) {
57 state.occurrenceDate = payload
58 },
59 setOccurrenceCount(state, payload) {
60 state.occurrenceCount = payload
61 },
62 setMonthly(state, payload) {
63 state.monthly = payload
64 },
65 setDays(state, payload) {
66 state.days.find((day) => day.value === payload.value).selected = payload.selected
67 },
68 },
69
70 actions: {},
71 }
72