Interface ITillService

Represents a service for creating cash invoice tills.

Hierarchy

Implemented by

Properties

db: Dexie
moduleName: string

Methods

  • Creates a cash invoice till.

    Parameters

    • payments: IPayment[]

      Invoice payments.

    • shift_uid: string

      The shift UID.

    • user_uid: string

      The user UID.

    • Optional note: string

      The note for the till.

    Returns Promise<ITill>

    • A promise that resolves with the created till.
  • Retrieves multiple entities with optional pagination and filtering.

    Parameters

    • params: any

      [UNUSED PARAMETER, KEPT FOR POSSIBLE FUTURE USE] Filtering parameters.

    • options: {
          page?: number;
          pageSize?: number;
      }

      Query options including pagination.

      • Optional page?: number
      • Optional pageSize?: number

    Returns Promise<{
        count: number;
        list: ITill[];
        page: number;
        pageSize: number;
    }>

    An object containing the retrieved entities and total count.

Generated using TypeDoc