Wide range of unanswered questions still needing answers :)

Don’t want to sound aggressive at all, I just have a large amount of unanswered questions which I would like to see if anyone could help me so Ill

Printing HTML

When I do tables like this in my print template,

    <table style="border:0 none;"> <tr>
        <td><h3>{ENTITY DATA:Name}</h3> </td>
        <td> Yr: {ENTITY DATA:Year} </td>
      </tr>

I find an extra line is printed at the bottom, could I remove this line in any way?

Customer Display Screen

My problem with my second screen is that, if for some reason my HDMI comes loose Windows goes back to a PC Screen only extend status and the IE windows gets moved to the same desktop as Samba, when the HDMI is plugged back in the IE window does not get put back onto the second screen even after restarting my computer, I have to plug in a mouse force close IE open up a new IE window drag that to the second screen then close it and then I can use it, is there a way to simplify this?

Report Help

How would I be able to track how many items are gifted in my reports?

Entity Grid Pages

How can I go about making it so that my entity grid has 4 columns 4 rows and as many pages as it needs to fulfil those rows and columns? At the moment it just make the tiles smaller until the text on them is illegible.

Prompt Validation

Is there an easy way on [?Enter Value;;;OCN] to validate that there is input, and it is a number in the input?

Thanks once again if you can assist me in any of my queries.

Qmkay developed a customer display screen that uses graphql. That will give you the ability to use a separate computer.

Prompt validation use Regular expression. Search forum regex. It was implemented since V4 IIRC.

Customer display I use old style monitor port no problem.

You should create separate Topics for your questions. Answers may require discussion.

Post your entire Template.

Mentioned by @Hasa, the GraphQL version works great, on any Browser (ie. Firefox, Chrome), on any device including Android Tablets and iPad. No need to install SambaPOS on the display device. I will release the code soon, but it requires running a Webservice (there is one built in to SambaPOS), ideally with PHP support (you will need IIS or WAMP for this), on the “Server” terminal to host the GraphQL server.

Search for ODI=True (or False). This is an expression filter which checks to see if Inventory is decreased or not, most often used with filtering Gift and/or Void Orders.

I am not aware of any pagination feature in the Entity Grid Widget. If you have so many Entities to display, I would suggest using Entity Search instead.

Yes. As @sukasem mentioned, you can use regular expressions to filter/validate input…

As of v4.1.61 we can create Custom Keyboards to use with [?prompt] notation, and a Custom Keyboard Widget is available for Entity Screens.

For [?prompt] notation, the syntax is:

[?<prompt>;<mask>;<default value>;<flags>;<keycodes>]
  • <prompt> is the question or prompt to display
  • <mask> is a regular expression to define what type of characters (and how many) are allowed
  • <default value> allows for a common value to be pre-entered
  • <flags> lets you define the keyboard type and which buttons appear on it
  • O displays OK button
  • C displays Cancel button
  • N displays Numeric keyboard
  • S displays Alphanumeric keyboard
  • <keycodes> allows for specifying available characters or keys

Example:

[?Enter Customer Birthday;([1-9]|10|11|12) (0?[1-9]|[12]\d|30|31) \d{2}\d{2}?;{TICKET TAG:Customer Birthday};ON;49,50,51|52,53,54|55,56,57|8,48,13]

This example breaks down like this:

  • prompt: Enter Customer Birthday
  • mask: ([1-9]|10|11|12) (0?[1-9]|[12]\d|30|31) \d{2}\d{2}?
  • default value: {TICKET TAG:Customer Birthday}
  • flags: ON
  • keycodes: 49,50,51|52,53,54|55,56,57|8,48,13

Hey Q, I orignaly made separate threads for every question but each thread got 0 replies, but thanks for that :slight_smile: