Centara
  • Introduction to Centara
  • Getting started with Centara
    • Software and hardware requirements
    • getCentara.exe
    • Install Centara Server
    • Centara Configuration
      • RDM overview
      • Create organization structure
      • General settings
      • Layouts and visual components
        • Creating layouts
        • Assigning layouts in configuration
        • Populating layouts with components
        • Applying functionalty to buttons
        • UI component reference
      • Hardware
        • OPOS installation
          • Epson OPOS
        • Centara server configuration
      • POS Receipts
        • Receipt parts
        • Receipt Directives
          • Formatting directives
          • General directives
          • Hospitality directives
          • Fiscal Printers directives
          • Tender slip directives
        • Receipt logo
        • Receipt template
          • Special formatting
      • POS operators and permissions
        • Create operators and permissions
      • Tenders
      • Other configuration
        • Customer configuration
        • Cash management
          • Setting up cash management
          • Balance report
        • Suspend / retrieve
        • Search
          • Applying customer search
          • Applying product search
            • Style search
            • Stock search
          • Applying transaction search
        • Custom settings
    • Install Centara POS
      • Alternative database configurations
      • Centara Licensing
    • Features
      • Conditional sub-layouts
      • Out of stock warning
  • User guides
    • POS User Guide
      • Operator sign on / off
      • Layouts
      • Selling products
      • Paying for products
      • Voiding
      • Customers
      • Suspend / retrieve
      • Cash management
    • Discount Offer module
      • Getting started
      • Basic discounts
      • Package deals
      • Seasonal offers
      • Miscellaneous
      • Working with the filters
      • Making changes to the discounts
      • Time restrictions
      • Selectors
      • Layered discounts
      • Audit Log
      • Glossary of Terms
    • Loyalty system
      • System overview
      • Creating organization stucture
      • Working with loyalty data
        • General handling
          • Adding loyalty data
        • Giftcards
          • Adding gift card data
        • Store credit
          • Instrument handling
        • Coupons
          • How to setup alphanumeric offer coupon
      • Connecting Centara to Loyalty
      • View loyalty data on POS
      • Loyalty operations
    • Snippet manager
  • Integrations
    • Sentry.io
    • Acumatica
      • Acumatica installation
      • Acumatica Connector
        • Customer creation
        • Cashier Groups
        • Avalara Configuration
        • Common configuration errors
        • General inquiries
  • Development
    • APIs
      • External orders
      • Item API
      • Loyalty API
        • Gift cards
        • Loyalty cards
        • Store credit
    • GraphQL
    • XVal
      • XVal List comprehensions
      • XVal operators
      • XVal examples
      • XVal usage
      • XVal testing
  • References
    • Data processes
      • XVal Library
      • Data process examples
    • POS macros
  • FAQ
    • Centara Server
      • Installation
      • Maintenance
    • Centara POS
Powered by GitBook
On this page
  • Applying a pre-configured functionality group
  • Adding custom functionality to groups

Was this helpful?

  1. Getting started with Centara
  2. Centara Configuration
  3. Layouts and visual components

Applying functionalty to buttons

PreviousPopulating layouts with componentsNextUI component reference

Last updated 5 years ago

Was this helpful?

When a button is added to an existing layout, it is necessary first to make space for the button on the layout. If a menu that can contain 2 x 2 buttons looks like the one below, there is clearly no more room for buttons. Then some space can be provided by either adding columns to right or rows beneath by changing the Columns and Rows properties.

When some space has been created, a button can be added.

When a button is added, it's location is programmatically determined. After a button is in place, to button can be dragged to it's final location.

Functionality can be applied to a button when it is selected.

Applying a pre-configured functionality group

To simplify the configuration of complex buttons, some pre-configured groups have been added that can simply be added to a button so that only minor adjustments have to made.

With a button selected, one of the following pre-configured functionality groups can be applied:

  • Cash (cash tender)

    • This group configures a button for Cash payment, except that the cash tender ID must be provided (usually "1") and an optional preset amount if the button is to automatically apply a certain amount.

  • Change price

  • Change quantity

  • Item

    • This group configures a button to sell a specific item. An item ID that exists in the item database must be provided. There is no need to provide description to that button since the description form the item database is used. (After the ID has been entered a refresh of the site may be needed to view the description). If another description in expected, then the Caption property can be applied to overwrite the description from the database. If an image exists in the image database for the provided item ID, that that image is loaded automatically on top of this button.

  • Menu back

  • Menu home

  • Menu open

  • Tender (other than Cash)

    • This group configures a button for any payment other than Cash payment. Only a tender ID must be supplied that exists in the tender database.

  • Void item

  • Void transaction

The properties that control buttons are Caption, Image, Image record, Macro and Style. Functionality groups are only some combination of those properties with preset values. Functionality groups can always be exchanged for the individual set of properties with custom values.

Adding custom functionality to groups

These are the properties that can be applied to a button:

  • Caption

    • The text that is applied on the button.

  • Image

    • Image that is on the button. Note that an image hides any text that has been previously set.

  • Image record

    • An image taken from the database.

  • Macro

    • The macro is the function that performs the operation. Function can optionally take parameters. Macros can be executed in series by delimiting them with as semi-column.

  • Style

    • Applies the color to the button. Either one of the six preset colors or by optionally providing a color in hex triplet format.