Overview

    To enable Tips and Tip Recommendations within the Default OPOS Sales Receipt there are a couple of steps you will need to take. 


Procedure

  1. First start by selecting Admin on the left side of the screen then click on Attributes. 
  2. Click on Create New Attribute
  3. Give the new attribute a Code of “DocumentTemplate_TipPercentages” (minus the quotes)
  4. You can then give it a Name (which will be what displays on the Document Template page)
  5. In my example it is named “TIP PERCENTAGE RECOMMENDATIONS”
  6. Assign it to EntityName of “DocumnetTemplate”
  7. Mark it Active and give it a Type of TextArea 
  8. Click Save. See Screenshot below as an example

  1. Click Admin again and select Attribute Sets.
  2. Search for and select Template Customization  in the list then click “Edit Selected Attribute Set(s)”
  3. Under Where it says Footer Text click “Add new field”
  4. From the drop down select the name of the attribute you created in the last steps.
  5. See Screenshot Below

Lastly 

  1. Select Admin on the left again
  2. Then Select  Document Templates 
  3. Search for and select Default OPOS Sales Receipt  then click ”Edit Selected  Selected Document Template(s)”.
  4. In the Template text box area,  scroll down until  you see
  5.  /* ADJUSTABLE SETTINGS */  
  6. There will be a line that says “bool showTip = false”   change the “false” to “true”
  7. Then scroll down the actual page to where you see your new Attribute Box and enter in the Percentages you would like Recommendations for displayed on your receipts.  By Default if left blank it will show for 15%, 20%, 25%, and 30%. Each Percent should be entered as a whole number on a separate line.  You can have as few as 1 to as many as you would like displayed.
  8. See Below Screenshot for example


References