- Next.js 16 App Router site with the ANOUMA design system - Payload CMS (PostgreSQL) for offers, events, posts and page content - WebRTC video-call system with custom signaling server - SMTP email reminders and booking-request notifications - Customer accounts, calendar-based availability, and booking workflow
22 lines
671 B
TypeScript
22 lines
671 B
TypeScript
import type { GlobalConfig } from "payload";
|
|
import { isAdmin } from "@/access";
|
|
|
|
export const BookingSettings: GlobalConfig = {
|
|
slug: "booking-settings",
|
|
label: "Buchungseinstellungen",
|
|
admin: {
|
|
description: "Adresse für Vor-Ort-Termine (wird für den Maps-Link verwendet).",
|
|
group: "Seiteninhalte",
|
|
},
|
|
access: {
|
|
read: () => true,
|
|
update: isAdmin,
|
|
},
|
|
fields: [
|
|
{ name: "locationName", type: "text", label: "Name des Ortes", defaultValue: "Anouma" },
|
|
{ name: "street", type: "text", label: "Straße und Hausnummer" },
|
|
{ name: "postalCode", type: "text", label: "PLZ" },
|
|
{ name: "city", type: "text", label: "Ort" },
|
|
],
|
|
};
|