import NotificationPanel from './NotificationPanel'; const DashboardView = ({ session, onRefresh, onLogout, notificationPanelOpen, onToggleNotificationPanel, notificationProps, stores, availableCollapsed, onToggleStores, onStoreSelect, configMap, error, onDismissError, status, visibleConfig, config, onToggleActive, onToggleProfileCheck, onToggleOnlyNotify, onWeekdayChange, weekdays, onRangePickerRequest, formatRangeLabel, onSaveConfig, onResetConfig, onHideEntry, onDeleteEntry, canDelete }) => { const { error: notificationError, message: notificationMessage, settings: notificationSettings, capabilities: notificationCapabilities, loading: notificationLoading, dirty: notificationDirty, saving: notificationSaving, onReset: onNotificationReset, onSave: onNotificationSave, onFieldChange: onNotificationFieldChange, onSendTest: onNotificationTest, onCopyLink: onNotificationCopy, copyFeedback, ntfyPreviewUrl } = notificationProps; return (
Angemeldet
{session.profile.name}
Profil-ID: {session.profile.id}
{store.name}
{store.zip} {store.city}
{statusLabel}
| Aktiv | Geschäft | Profil prüfen | Nur benachrichtigen | Wochentag | Datum / Zeitraum | Aktionen |
|---|---|---|---|---|---|---|
| onToggleActive(item.id)} className="h-5 w-5" /> | {item.label} {item.hidden && (ausgeblendet)} | onToggleProfileCheck(item.id)} className="h-5 w-5" /> | onToggleOnlyNotify(item.id)} className="h-5 w-5" /> | {canDelete && ( )} |