Tally UI

OpenRegisterCard

Register opening form with a starting cash amount and float choices

Import

import { OpenRegisterCard } from '@tallyui/components';

Usage

<OpenRegisterCard
  register={register}
  currency="EUR"
  configuredFloatMinor={10000}
/>

Renders a starting cash input, available configured-float and last-counted-cash choices, any opening variance, and an Open register button. The initial amount uses the configured float before the last counted cash; opening calls register.actions.openSession.

Props

PropTypeDefaultDescription
registerReturnType<typeof useRegisterSession>requiredRegister session state and actions; reads the last closure and opens through register.actions.openSession
currencystringrequiredISO 4217 code used to parse and format the entered amount
configuredFloatMinornumber | null---Configured opening float in minor units, preferred over the last counted cash
classNamestring---Override container styles

On this page