Look at it and study how it was made. You will figure it out if you do.[quote=“mavericks, post:60, topic:7105, full:true”]
How do you make it caculate 1p 2p 20p and also how do make pretty cash and just one credit card
[/quote]
He shared the entire setup with you. You have the tools to figure it out now. Hopefully you installed it on a test machine. Just start toying with it and look at how he did it. Look at the entity screen, the rules, the settings.
[='{SETTING:ISCURRENTWORKPERIODOPEN}'=='TRUE' ? '<panel Green>' : '<panel Red>']WorkPeriod is<linebreak/><b>[=('{SETTING:ISCURRENTWORKPERIODOPEN}'=='TRUE' ? 'OPEN' : 'CLOSED')]</b><linebreak/><linebreak/>[=TN('{REPORT TICKET COUNT:(TS.Status=Unpaid)}')>0 ? 'Cannot Close Workperiod with ' + TN('{REPORT TICKET COUNT:(TS.Status=Unpaid)}') + ' Open Tickets<linebreak/><linebreak/>Click here to see Open Tickets' : 'Click here to ' + ('{SETTING:ISCURRENTWORKPERIODOPEN}'=='TRUE' ? 'Close' : 'Open') + ' the WorkPeriod']</panel>
One question how do i set the expression to check more than one ticket status
For example i changed unpaid in the expression to bar tab as when i create a bar tab the ticket status changes to bar tab so i needed to change that in order for the button to show the number of open tickets as i have changed their status
Is there a way to add multiple ticket states so it will calculate and show the number of open tickets whatever state they are. I though perhaps comma separating them in the expression so id tried:
TS.Status=Unpaid,Bar Tab
But that didnt work so for now i just changed it to:
TS.Status=Bar Tab
Or is there a universal that can just replace the Bar Tab part after the = sign so it displays all open tickets, not just those with a specific state?
This is what happens when people beg for someones database and then they dont know what to do with it when they finally get it
There is a reason both @QMcKay and @RickH were reluctant to release these. The main reason is because they are highly personalized to their specific need and there is no way to easily explain how to configure it for your own need.
You need to study it and really learn how they built it then customize your own needs once you understand.
In the screenshot there is a button that says Print Z Report:
If that’s not what your asking then you need to be more specific.
Friendly note to everyone trying to use this setup.
Its a highly customized very complex setup for someones specific need. You WILL have to modify it to fit your own needs.
Please do not expect RickH nor QMcKay to answer a million questions about a very complex personalized setup instead try to spend a lot of time studying how they did it.
Remember these setups were complex and very tedious to setup kind of like hand painting 100000 small q-tips for an art project as a result it will take you some time to fully understand it.
It will not be easy to convert it to your personal needs so be patient.
Try and respect the reason they were reluctant to share it is because of its complexity and I am sure they really did not feel like providing support for people new to SambaPOS.
This is not something a person that is New to SambaPOS should try to configure until you study other tutorials and get a grasp of SambaPOS features and advanced features specifically Editor Widgets, Reports, and how to pass Settings Variables.
PS: In regards to #2 I did not mean dont ask, we all know QMcKay and even RickH and myself love answering questions and solving problems. Just be mindful of the complexity your dealing with in regards to this setup.
Then you need to check its configuration and make sure its configured to work correctly. Look at the command, its settings, the actions and rules accordingly. Make sure you have the right printer setup and print job etc.
More than likely it was setup to work with QMcKays specific printer setup and yours is different.
Its not designed to. If you want it to do that then you need to configure that. Its designed to reset on WP open. You would know this if you spent the time to really study it.