feat(manager): help tips on the settings and fields people tend to misread
Owner 2026-11-23 (plan 6F.1b): 26 new tips in English and Greek: Operation (own shifts, hidden takings, card payments, closing tables, the serve step, courses, quick notes), Sign-in (waiter and device modes, usernames, one session, idle sign-out), venue language and time zone, the fiscal device, locking, the server's address, the product editor (unit, available, quick add, VAT group, cost), a device's sign-in, a person's role, the cash counted at a shift's end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
// expected (short / over / even), then "End the shift".
|
||||
import { useState } from 'react'
|
||||
import { useTranslation, useFormat, parseNumber } from '@xenia/i18n'
|
||||
import { Button, Dialog, Field, Input, Spinner, Textarea, cx } from '@xenia/ui'
|
||||
import { Button, Dialog, Field, InfoTip, Input, Spinner, Textarea, cx } from '@xenia/ui'
|
||||
import client from '../../api/client'
|
||||
import { useLiveQuery } from '../../live/useLiveQuery'
|
||||
import { ITEM_KINDS, cashCheck, hourBuckets, itemKind, itemShown, quickAmounts, shiftCounts, shiftMoney, shiftPairs } from './overviewLogic'
|
||||
@@ -127,7 +127,7 @@ export default function ShiftDialog({ shift, mode, onClose, onConfirm, busy }) {
|
||||
{closing && step === 2 && (
|
||||
<div className="grid gap-3">
|
||||
<h3 className="text-title font-semibold text-ink">{t('overview.shift.handover')}</h3>
|
||||
<Field label={t('overview.shift.counted')} hint={t('overview.shift.countedHint')}>
|
||||
<Field label={t('overview.shift.counted')} info={<InfoTip>{t('overview.shift.countedTip')}</InfoTip>} hint={t('overview.shift.countedHint')}>
|
||||
<Input inputMode="decimal" autoFocus value={counted} onChange={e => setCounted(e.target.value)}
|
||||
placeholder={String(money.expected.toFixed(2))} data-testid="shift-counted" />
|
||||
</Field>
|
||||
|
||||
Reference in New Issue
Block a user