Cool, I hadn’t thought of that yet
You just set AllowMultipleClients to true?
Cool, I hadn’t thought of that yet
You just set AllowMultipleClients to true?
Yep you found it I love this setting.
Wow, I’ve been switching databases all night (big waste of time), that’s real good to know!
You can automate it as well with rules and actions. Or you can just manually change your localsettings and load each instance.
What are the rules and actions for exactly?
For example on my test system… If I log in with a specific Username that I setup for a specific DB. It loads that database then displays a popup telling me its loaded… I press OK and then just login with Admin and im in the new database.
When I logout it loads the previous Database again. So my flow is I have 3 test databases Im using… i have 3 specific Usernames for each database. I load a Samba Instance and login with USER A it loads Database A. I load up a 2nd instance of Samba and login with USER B it loads Database B. If I logout of either test database it loads the default Database that I want.
Not so useful for production but its wonderful for development.
That’s amazing! But I thought the settings file was already read by SambaPOS when you get to the login screen? Do you do it by using Change Database Connection
action?
Yes you use that… And since you have to logout for it to change I use an ASK question action to display a popup saying BLAH Database Loaded Please login as Admin and when I press OK it logs out and then i simply just login as Admin.
I think I might set that up as well tomorrow… I’ve been wasting way too much time switching databases…
Anyway, I really need to sleep now… Talk to you later (and thanks for the help)…
Yes it was probably an old issue but I’ll check that in more detail. Thank you very much.
LOL, I had this happen too during testing. I knew something was wrong, but didn’t look into it, since it wasn’t a big deal. In normal operation, it would be rare(ish) to have this flow, so you would never see the issue. I agree though, we need to set something up to correct this issue.
It doesn’t have anything to do with this Topic or the implementation of this Discount - it is specifically related to changing an Entity, then clearing the Orders as you and @Jesse have worked out already. it’s not just Customers, it’s Tables too (or any Entity that has State colors).
What we need is a way to capture Entity Removed so that it’s State can be updated, but only if the Entity has no Ticket assignments.
Steps to reproduce issue:
Is there is any way to accomplish automated discount based on members credit balance?example
credit balance > 1 =20%
credit balance < 1 =10%
Please i desperately help from you guys.Thanks.
Yes it can be done using this example you could do it.
I am kinda lost here,i am prety new to SambaPos…How and where i have to apply the settings?..I am desperately looking for solution since my business already in operation.
Hi, I did exactly what you have done. I made account Stuff, so the stuff will use percent discounts of the products, but when I tried it, nothing happens. Should I have to make something more to connect the discount rules and actions to the Stuff account?
Thank you.
Please follow this Tutorial for concise instructions …