@semics-tech/emdash-events 1.0.0-rc.1 → 1.0.0-rc.10
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/dist/index.mjs +1 -1
- package/dist/manifest.json +1 -1
- package/dist/plugin.mjs +6 -6
- package/dist/ts/astro/lib/page.d.ts +44 -0
- package/dist/ts/astro/lib/page.js +122 -0
- package/dist/ts/integration/index.d.ts +4 -0
- package/dist/ts/integration/index.js +2 -0
- package/package.json +6 -2
- package/src/astro/AttendeeList.astro +9 -12
- package/src/astro/BookingPage.astro +46 -10
- package/src/astro/BookingStatus.astro +142 -52
- package/src/astro/BookingWidget.astro +128 -51
- package/src/astro/CancelBooking.astro +80 -0
- package/src/astro/PageBrand.astro +18 -0
- package/src/astro/PageOrganiser.astro +22 -0
- package/src/astro/TicketPass.astro +131 -33
- package/src/astro/lib/attendees.ts +52 -4
- package/src/astro/lib/list.ts +22 -0
- package/src/astro/lib/page.ts +142 -0
- package/src/astro/lib/pass.ts +9 -0
- package/src/astro/lib/payment.ts +6 -10
- package/src/astro/lib/widget.ts +54 -2
- package/src/astro/virtual.d.ts +2 -0
- package/src/client/forget-form.ts +16 -0
- package/src/client/picker.ts +20 -9
- package/src/client/print.ts +12 -0
- package/src/i18n/ar.ts +25 -1
- package/src/i18n/en.ts +25 -1
package/src/astro/lib/widget.ts
CHANGED
|
@@ -36,6 +36,10 @@ export interface PublicEvent {
|
|
|
36
36
|
turnstileSiteKey?: string;
|
|
37
37
|
/** True when the event requires a signed waiver (T066): the booking form then asks for attendees. */
|
|
38
38
|
waiver?: boolean;
|
|
39
|
+
/** Events Pro: that waiver is signed per attendee, so its seat rules can be checked before reserving. */
|
|
40
|
+
waiverEach?: boolean;
|
|
41
|
+
/** Events Pro (T160): the waiver is signed after payment (`waiverTiming: "after-payment"`), for a paid order. */
|
|
42
|
+
waiverAfter?: boolean;
|
|
39
43
|
/** True when the core takes promo codes (Events Pro, T078): the widget then shows a code field. */
|
|
40
44
|
promoCodes?: boolean;
|
|
41
45
|
/** True when a sold-out event takes a waitlist (T081): the widget then shows a "Join the waitlist" form. */
|
|
@@ -48,6 +52,10 @@ export interface PublicEvent {
|
|
|
48
52
|
* Ticket type names by id from a `public/event` answer, for `<BookingStatus>` (T134): the booking's
|
|
49
53
|
* lines carry only ids (UUIDs for types made in the editor). A hidden type is not listed there.
|
|
50
54
|
*/
|
|
55
|
+
/** Whether the booking page hands the booking to the suite's reconciliation: lookups, or void intents (T152). */
|
|
56
|
+
export const reconcileWanted = (b: Pick<BookingView, "waiver"> | undefined): boolean =>
|
|
57
|
+
Boolean(b?.waiver?.lookups || b?.waiver?.voids);
|
|
58
|
+
|
|
51
59
|
export function ticketNames(event: Pick<PublicEvent, "ticketTypes"> | undefined): Record<string, string> {
|
|
52
60
|
return Object.fromEntries((event?.ticketTypes ?? []).map((t) => [t.id, t.name]));
|
|
53
61
|
}
|
|
@@ -70,6 +78,14 @@ export interface BookingView {
|
|
|
70
78
|
lines: Array<{ ticketTypeId: string; qty: number }>;
|
|
71
79
|
totals: { totalMinor: number; currency: string };
|
|
72
80
|
holdExpiresAt?: string;
|
|
81
|
+
/** The event's public info: the booked session (`startsAt`, in `timezone`) and `venue` lead the page (T157); `slug` for "Book again". */
|
|
82
|
+
event?: { title?: string; startsAt?: string; timezone?: string | null; venue?: string | null; slug?: string | null };
|
|
83
|
+
/** Why the organiser declined (`status: "declined"`), when they said. */
|
|
84
|
+
declineReason?: string | null;
|
|
85
|
+
/** Declined, a price was due and no money was taken (`closeBooking`). */
|
|
86
|
+
notCharged?: boolean;
|
|
87
|
+
/** Expired, this means it ran out waiting for the organiser's decision (Pro: not one approved but left unpaid). */
|
|
88
|
+
undecided?: boolean;
|
|
73
89
|
/** `qr`: Events Pro's QR matrix of `code` (T082), drawn by `<TicketPass>`; Free sends none. */
|
|
74
90
|
attendees: Array<{ name: string; ticketTypeId?: string; status: string; code?: string; qr?: unknown }>;
|
|
75
91
|
canCancel: boolean;
|
|
@@ -78,9 +94,12 @@ export interface BookingView {
|
|
|
78
94
|
calendar?: { query?: string };
|
|
79
95
|
/**
|
|
80
96
|
* While a waiver booking waits for signatures (T066): the refs still unsigned, and with Pro a signed
|
|
81
|
-
* receipt-lookup request for each, which the suite's reconciliation sends to e-sign.
|
|
97
|
+
* receipt-lookup request for each, which the suite's reconciliation sends to e-sign. Once the booking
|
|
98
|
+
* has ended (expired, cancelled), Pro lists instead a void intent per seat not signed (T152).
|
|
82
99
|
*/
|
|
83
|
-
waiver?: { refs: string[]; lookups?: Record<string, string> };
|
|
100
|
+
waiver?: { refs: string[]; lookups?: Record<string, string>; voids?: Record<string, string> };
|
|
101
|
+
/** Events Pro (T160): the booking's waiver comes after payment, so a paid booking is confirmed with seats still to sign. */
|
|
102
|
+
waiverAfter?: boolean;
|
|
84
103
|
/**
|
|
85
104
|
* Events Pro (T133): a waiver booking's attendee signing list. Each attendee then also carries
|
|
86
105
|
* `seat`, `signing`, `signs`, `email` and `minor` (`SigningAttendee` in `lib/attendees.ts`);
|
|
@@ -297,3 +316,36 @@ export const statusLabel = (status: string, locale?: string) =>
|
|
|
297
316
|
|
|
298
317
|
/** English status labels (the 1.0 API; components use `statusLabel`). */
|
|
299
318
|
export const STATUS_LABELS: Record<string, string> = Object.fromEntries(STATUSES.map((s) => [s, statusLabel(s, "en")]));
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* The booking as it stands at `now`: a hold past its deadline has lapsed even before the sweeper moves it (the core
|
|
322
|
+
* refuses anything on it, and the waiver page already says so), so the page shows it as expired.
|
|
323
|
+
*/
|
|
324
|
+
export function asOfNow<T extends Pick<BookingView, "status" | "holdExpiresAt" | "canCancel">>(
|
|
325
|
+
booking: T,
|
|
326
|
+
now: number,
|
|
327
|
+
): T {
|
|
328
|
+
const until = booking.holdExpiresAt ? Date.parse(booking.holdExpiresAt) : Number.NaN;
|
|
329
|
+
if (!(until <= now)) return booking;
|
|
330
|
+
const { holdExpiresAt: _gone, ...rest } = booking;
|
|
331
|
+
return { ...rest, status: "expired", canCancel: false } as T;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/** What a booking that ended without going ahead should say beyond its status (declined, or lapsed). */
|
|
335
|
+
export function endedNotes(
|
|
336
|
+
booking: Pick<BookingView, "status" | "declineReason" | "notCharged" | "undecided"> & {
|
|
337
|
+
totals?: BookingView["totals"];
|
|
338
|
+
},
|
|
339
|
+
locale?: string,
|
|
340
|
+
) {
|
|
341
|
+
if (booking.status === "expired") {
|
|
342
|
+
if (booking.undecided) return [t(locale, "booking.undecided")];
|
|
343
|
+
// A paid one has the payment section's "This booking expired": only what that does not say.
|
|
344
|
+
return [t(locale, booking.totals?.totalMinor ? "booking.signAgain" : "booking.lapsed")];
|
|
345
|
+
}
|
|
346
|
+
if (booking.status !== "declined") return [];
|
|
347
|
+
return [
|
|
348
|
+
...(booking.declineReason ? [t(locale, "booking.declinedReason", { reason: booking.declineReason })] : []),
|
|
349
|
+
...(booking.notCharged ? [t(locale, "booking.notCharged")] : []),
|
|
350
|
+
];
|
|
351
|
+
}
|
package/src/astro/virtual.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Provided by the integration's Vite plugin (`eventsIntegration({ pluginId })`).
|
|
2
2
|
declare module "virtual:semics-events/config" {
|
|
3
3
|
export const pluginId: string;
|
|
4
|
+
/** How the site dresses the plugin's own pages (`eventsIntegration({ page })`). */
|
|
5
|
+
export const page: import("./lib/page").PageOptions;
|
|
4
6
|
/** The e-sign core's plugin id, or `null` when e-sign is not configured (`eventsIntegration({ esignPluginId })`). */
|
|
5
7
|
export const esignPluginId: string | null;
|
|
6
8
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Forgets what the suite's booking form kept for a refusal (`keep-form.ts` in the suite): a person who reaches the
|
|
3
|
+
* booking page has got past the form, and on a shared device their details must not linger. Self-contained.
|
|
4
|
+
*/
|
|
5
|
+
export function forgetKeptForms(storage: Pick<Storage, "length" | "key" | "removeItem">): void {
|
|
6
|
+
for (let i = storage.length - 1; i >= 0; i--) {
|
|
7
|
+
const key = storage.key(i);
|
|
8
|
+
if (key?.startsWith("semics-waiver-form:")) storage.removeItem(key);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
try {
|
|
13
|
+
if (typeof document !== "undefined") forgetKeptForms(sessionStorage);
|
|
14
|
+
} catch {
|
|
15
|
+
// Storage is blocked: nothing was kept either.
|
|
16
|
+
}
|
package/src/client/picker.ts
CHANGED
|
@@ -60,10 +60,14 @@ export function enhancePicker(picker: HTMLElement): void {
|
|
|
60
60
|
const radios = (group: HTMLElement) => Array.from(group.querySelectorAll<HTMLButtonElement>('[role="radio"]'));
|
|
61
61
|
const isOpen = (b: HTMLElement) => b.getAttribute("aria-disabled") !== "true";
|
|
62
62
|
|
|
63
|
+
// The picker's own changes, which `showSelected` (below) need not follow.
|
|
64
|
+
let own = false;
|
|
63
65
|
const setSelect = (value: string) => {
|
|
64
66
|
if (select.value === value) return;
|
|
65
67
|
select.value = value;
|
|
68
|
+
own = true;
|
|
66
69
|
select.dispatchEvent(new Event("change", { bubbles: true }));
|
|
70
|
+
own = false;
|
|
67
71
|
};
|
|
68
72
|
|
|
69
73
|
const chooseTime = (button: HTMLButtonElement, focus: boolean) => {
|
|
@@ -127,15 +131,22 @@ export function enhancePicker(picker: HTMLElement): void {
|
|
|
127
131
|
}
|
|
128
132
|
}
|
|
129
133
|
|
|
130
|
-
// A value the browser kept (back/forward, a failed submit): show its day and time.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
134
|
+
// A value the browser kept (back/forward, a failed submit): show its day and time. Also when a script sets
|
|
135
|
+
// the select later and says so with `change` (the suite's refused-form restore, whose script may run after
|
|
136
|
+
// this one, T157); the picker's own changes are skipped.
|
|
137
|
+
const showSelected = () => {
|
|
138
|
+
if (own) return;
|
|
139
|
+
const kept =
|
|
140
|
+
select.value && picker.querySelector<HTMLButtonElement>(`[data-occurrence="${CSS.escape(select.value)}"]`);
|
|
141
|
+
const keptDay =
|
|
142
|
+
kept && dayButtons.find((b) => b.dataset.day === kept.closest<HTMLElement>("[data-times]")?.dataset.times);
|
|
143
|
+
if (kept && keptDay) {
|
|
144
|
+
showDay(keptDay, false);
|
|
145
|
+
chooseTime(kept, false);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
select.addEventListener("change", showSelected);
|
|
149
|
+
showSelected();
|
|
139
150
|
}
|
|
140
151
|
|
|
141
152
|
if (typeof document !== "undefined") {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* "Print or save as PDF" on the booking page (T157): the button stays hidden without JavaScript (it could do
|
|
3
|
+
* nothing there; the browser's own Print still uses the page's print stylesheet). Self-contained; no text.
|
|
4
|
+
*/
|
|
5
|
+
export function wirePrint(doc: Document, print: () => void): void {
|
|
6
|
+
for (const button of doc.querySelectorAll<HTMLButtonElement>("button[data-print]")) {
|
|
7
|
+
button.hidden = false;
|
|
8
|
+
button.addEventListener("click", () => print());
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
if (typeof document !== "undefined") wirePrint(document, () => window.print());
|
package/src/i18n/ar.ts
CHANGED
|
@@ -3,7 +3,6 @@ import type { Messages } from "./index";
|
|
|
3
3
|
/** Arabic (right to left). Plural forms follow `Intl.PluralRules("ar")`: zero, one, two, few, many, other. */
|
|
4
4
|
export const ar: Messages = {
|
|
5
5
|
"money.free": "مجاني",
|
|
6
|
-
"time.utc": "{time} بالتوقيت العالمي",
|
|
7
6
|
|
|
8
7
|
"list.heading": "الفعاليات القادمة",
|
|
9
8
|
"list.error": "الفعاليات غير متاحة الآن.",
|
|
@@ -101,12 +100,25 @@ export const ar: Messages = {
|
|
|
101
100
|
"booking.status": "حالة الحجز",
|
|
102
101
|
"booking.reference": "الرقم المرجعي",
|
|
103
102
|
"booking.heldUntil": "تذاكرك محجوزة حتى {time}.",
|
|
103
|
+
"booking.declinedReason": "سبب المنظّم: {reason}",
|
|
104
|
+
"booking.notCharged": "لم يُخصم أي مبلغ من بطاقتك.",
|
|
105
|
+
"booking.lapsed":
|
|
106
|
+
"انتهت صلاحية هذا الحجز لأنه لم يكتمل في الوقت المحدد، لذا أُتيحت أماكنه للآخرين. للمتابعة، ابدأ حجزًا جديدًا؛ وإذا كان هناك إقرار تنازل فستوقّعه مرة أخرى.",
|
|
107
|
+
"booking.undecided":
|
|
108
|
+
"لم يبتّ المنظّم في هذا الطلب في الوقت المحدد، لذا انتهت صلاحيته وأُتيحت أماكنه للآخرين. للمتابعة، ابدأ حجزًا جديدًا؛ وإذا كان هناك إقرار تنازل فستوقّعه مرة أخرى.",
|
|
109
|
+
"booking.signAgain": "إذا كان هناك إقرار تنازل، فستوقّعه مرة أخرى عند الحجز.",
|
|
110
|
+
"booking.bookAgain": "احجز مرة أخرى",
|
|
104
111
|
"booking.decideBy": "سيوافق المنظّم على طلبك أو يرفضه بحلول {time}، وسنراسلك بالبريد الإلكتروني.",
|
|
105
112
|
"booking.line": "{qty} × {name}",
|
|
106
113
|
"booking.total": "المجموع",
|
|
107
114
|
"booking.cancelUntil": "يمكنك الإلغاء حتى {time}.",
|
|
108
115
|
"booking.cancel": "إلغاء الحجز",
|
|
109
116
|
"booking.cancelFailed": "تعذّر علينا إلغاء هذا الحجز.",
|
|
117
|
+
"booking.cancelConfirm": "يؤدي الإلغاء إلى تحرير أماكنك، ولا يمكن التراجع عنه.",
|
|
118
|
+
"booking.cancelYes": "نعم، ألغِ هذا الحجز",
|
|
119
|
+
"booking.attendeesHeading": "الحضور",
|
|
120
|
+
"booking.print": "اطبع أو احفظ بصيغة PDF",
|
|
121
|
+
"booking.organiser": "المنظِّم: {name}",
|
|
110
122
|
"booking.offer.intro": "التذاكر من قائمة الانتظار محجوزة لك. استلمها على هذا الجهاز؛ يعمل الرابط مرة واحدة.",
|
|
111
123
|
"booking.offer.button": "استلم تذاكري",
|
|
112
124
|
"booking.open.intro": "افتح حجزك على هذا الجهاز. يعمل الرابط مرة واحدة، وبعدها يتذكر هذا المتصفح حجزك.",
|
|
@@ -133,6 +145,8 @@ export const ar: Messages = {
|
|
|
133
145
|
"booking.attendees.signed": "موقَّع",
|
|
134
146
|
"booking.attendees.waiting": "بانتظار التوقيع",
|
|
135
147
|
"booking.attendees.minor": "دون 18 عامًا: توقّع أنت بصفتك وليّ الأمر.",
|
|
148
|
+
"booking.attendees.notArrived":
|
|
149
|
+
"لم تصل الدعوة؟ تحقّق من العنوان وأعد إرسالها، أو استخدم التوقيع الآن. لا يمكننا رؤية الرسائل المرتجعة: تبقى هذه القائمة على حالة الانتظار حتى يوقّعوا.",
|
|
136
150
|
"booking.attendees.emailed": "أُرسلت دعوة بالبريد الإلكتروني إلى {email}.",
|
|
137
151
|
"booking.attendees.signNow": "وقّع الآن على هذا الجهاز",
|
|
138
152
|
"booking.attendees.resend": "أعد إرسال الدعوة",
|
|
@@ -143,6 +157,15 @@ export const ar: Messages = {
|
|
|
143
157
|
"booking.attendees.save": "حفظ التغييرات",
|
|
144
158
|
"booking.attendees.saved": "حُفظت بيانات الحضور. كل من تغيّرت بياناته سيصله طلب توقيع جديد.",
|
|
145
159
|
"booking.attendees.resent": "أعدنا إرسال دعوة التوقيع.",
|
|
160
|
+
"booking.attendees.pending": "التنازل بانتظار التوقيع",
|
|
161
|
+
"booking.attendees.invited": "أرسلنا التنازل بالبريد الإلكتروني إلى البالغين الآخرين لتوقيعه.",
|
|
162
|
+
"booking.waiverStep.title": "الخطوة الأخيرة: وقّع التنازل",
|
|
163
|
+
"booking.waiverStep.lead":
|
|
164
|
+
"استلمنا الدفع. لا يزال على كل مشارك توقيع التنازل: إلى أن يفعل يظهر بانتظار التوقيع ولا يمكن تسجيل حضوره.",
|
|
165
|
+
"booking.waiverStep.sign": "وقّع التنازل",
|
|
166
|
+
"booking.waiverStep.invite": "أرسل التنازلات بالبريد",
|
|
167
|
+
"booking.waiverStep.emailed":
|
|
168
|
+
"يُرسل إلى البالغين الذين لديهم بريد إلكتروني خاص بهم التنازل لتوقيعه عند الضغط على الزر.",
|
|
146
169
|
"booking.error.ATTENDEE_SIGNED": "لا يمكن تغيير بيانات شخص وقّع إقرار التنازل.",
|
|
147
170
|
"booking.error.ATTENDEES_LOCKED": "لم يعد بالإمكان تغيير بيانات الحضور عبر الإنترنت.",
|
|
148
171
|
"booking.error.ATTENDEE_INVALID": "تحقّق من اسم كل شخص وعنوان بريده الإلكتروني.",
|
|
@@ -156,6 +179,7 @@ export const ar: Messages = {
|
|
|
156
179
|
|
|
157
180
|
"pass.qr": "رمز QR لرمز تسجيل الحضور",
|
|
158
181
|
"pass.code": "رمز تسجيل الحضور",
|
|
182
|
+
"pass.codeShow": "إظهار الرمز لكتابته يدويًا",
|
|
159
183
|
"pass.status.pending": "بانتظار توقيع إقرار التنازل",
|
|
160
184
|
"pass.status.cancelled": "ملغاة",
|
|
161
185
|
"calendar.add": "أضف إلى التقويم",
|
package/src/i18n/en.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export const en = {
|
|
8
8
|
"money.free": "Free",
|
|
9
|
-
"time.utc": "{time} UTC",
|
|
10
9
|
|
|
11
10
|
"list.heading": "Upcoming events",
|
|
12
11
|
"list.error": "Events are unavailable right now.",
|
|
@@ -104,11 +103,24 @@ export const en = {
|
|
|
104
103
|
"booking.reference": "Reference",
|
|
105
104
|
"booking.heldUntil": "Your tickets are held until {time}.",
|
|
106
105
|
"booking.decideBy": "The organiser will approve or decline your request by {time}; we will email you.",
|
|
106
|
+
"booking.declinedReason": "The organiser's reason: {reason}",
|
|
107
|
+
"booking.notCharged": "Your card was not charged.",
|
|
108
|
+
"booking.lapsed":
|
|
109
|
+
"This booking lapsed because it was not finished in time, so its places were released. To go ahead, start a new booking; if there is a waiver, you will sign it again.",
|
|
110
|
+
"booking.undecided":
|
|
111
|
+
"The organiser did not decide this request in time, so it lapsed and its places were released. To go ahead, start a new booking; if there is a waiver, you will sign it again.",
|
|
112
|
+
"booking.signAgain": "If there is a waiver, you will sign it again when you book.",
|
|
113
|
+
"booking.bookAgain": "Book again",
|
|
107
114
|
"booking.line": "{qty} × {name}",
|
|
108
115
|
"booking.total": "Total",
|
|
109
116
|
"booking.cancelUntil": "You can cancel until {time}.",
|
|
110
117
|
"booking.cancel": "Cancel booking",
|
|
111
118
|
"booking.cancelFailed": "We could not cancel this booking.",
|
|
119
|
+
"booking.cancelConfirm": "Cancelling releases your places. This cannot be undone.",
|
|
120
|
+
"booking.cancelYes": "Yes, cancel this booking",
|
|
121
|
+
"booking.attendeesHeading": "Who is coming",
|
|
122
|
+
"booking.print": "Print or save as PDF",
|
|
123
|
+
"booking.organiser": "Organised by {name}",
|
|
112
124
|
"booking.offer.intro": "Tickets from the waitlist are held for you. Claim them on this device; the link works once.",
|
|
113
125
|
"booking.offer.button": "Claim my tickets",
|
|
114
126
|
"booking.open.intro": "Open your booking on this device. The link works once; after that this browser remembers it.",
|
|
@@ -138,6 +150,8 @@ export const en = {
|
|
|
138
150
|
"booking.attendees.waiting": "Waiting",
|
|
139
151
|
"booking.attendees.minor": "Under 18: you sign as their guardian.",
|
|
140
152
|
"booking.attendees.emailed": "Invited by email to {email}.",
|
|
153
|
+
"booking.attendees.notArrived":
|
|
154
|
+
"Invitation not arrived? Check the address and resend it, or use Sign now. We cannot see emails that bounce: this list stays on Waiting until they sign.",
|
|
141
155
|
"booking.attendees.signNow": "Sign now on this device",
|
|
142
156
|
"booking.attendees.resend": "Resend invitation",
|
|
143
157
|
"booking.attendees.edit": "Change attendee details",
|
|
@@ -147,6 +161,15 @@ export const en = {
|
|
|
147
161
|
"booking.attendees.save": "Save changes",
|
|
148
162
|
"booking.attendees.saved": "Attendee details saved. Anyone whose details changed gets a new signing request.",
|
|
149
163
|
"booking.attendees.resent": "We have sent the signing invitation again.",
|
|
164
|
+
"booking.attendees.pending": "Waiver pending",
|
|
165
|
+
"booking.attendees.invited": "We have emailed the waiver to the other adults to sign.",
|
|
166
|
+
"booking.waiverStep.title": "Last step: sign the waiver",
|
|
167
|
+
"booking.waiverStep.lead":
|
|
168
|
+
"Your payment is received. Each attendee still has to sign the waiver: until they do, they show as Waiver pending and cannot be checked in.",
|
|
169
|
+
"booking.waiverStep.sign": "Sign the waiver",
|
|
170
|
+
"booking.waiverStep.invite": "Email the waivers",
|
|
171
|
+
"booking.waiverStep.emailed":
|
|
172
|
+
"Adults with their own email address are sent their waiver to sign when you press the button.",
|
|
150
173
|
"booking.error.ATTENDEE_SIGNED": "An attendee who has signed their waiver cannot be changed.",
|
|
151
174
|
"booking.error.ATTENDEES_LOCKED": "Attendee details can no longer be changed online.",
|
|
152
175
|
"booking.error.ATTENDEE_INVALID": "Check each attendee's name and email address.",
|
|
@@ -160,6 +183,7 @@ export const en = {
|
|
|
160
183
|
|
|
161
184
|
"pass.qr": "QR code of the check-in code",
|
|
162
185
|
"pass.code": "Check-in code",
|
|
186
|
+
"pass.codeShow": "Show the code to type in",
|
|
163
187
|
"pass.status.pending": "Waiting for a signed waiver",
|
|
164
188
|
"pass.status.cancelled": "Cancelled",
|
|
165
189
|
"calendar.add": "Add to calendar",
|