feat(manager): UI review pass 2 (first part): QR codes print alone, staff and permissions, tabs, schedule, prep zones, sessions
- Tables -> QR codes: Print all codes prints only the codes, as cards to cut out (PrintArea). - Staff: coloured row actions (edit accent, zones blue, block orange / unblock green, delete red); permissions drawer wider, help tips right after the text, section titles quiet and ruled, more room between sections. - Tabs: an open tab's charged / paid / owed larger, charges and payments further apart. - Schedule: the header on PageHeader, the person / hour switch a Segmented as tall as the buttons. - Prep zones: the dialog wider, the name explained (the internal name; staff see the one below). - Management -> Sessions (was 'Signed in now') moved last. - Map labels: Fit width / Whole map. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -107,15 +107,15 @@ function TabCard({ tab, open, onToggle, onPay, onForgive, onClose, closing }) {
|
|||||||
<div className="border-t border-line">
|
<div className="border-t border-line">
|
||||||
<div className="grid grid-cols-3 divide-x divide-line bg-surface-2 text-center">
|
<div className="grid grid-cols-3 divide-x divide-line bg-surface-2 text-center">
|
||||||
{[['charged', tab.total_charged, 'text-ink'], ['paid', tab.total_paid, 'text-success-ink'], ['balance', tab.balance, tab.balance > 0.005 ? 'text-danger-ink' : 'text-ink']].map(([k, v, tone]) => (
|
{[['charged', tab.total_charged, 'text-ink'], ['paid', tab.total_paid, 'text-success-ink'], ['balance', tab.balance, tab.balance > 0.005 ? 'text-danger-ink' : 'text-ink']].map(([k, v, tone]) => (
|
||||||
<span key={k} className="p-2 grid">
|
<span key={k} className="px-card py-card-y grid gap-1">
|
||||||
<span className="text-overline font-semibold uppercase tracking-wide text-ink-3">{t(`finance.tabs.${k}`)}</span>
|
<span className="text-overline font-semibold uppercase tracking-wide text-ink-3">{t(`finance.tabs.${k}`)}</span>
|
||||||
<span className={cx('text-body font-semibold tabular-nums', tone)}>{fmt.formatMoney(v)}</span>
|
<span className={cx('text-heading font-semibold tabular-nums', tone)}>{fmt.formatMoney(v)}</span>
|
||||||
</span>
|
</span>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<div className="grid gap-3 p-4 sm:grid-cols-2">
|
<div className="grid gap-x-10 gap-y-6 p-card sm:grid-cols-2">
|
||||||
<section>
|
<section>
|
||||||
<h3 className="text-overline font-semibold uppercase tracking-wide text-ink-3 mb-1">{t('finance.tabs.charges')}</h3>
|
<h3 className="text-overline font-semibold uppercase tracking-wide text-ink-3 mb-2">{t('finance.tabs.charges')}</h3>
|
||||||
{tab.entries.length ? (
|
{tab.entries.length ? (
|
||||||
<ul className="divide-y divide-line text-label">
|
<ul className="divide-y divide-line text-label">
|
||||||
{tab.entries.map(e => (
|
{tab.entries.map(e => (
|
||||||
@@ -131,7 +131,7 @@ function TabCard({ tab, open, onToggle, onPay, onForgive, onClose, closing }) {
|
|||||||
) : <p className="text-label text-ink-3">{t('finance.tabs.noCharges')}</p>}
|
) : <p className="text-label text-ink-3">{t('finance.tabs.noCharges')}</p>}
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h3 className="text-overline font-semibold uppercase tracking-wide text-ink-3 mb-1">{t('finance.tabs.payments')}</h3>
|
<h3 className="text-overline font-semibold uppercase tracking-wide text-ink-3 mb-2">{t('finance.tabs.payments')}</h3>
|
||||||
{tab.payments.length ? (
|
{tab.payments.length ? (
|
||||||
<ul className="divide-y divide-line text-label">
|
<ul className="divide-y divide-line text-label">
|
||||||
{tab.payments.map(p => (
|
{tab.payments.map(p => (
|
||||||
@@ -147,7 +147,7 @@ function TabCard({ tab, open, onToggle, onPay, onForgive, onClose, closing }) {
|
|||||||
) : <p className="text-label text-ink-3">{t('finance.tabs.noPayments')}</p>}
|
) : <p className="text-label text-ink-3">{t('finance.tabs.noPayments')}</p>}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
{tab.status !== 'open' && tab.notes && <p className="px-4 pb-3 text-label text-ink-2">{tab.notes}</p>}
|
{tab.status !== 'open' && tab.notes && <p className="px-card pb-card-y text-label text-ink-2">{tab.notes}</p>}
|
||||||
{(can.pay || can.close || can.forgive) && (
|
{(can.pay || can.close || can.forgive) && (
|
||||||
<div className="flex flex-wrap gap-2 px-4 pb-4">
|
<div className="flex flex-wrap gap-2 px-4 pb-4">
|
||||||
{can.pay && <Button icon={<Banknote size={15} />} onClick={onPay} data-testid="tab-pay">{t('finance.tabs.pay')}</Button>}
|
{can.pay && <Button icon={<Banknote size={15} />} onClick={onPay} data-testid="tab-pay">{t('finance.tabs.pay')}</Button>}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import toast from 'react-hot-toast'
|
|||||||
import { Printer, RefreshCw } from 'lucide-react'
|
import { Printer, RefreshCw } from 'lucide-react'
|
||||||
import { errorMessage } from '@xenia/api'
|
import { errorMessage } from '@xenia/api'
|
||||||
import { useTranslation } from '@xenia/i18n'
|
import { useTranslation } from '@xenia/i18n'
|
||||||
import { Button, Dialog, EmptyState, Spinner, Switch } from '@xenia/ui'
|
import { Button, Dialog, EmptyState, PrintArea, PrintSheet, Spinner, Switch } from '@xenia/ui'
|
||||||
import { QrCode } from '@xenia/ui/qr'
|
import { QrCode } from '@xenia/ui/qr'
|
||||||
import client from '../../api/client'
|
import client from '../../api/client'
|
||||||
|
|
||||||
@@ -67,6 +67,22 @@ export default function TableQrCodes() {
|
|||||||
</ul>
|
</ul>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{data.tables.length > 0 && (
|
||||||
|
// what "Print all codes" puts on paper: only the codes, as cards to cut out (2026-11-20)
|
||||||
|
<PrintArea data-testid="qr-print">
|
||||||
|
<PrintSheet columns={3}>
|
||||||
|
{data.tables.map(tb => (
|
||||||
|
<div key={tb.id}>
|
||||||
|
<span style={{ fontSize: '15pt', fontWeight: 700 }}>{t('qr.table', { name: tb.name })}</span>
|
||||||
|
{tb.group && <span style={{ fontSize: '9pt' }}>{tb.group}</span>}
|
||||||
|
<QrCode value={tb.url} size={150} framed={false} />
|
||||||
|
<span style={{ fontSize: '8pt' }}>{t(data.ordering ? 'qr.scanOrder' : 'qr.scanRead')}</span>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</PrintSheet>
|
||||||
|
</PrintArea>
|
||||||
|
)}
|
||||||
|
|
||||||
{confirmAll && (
|
{confirmAll && (
|
||||||
<Dialog open size="sm" title={t('qr.rotateAllTitle')} onClose={() => setConfirmAll(false)}
|
<Dialog open size="sm" title={t('qr.rotateAllTitle')} onClose={() => setConfirmAll(false)}
|
||||||
footer={<>
|
footer={<>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export default function ZoneDialog({ zone, printers, categories, onClose, onSave
|
|||||||
const flat = categories.flatMap(c => [c, ...(c.subcategories ?? [])])
|
const flat = categories.flatMap(c => [c, ...(c.subcategories ?? [])])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open size="lg" onClose={onClose} title={zone ? t('printing.zones.editTitle', { name: zone.name }) : t('printing.zones.newTitle')}
|
<Dialog open size="xl" onClose={onClose} title={zone ? t('printing.zones.editTitle', { name: zone.name }) : t('printing.zones.newTitle')}
|
||||||
footer={<>
|
footer={<>
|
||||||
<Button variant="secondary" onClick={onClose}>{t('printing.back')}</Button>
|
<Button variant="secondary" onClick={onClose}>{t('printing.back')}</Button>
|
||||||
<Button loading={save.isPending} onClick={submit} data-testid="zone-save">{t('printing.save')}</Button>
|
<Button loading={save.isPending} onClick={submit} data-testid="zone-save">{t('printing.save')}</Button>
|
||||||
@@ -70,7 +70,7 @@ export default function ZoneDialog({ zone, printers, categories, onClose, onSave
|
|||||||
<div className="grid gap-6" data-testid="zone-dialog">
|
<div className="grid gap-6" data-testid="zone-dialog">
|
||||||
<Section title={t('printing.zones.about')}>
|
<Section title={t('printing.zones.about')}>
|
||||||
<div className="grid gap-3 sm:grid-cols-2">
|
<div className="grid gap-3 sm:grid-cols-2">
|
||||||
<Field label={t('printing.zones.name')} required error={tried && problem === 'name' ? t('printing.zones.nameNeeded') : undefined}>
|
<Field label={t('printing.zones.name')} hint={t('printing.zones.nameHint')} required error={tried && problem === 'name' ? t('printing.zones.nameNeeded') : undefined}>
|
||||||
<Input value={form.name} onChange={e => set('name', e.target.value)} placeholder={t('printing.zones.namePh')} data-testid="zone-name" />
|
<Input value={form.name} onChange={e => set('name', e.target.value)} placeholder={t('printing.zones.namePh')} data-testid="zone-name" />
|
||||||
</Field>
|
</Field>
|
||||||
<Field label={t('printing.zones.shown')} hint={t('printing.zones.shownHint')}>
|
<Field label={t('printing.zones.shown')} hint={t('printing.zones.shownHint')}>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import toast from 'react-hot-toast'
|
|||||||
import { ChevronLeft, ChevronRight, Plus, Settings2 } from 'lucide-react'
|
import { ChevronLeft, ChevronRight, Plus, Settings2 } from 'lucide-react'
|
||||||
import { errorMessage } from '@xenia/api'
|
import { errorMessage } from '@xenia/api'
|
||||||
import { useFormat, useTranslation } from '@xenia/i18n'
|
import { useFormat, useTranslation } from '@xenia/i18n'
|
||||||
import { Button, EmptyState, IconButton, Page, Spinner, cx } from '@xenia/ui'
|
import { Button, EmptyState, IconButton, Page, PageHeader, Segmented, Spinner, cx } from '@xenia/ui'
|
||||||
import client from '../../api/client'
|
import client from '../../api/client'
|
||||||
import { useLiveQuery } from '../../live/useLiveQuery'
|
import { useLiveQuery } from '../../live/useLiveQuery'
|
||||||
import ShiftDialog from './ShiftDialog'
|
import ShiftDialog from './ShiftDialog'
|
||||||
@@ -54,29 +54,21 @@ export default function SchedulePage() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Page testId="schedule-page">
|
<Page testId="schedule-page">
|
||||||
<header className="flex flex-wrap items-center gap-3">
|
<PageHeader title={t('schedule.title')}
|
||||||
<div className="flex-1 min-w-0">
|
subtitle={<span data-testid="schedule-totals">
|
||||||
<h1 className="text-title font-semibold text-ink">{t('schedule.title')}</h1>
|
|
||||||
<p className="text-label text-ink-2" data-testid="schedule-totals">
|
|
||||||
{dateLabel(days[0])} – {dateLabel(days[6])} · {t('schedule.hours', { count: totals.hours })}
|
{dateLabel(days[0])} – {dateLabel(days[6])} · {t('schedule.hours', { count: totals.hours })}
|
||||||
{totals.pay > 0 && ` · ${t('schedule.cost', { amount: fmt.formatMoney(totals.pay) })}`}
|
{totals.pay > 0 && ` · ${t('schedule.cost', { amount: fmt.formatMoney(totals.pay) })}`}
|
||||||
</p>
|
</span>}
|
||||||
</div>
|
actions={<>
|
||||||
<div className="flex rounded-control border border-line overflow-hidden" role="group" aria-label={t('schedule.view')}>
|
<Segmented aria-label={t('schedule.view')} value={view.view} onChange={v => setView({ ...view, view: v })}
|
||||||
{['people', 'hours'].map(v => (
|
options={['people', 'hours'].map(v => ({ value: v, label: t(`schedule.views.${v}`), testId: `schedule-view-${v}` }))} />
|
||||||
<button key={v} type="button" aria-pressed={view.view === v} onClick={() => setView({ ...view, view: v })} data-testid={`schedule-view-${v}`}
|
|
||||||
className={cx('px-3 py-1.5 text-label font-medium', view.view === v ? 'bg-accent-soft text-accent-ink' : 'bg-surface text-ink-2 hover:bg-surface-2')}>
|
|
||||||
{t(`schedule.views.${v}`)}
|
|
||||||
</button>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
<span className="flex items-center gap-1">
|
<span className="flex items-center gap-1">
|
||||||
<IconButton variant="secondary" label={t('schedule.previous')} onClick={() => setStart(s => addDays(s, -7))}><ChevronLeft size={16} /></IconButton>
|
<IconButton variant="secondary" label={t('schedule.previous')} onClick={() => setStart(s => addDays(s, -7))}><ChevronLeft size={16} /></IconButton>
|
||||||
<Button variant="secondary" onClick={() => setStart(weekStartOf(today, view.mondayFirst))}>{t('schedule.thisWeek')}</Button>
|
<Button variant="secondary" onClick={() => setStart(weekStartOf(today, view.mondayFirst))}>{t('schedule.thisWeek')}</Button>
|
||||||
<IconButton variant="secondary" label={t('schedule.next')} onClick={() => setStart(s => addDays(s, 7))} data-testid="schedule-next"><ChevronRight size={16} /></IconButton>
|
<IconButton variant="secondary" label={t('schedule.next')} onClick={() => setStart(s => addDays(s, 7))} data-testid="schedule-next"><ChevronRight size={16} /></IconButton>
|
||||||
</span>
|
</span>
|
||||||
<IconButton variant="ghost" label={t('schedule.settings')} onClick={() => setSettings(true)}><Settings2 size={16} /></IconButton>
|
<IconButton variant="secondary" label={t('schedule.settings')} onClick={() => setSettings(true)}><Settings2 size={16} /></IconButton>
|
||||||
</header>
|
</>} />
|
||||||
|
|
||||||
{isPending ? <div className="py-10 flex justify-center"><Spinner /></div>
|
{isPending ? <div className="py-10 flex justify-center"><Spinner /></div>
|
||||||
: !people.length ? <EmptyState title={t('schedule.nobody')} />
|
: !people.length ? <EmptyState title={t('schedule.nobody')} />
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export default function PermissionEditor({ member, role, onClose }) {
|
|||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Sheet open side="right" onClose={onClose} title={role ? t('permissions.roleTitle', { role: name }) : t('permissions.title', { name })}
|
<Sheet open side="right" size="wide" onClose={onClose} title={role ? t('permissions.roleTitle', { role: name }) : t('permissions.title', { name })}
|
||||||
description={!data ? undefined : role ? t('permissions.roleSubtitle', { count: data.target.people })
|
description={!data ? undefined : role ? t('permissions.roleSubtitle', { count: data.target.people })
|
||||||
: t('permissions.subtitle', { role: roleName(data.target.role) })}
|
: t('permissions.subtitle', { role: roleName(data.target.role) })}
|
||||||
footer={footer}>
|
footer={footer}>
|
||||||
@@ -116,16 +116,17 @@ export default function PermissionEditor({ member, role, onClose }) {
|
|||||||
{!data && error && <p className="text-label text-danger-ink" role="alert">{error}</p>}
|
{!data && error && <p className="text-label text-danger-ink" role="alert">{error}</p>}
|
||||||
{readOnly && <p className="text-body text-ink-2">{t('permissions.superadmin')}</p>}
|
{readOnly && <p className="text-body text-ink-2">{t('permissions.superadmin')}</p>}
|
||||||
{data && !readOnly && (
|
{data && !readOnly && (
|
||||||
<div className="grid gap-6" data-testid="perm-editor">
|
<div className="grid gap-8" data-testid="perm-editor">
|
||||||
{note && <p className="text-label text-ink-2 bg-surface-2 rounded-card px-3 py-2" data-testid="perm-note">{note}</p>}
|
{note && <p className="text-label text-ink-2 bg-surface-2 rounded-card px-3 py-2" data-testid="perm-note">{note}</p>}
|
||||||
{error && <p className="text-label text-danger-ink bg-danger-soft rounded-card px-3 py-2" role="alert" data-testid="perm-error">{error}</p>}
|
{error && <p className="text-label text-danger-ink bg-danger-soft rounded-card px-3 py-2" role="alert" data-testid="perm-error">{error}</p>}
|
||||||
{groups.map(g => (
|
{groups.map(g => (
|
||||||
<section key={g.key} data-testid={`perm-group-${g.key}`}>
|
<section key={g.key} data-testid={`perm-group-${g.key}`}>
|
||||||
<h3 className="text-label font-semibold text-ink mb-1 flex items-center gap-2">
|
<h3 className="text-overline font-semibold uppercase tracking-wide text-ink-3 mb-3 flex items-center gap-3">
|
||||||
{t(`modules:${g.key}.name`, { defaultValue: g.key })}
|
{t(`modules:${g.key}.name`, { defaultValue: g.key })}
|
||||||
{!g.on && <span className="rounded-full px-2 py-0.5 text-caption font-medium bg-surface-2 text-ink-3">{t('permissions.moduleOff')}</span>}
|
{!g.on && <span className="rounded-full px-2 py-0.5 text-caption font-medium normal-case tracking-normal bg-surface-2 text-ink-3">{t('permissions.moduleOff')}</span>}
|
||||||
|
<span className="flex-1 border-t border-line" aria-hidden="true" />
|
||||||
</h3>
|
</h3>
|
||||||
<div className="grid gap-2">
|
<div className="grid gap-3">
|
||||||
{g.permissions.map(p => {
|
{g.permissions.map(p => {
|
||||||
const on = draft.has(p.key)
|
const on = draft.has(p.key)
|
||||||
const allowed = on || canGive(p.key, data.original, data.grantable)
|
const allowed = on || canGive(p.key, data.original, data.grantable)
|
||||||
@@ -137,10 +138,10 @@ export default function PermissionEditor({ member, role, onClose }) {
|
|||||||
: t(fromRole ? 'permissions.roleHas' : 'permissions.roleHasNot'))
|
: t(fromRole ? 'permissions.roleHas' : 'permissions.roleHasNot'))
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div key={p.key} className="flex items-start gap-1" data-testid={`perm-${p.key}`} data-on={on ? 'true' : 'false'}>
|
<div key={p.key} data-testid={`perm-${p.key}`} data-on={on ? 'true' : 'false'}>
|
||||||
<Switch className="flex-1" checked={on} disabled={!allowed} onChange={v => toggle(p.key, v)}
|
<Switch checked={on} disabled={!allowed} onChange={v => toggle(p.key, v)}
|
||||||
label={label(p.key)} description={hints.join(' · ') || undefined} />
|
label={label(p.key)} description={hints.join(' · ') || undefined}
|
||||||
{p.overridable && <InfoTip>{t('permissions.overridable')}</InfoTip>}
|
info={p.overridable ? <InfoTip>{t('permissions.overridable')}</InfoTip> : undefined} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -106,15 +106,15 @@ export default function StaffPage() {
|
|||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
{!support && (
|
{!support && (
|
||||||
<span className="flex gap-0.5 ml-auto">
|
<span className="flex gap-1.5 ml-auto">
|
||||||
<IconButton size="sm" variant="ghost" label={t('staff.edit', { name: displayName(m) })} onClick={() => open('edit', m)}><Pencil size={15} /></IconButton>
|
<IconButton size="sm" variant="ghost" tone="accent" label={t('staff.edit', { name: displayName(m) })} onClick={() => open('edit', m)}><Pencil size={15} /></IconButton>
|
||||||
<IconButton size="sm" variant="ghost" label={t('staff.pin', { name: displayName(m) })} onClick={() => open('pin', m)} data-testid="staff-pin"><KeyRound size={15} /></IconButton>
|
<IconButton size="sm" variant="ghost" label={t('staff.pin', { name: displayName(m) })} onClick={() => open('pin', m)} data-testid="staff-pin"><KeyRound size={15} /></IconButton>
|
||||||
<IconButton size="sm" variant="ghost" label={t('staff.password', { name: displayName(m) })} onClick={() => open('password', m)} data-testid="staff-password"><LockKeyhole size={15} /></IconButton>
|
<IconButton size="sm" variant="ghost" label={t('staff.password', { name: displayName(m) })} onClick={() => open('password', m)} data-testid="staff-password"><LockKeyhole size={15} /></IconButton>
|
||||||
<IconButton size="sm" variant="ghost" label={t('staff.zonesOf', { name: displayName(m) })} onClick={() => open('zones', m)}><MapPin size={15} /></IconButton>
|
<IconButton size="sm" variant="ghost" tone="info" label={t('staff.zonesOf', { name: displayName(m) })} onClick={() => open('zones', m)}><MapPin size={15} /></IconButton>
|
||||||
{m.id !== me?.id && (<>
|
{m.id !== me?.id && (<>
|
||||||
<IconButton size="sm" variant="ghost" label={t(m.is_active ? 'staff.block' : 'staff.unblock', { name: displayName(m) })}
|
<IconButton size="sm" variant="ghost" tone={m.is_active ? 'warning' : 'success'} label={t(m.is_active ? 'staff.block' : 'staff.unblock', { name: displayName(m) })}
|
||||||
onClick={() => block.mutate(m)} data-testid="staff-block">{m.is_active ? <Ban size={15} /> : <CheckCircle2 size={15} />}</IconButton>
|
onClick={() => block.mutate(m)} data-testid="staff-block">{m.is_active ? <Ban size={15} /> : <CheckCircle2 size={15} />}</IconButton>
|
||||||
<IconButton size="sm" variant="ghost" label={t('staff.delete', { name: displayName(m) })} onClick={() => open('delete', m)}><Trash2 size={15} /></IconButton>
|
<IconButton size="sm" variant="ghost" tone="danger" label={t('staff.delete', { name: displayName(m) })} onClick={() => open('delete', m)}><Trash2 size={15} /></IconButton>
|
||||||
</>)}
|
</>)}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -64,12 +64,12 @@ export const NAV = [
|
|||||||
{ to: '/management/signage', icon: Tv, label: 'nav.signage', module: 'signage', perm: 'signage.manage' },
|
{ to: '/management/signage', icon: Tv, label: 'nav.signage', module: 'signage', perm: 'signage.manage' },
|
||||||
{ to: '/management/tables', icon: TableProperties, label: 'nav.tablesConfig', module: 'catalog', perm: 'catalog.tables.manage' },
|
{ to: '/management/tables', icon: TableProperties, label: 'nav.tablesConfig', module: 'catalog', perm: 'catalog.tables.manage' },
|
||||||
{ to: '/management/staff', icon: UserCog, label: 'nav.staff', module: 'core', perm: 'core.staff.manage' },
|
{ to: '/management/staff', icon: UserCog, label: 'nav.staff', module: 'core', perm: 'core.staff.manage' },
|
||||||
{ to: '/management/sessions', icon: LogIn, label: 'nav.sessions', module: 'core', perm: 'core.staff.manage' },
|
|
||||||
{ to: '/management/approvals', icon: ShieldCheck, label: 'nav.approvals', module: 'core', perm: 'core.staff.manage' },
|
{ to: '/management/approvals', icon: ShieldCheck, label: 'nav.approvals', module: 'core', perm: 'core.staff.manage' },
|
||||||
{ to: '/management/schedule', icon: CalendarDays, label: 'nav.schedule', module: 'staff_planning', perm: 'core.staff.manage' },
|
{ to: '/management/schedule', icon: CalendarDays, label: 'nav.schedule', module: 'staff_planning', perm: 'core.staff.manage' },
|
||||||
{ to: '/management/prep-zones', icon: CookingPot, label: 'nav.prepZones', module: 'catalog', perm: 'catalog.menu.manage' },
|
{ to: '/management/prep-zones', icon: CookingPot, label: 'nav.prepZones', module: 'catalog', perm: 'catalog.menu.manage' },
|
||||||
{ to: '/management/pricing', icon: Percent, label: 'nav.pricing', module: 'pricing', perm: 'pricing.manage' },
|
{ to: '/management/pricing', icon: Percent, label: 'nav.pricing', module: 'pricing', perm: 'pricing.manage' },
|
||||||
{ to: '/notes', icon: StickyNote, label: 'nav.notes', module: 'notes', perm: 'notes.use' },
|
{ to: '/notes', icon: StickyNote, label: 'nav.notes', module: 'notes', perm: 'notes.use' },
|
||||||
|
{ to: '/management/sessions', icon: LogIn, label: 'nav.sessions', module: 'core', perm: 'core.staff.manage' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -109,7 +109,8 @@
|
|||||||
"noneHint": "Ένας διευθυντής σχεδιάζει τις κατόψεις στη Διαχείριση → Τραπέζια → Κατόψεις.",
|
"noneHint": "Ένας διευθυντής σχεδιάζει τις κατόψεις στη Διαχείριση → Τραπέζια → Κατόψεις.",
|
||||||
"zoomIn": "Μεγέθυνση",
|
"zoomIn": "Μεγέθυνση",
|
||||||
"zoomOut": "Σμίκρυνση",
|
"zoomOut": "Σμίκρυνση",
|
||||||
"fit": "Προσαρμογή",
|
"fit": "Στο πλάτος",
|
||||||
|
"fitAll": "Όλος ο χάρτης",
|
||||||
"bar": "Μπαρ",
|
"bar": "Μπαρ",
|
||||||
"notOnMap": "Εκτός κάτοψης:",
|
"notOnMap": "Εκτός κάτοψης:",
|
||||||
"legendGuests": "👤 άτομα / θέσεις",
|
"legendGuests": "👤 άτομα / θέσεις",
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
"integrations": "Συνδέσεις",
|
"integrations": "Συνδέσεις",
|
||||||
"license": "Άδεια",
|
"license": "Άδεια",
|
||||||
"devices": "Συσκευές",
|
"devices": "Συσκευές",
|
||||||
"sessions": "Συνδεδεμένοι τώρα",
|
"sessions": "Συνεδρίες",
|
||||||
"approvals": "Εγκρίσεις υπευθύνου",
|
"approvals": "Εγκρίσεις υπευθύνου",
|
||||||
"deliveryFees": "Online παραγγελίες (ρύθμιση)",
|
"deliveryFees": "Online παραγγελίες (ρύθμιση)",
|
||||||
"qrCodes": "QR τραπεζιών",
|
"qrCodes": "QR τραπεζιών",
|
||||||
@@ -2766,6 +2766,7 @@
|
|||||||
"saved": "Η ζώνη αποθηκεύτηκε",
|
"saved": "Η ζώνη αποθηκεύτηκε",
|
||||||
"about": "Η ζώνη",
|
"about": "Η ζώνη",
|
||||||
"name": "Όνομα",
|
"name": "Όνομα",
|
||||||
|
"nameHint": "Το εσωτερικό όνομα της ζώνης, για το σύστημα (λίστες, αναφορές, ρυθμίσεις). Το προσωπικό βλέπει το όνομα από κάτω.",
|
||||||
"namePh": "π.χ. Κουζίνα, Ψησταριά, Μπαρ",
|
"namePh": "π.χ. Κουζίνα, Ψησταριά, Μπαρ",
|
||||||
"nameNeeded": "Δώστε όνομα στη ζώνη.",
|
"nameNeeded": "Δώστε όνομα στη ζώνη.",
|
||||||
"shown": "Όνομα στα μηνύματα",
|
"shown": "Όνομα στα μηνύματα",
|
||||||
|
|||||||
@@ -109,7 +109,8 @@
|
|||||||
"noneHint": "A manager draws the floor plans in Management → Tables → Floor plans.",
|
"noneHint": "A manager draws the floor plans in Management → Tables → Floor plans.",
|
||||||
"zoomIn": "Zoom in",
|
"zoomIn": "Zoom in",
|
||||||
"zoomOut": "Zoom out",
|
"zoomOut": "Zoom out",
|
||||||
"fit": "Fit",
|
"fit": "Fit width",
|
||||||
|
"fitAll": "Whole map",
|
||||||
"bar": "Bar",
|
"bar": "Bar",
|
||||||
"notOnMap": "Not on the map:",
|
"notOnMap": "Not on the map:",
|
||||||
"legendGuests": "👤 guests / seats",
|
"legendGuests": "👤 guests / seats",
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
"integrations": "Integrations",
|
"integrations": "Integrations",
|
||||||
"license": "License",
|
"license": "License",
|
||||||
"devices": "Devices",
|
"devices": "Devices",
|
||||||
"sessions": "Signed in now",
|
"sessions": "Sessions",
|
||||||
"approvals": "Manager approvals",
|
"approvals": "Manager approvals",
|
||||||
"deliveryFees": "Online ordering",
|
"deliveryFees": "Online ordering",
|
||||||
"qrCodes": "Table QR codes",
|
"qrCodes": "Table QR codes",
|
||||||
@@ -2766,6 +2766,7 @@
|
|||||||
"saved": "Zone saved",
|
"saved": "Zone saved",
|
||||||
"about": "The zone",
|
"about": "The zone",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
|
"nameHint": "The zone's own name, used inside the system (lists, reports, settings). Staff see the name below.",
|
||||||
"namePh": "e.g. Kitchen, Grill, Bar",
|
"namePh": "e.g. Kitchen, Grill, Bar",
|
||||||
"nameNeeded": "Give the zone a name.",
|
"nameNeeded": "Give the zone a name.",
|
||||||
"shown": "Name in messages",
|
"shown": "Name in messages",
|
||||||
|
|||||||
Reference in New Issue
Block a user