Class TillService

Represents a service for creating cash invoice tills.

Hierarchy

Implements

Constructors

Properties

db: Dexie
http: AxiosInstance
methodName: string = 'till'
moduleName: string = 'tills'

Methods

  • Creates a cash invoice till.

    Parameters

    • payments: IPayment[]

      Invoice payments.

    • shift_uid: string

      The shift UID.

    • user_uid: string

      The user UID.

    • note: string = ''

      The note for the till.

    Returns Promise<ITill>

    • A promise that resolves with the created till.

Generated using TypeDoc