You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(If applicable) Installation package for the LAMP/LEMP stack is:
Issue / Bug / Question / New Feature
Please write your issue here. If a bug, please make sure to provide as much information as possible including configuration settings (e.g. Decimals set, Tax mode), language and steps to reproduce the bug.
//////////////////////////////////////////////
hello to you and Thank you for this wonderful program its helps us a lot and since we started using it we have encountered a problem and I hope to find a resolution here. we would like as a product to have a wholesale price and a retail price. we would like us to never sell a product below its wholesale price. can someone help us STP this is urgent. We have encountered after-sales situations that the cashier can change the price or make reductions, often going below the purchase price, which is the retail price.
someone knows how to solve this problem please we have already been working for more than a year with ospos and it is now that we see that most often the cashier sold products with negative margins and even we even by inattention we noticed that if someone even enters 10 € or even 1 € while the item costs 56 € and we have the wholesale price as 58 € and the retail price at 65 € its valid and we no longer want its. we want that if we enter a product price (-58 €) for example which is the wholesale price that its send us a message "price of the article not good" but if it is above 65 € as in the For example, he did not deny any problem that his validating the transaction. Please we really need help
hello thank you already for your suggestion yes I understand you but the problem is that our mode of operation is a little complicated our customers sometimes like to offer a price on an item and to face the competition seen that we know our margin we accept if we find the price reasonable. and if the price remains on file the cashier will have trouble entering this price. I even blocked to allow him to only make reductions but even on this side the reductions von sometimes up to 100% and his always made negative margins. not to mention that he complains of taking a long time either to assess the percentage of reduction to be made on the price which is there to reach the price given by the customer or to try to make a reduction to enter the price to be removed from the price existing product. we need the wholesale price and the retail price to help the cashier to accept a price that the customer gives in that range or more but never less. but it often happens that he enters a sum much lower than this interval and validates the transaction. and we find that the best if possible is to block the sale of items below the wholesale price, we know that we will no longer have this kind of inconvenience
seeing that its really important to us we are ready to really get along with someone so that it gives us a hand since we do not want to change software we love it and we have been using it for more than 'one years old and we want to solve it as soon as possible thanks in advance
buen punto con este problema... tiene razon debe ver una validacion para ese tipo de problema, tambien acoto cuando hay devoluciones de productos vendidos o comprados es engorroso ya que solo deberias ingresar la operacion a devolver y deberia obtener los productos a detalle a devolver y no ingresarlo uno a uno eso generaria errores si no es detallista o no se tiene el ticket de venta o compra
oui merci je reste en attente ... j'imagine qu'ils sont vraiment occupés. c'est deux modifications vont nous sauver la Vie et j'imagine pleins d'autres.
good evening everyone, I'm really stuck with my problem, is there really no way someone can help me? even if it's 3n m3 saying what to do and in which file to intervene or telling me what to pay for these modifications. because we have stopped everything since we want to solve this problem before restarting the sale or really choose another but its would be complicated since it is necessary to start all over imported products etc. please i need help
good evening everyone, I'm really stuck with my problem, is there really no way someone can help me? even if it's en me saying what to do and in which file to intervene or telling me what to pay for these modifications. because we have stopped everything since we want to solve this problem before restarting the sale or really choose another but its would be complicated since it is necessary to start all over imported products etc. please i need help
Hello @Odie@jekkos@objecttothis I understand but we always say that we do not trust a user we lock everything possible at the code level. We have already told them how to operate but as the error is human we therefore do how we ourselves we had to make this type of error. reason why we want blocked to be sure. I don't know what are the implications of my request on this project because I would like some explanation and if it is possible since we are keen on these changes. than allowing people to make mistakes the better it is blocked and everyone is safe. we are ready have discussed with people ready to help us. since we have been using more applications for two weeks now
I blocked a user from changing the price, but he still can change the discount as much as he wanted. Is there a way to block that?
We're trying to make a promotion like, if you buy 12 units of an item, you get a discount. But we don't want the cashiers giving more discounts than we already pre-determined.
I had the idea of not doing discounts at all, and checked on the reports if any cashier has given any discounts. So, we would need to use the "Kits" feature to provide the discount.
But I had no success with that, since the cashier can delete the "Kit Item" (the one which contains the price for the package), and just leave the 12 units as $ 0,00.
Currently there is no feature but it has been requested. We need it in our operation so I will eventually implement it, but if someone needs it sooner, they can submit a pull request with the feature. It needs to be optional (with a default of disabled). It also needs to be able to be overridden and set as a per-employee permission level.
Just to confirm, are you talking about a feature to prevent users to change the discount?
Sorry about the confusion. Yes, this issue and changing the discount amount could be made a part of the same feature set. They both would use the same permissions (grants), settings and override modal.
Disclaimer: I barely touched PHP and the only thing I know about CodeIgniter is that it is a framework.
Not sure if here is the place to ask those questions (sorry if it is not)
Looking at the code, I got the impression that the $price_change permission is not taken under consideration when edit_item is called on the controller.
I got the impression that this permission just determines if the value would be editable or not under the register view.
If so, would a user be able to change the price without this permission, if he hacks the request?
I'm going around the code, so I may give it a try, and implement for discount the same block we have for price changes. But first, I'm trying to make sure I understand what I have to cover.
Hello,
This feature of disallowed selling negative quantity is very important to
avoid negative quantity in our inventory.
For instance if the current quantity is 10 and i edit the quantity to be 12
....I can still proceed to to complete the sell... it's should deny me to
do so.
Public function out_of_stock($item_id, $item_location)
.....
If($item_quantity - $quantity_added < 0) deny from executing.
Kindly assist
I will pay for assistant
changed the title [-]block the sale of items below the wholesale price or require manager approval[/-][+][Feature]: Block sales below wholesale price or require manager approval[/+]on Apr 1, 2026
Activity
CMR237 commentedon Jun 16, 2021
someone knows how to solve this problem please we have already been working for more than a year with ospos and it is now that we see that most often the cashier sold products with negative margins and even we even by inattention we noticed that if someone even enters 10 € or even 1 € while the item costs 56 € and we have the wholesale price as 58 € and the retail price at 65 € its valid and we no longer want its. we want that if we enter a product price (-58 €) for example which is the wholesale price that its send us a message "price of the article not good" but if it is above 65 € as in the For example, he did not deny any problem that his validating the transaction. Please we really need help
jekkos commentedon Jun 17, 2021
Hi for now a quick fix is to disallow a user to change price. go to employees and untick the box for the cashier.
CMR237 commentedon Jun 18, 2021
hello thank you already for your suggestion yes I understand you but the problem is that our mode of operation is a little complicated our customers sometimes like to offer a price on an item and to face the competition seen that we know our margin we accept if we find the price reasonable. and if the price remains on file the cashier will have trouble entering this price. I even blocked to allow him to only make reductions but even on this side the reductions von sometimes up to 100% and his always made negative margins. not to mention that he complains of taking a long time either to assess the percentage of reduction to be made on the price which is there to reach the price given by the customer or to try to make a reduction to enter the price to be removed from the price existing product. we need the wholesale price and the retail price to help the cashier to accept a price that the customer gives in that range or more but never less. but it often happens that he enters a sum much lower than this interval and validates the transaction. and we find that the best if possible is to block the sale of items below the wholesale price, we know that we will no longer have this kind of inconvenience
CMR237 commentedon Jun 18, 2021
seeing that its really important to us we are ready to really get along with someone so that it gives us a hand since we do not want to change software we love it and we have been using it for more than 'one years old and we want to solve it as soon as possible thanks in advance
molomixx commentedon Jun 18, 2021
buen punto con este problema... tiene razon debe ver una validacion para ese tipo de problema, tambien acoto cuando hay devoluciones de productos vendidos o comprados es engorroso ya que solo deberias ingresar la operacion a devolver y deberia obtener los productos a detalle a devolver y no ingresarlo uno a uno eso generaria errores si no es detallista o no se tiene el ticket de venta o compra
CMR237 commentedon Jun 20, 2021
hello there is really no one here to help me orient me. and i have yet another problem not allowing the sale of 3n products out of stock
ekardian commentedon Jun 21, 2021
wait , the devs are maybe bussy, but good point
CMR237 commentedon Jun 21, 2021
oui merci je reste en attente ... j'imagine qu'ils sont vraiment occupés. c'est deux modifications vont nous sauver la Vie et j'imagine pleins d'autres.
CMR237 commentedon Jun 22, 2021
good evening everyone, I'm really stuck with my problem, is there really no way someone can help me? even if it's 3n m3 saying what to do and in which file to intervene or telling me what to pay for these modifications. because we have stopped everything since we want to solve this problem before restarting the sale or really choose another but its would be complicated since it is necessary to start all over imported products etc. please i need help
odiea commentedon Jun 22, 2021
Train or replace your cashiers.
CMR237 commentedon Jun 24, 2021
good evening everyone, I'm really stuck with my problem, is there really no way someone can help me? even if it's en me saying what to do and in which file to intervene or telling me what to pay for these modifications. because we have stopped everything since we want to solve this problem before restarting the sale or really choose another but its would be complicated since it is necessary to start all over imported products etc. please i need help
CMR237 commentedon Jun 24, 2021
Hello @Odie @jekkos @objecttothis I understand but we always say that we do not trust a user we lock everything possible at the code level. We have already told them how to operate but as the error is human we therefore do how we ourselves we had to make this type of error. reason why we want blocked to be sure. I don't know what are the implications of my request on this project because I would like some explanation and if it is possible since we are keen on these changes. than allowing people to make mistakes the better it is blocked and everyone is safe. we are ready have discussed with people ready to help us. since we have been using more applications for two weeks now
Do not allow negative stock (#3214)
Do not allow negative stock (#3214)
jekkos commentedon Jun 25, 2021
This last commit has a patch that would disallow selling negative stock.. The price rule is a bit more work to implement alas.
41 remaining items
CoinBR commentedon Mar 18, 2022
Hello there. New to OpensourcePOS.
I blocked a user from changing the price, but he still can change the discount as much as he wanted. Is there a way to block that?
We're trying to make a promotion like, if you buy 12 units of an item, you get a discount. But we don't want the cashiers giving more discounts than we already pre-determined.
I had the idea of not doing discounts at all, and checked on the reports if any cashier has given any discounts. So, we would need to use the "Kits" feature to provide the discount.
But I had no success with that, since the cashier can delete the "Kit Item" (the one which contains the price for the package), and just leave the 12 units as $ 0,00.
objecttothis commentedon Mar 18, 2022
Currently there is no feature but it has been requested. We need it in our operation so I will eventually implement it, but if someone needs it sooner, they can submit a pull request with the feature. It needs to be optional (with a default of disabled). It also needs to be able to be overridden and set as a per-employee permission level.
CoinBR commentedon Mar 18, 2022
@objecttothis
Just to confirm, are you talking about a feature to prevent users to change the discount?
objecttothis commentedon Mar 18, 2022
Sorry about the confusion. Yes, this issue and changing the discount amount could be made a part of the same feature set. They both would use the same permissions (grants), settings and override modal.
CoinBR commentedon Mar 18, 2022
That's great @objecttothis !
Do you have an idea about when this is going to be released?
No worries, I'm not pushing for it, just trying to get an idea
CoinBR commentedon Mar 18, 2022
Disclaimer: I barely touched PHP and the only thing I know about CodeIgniter is that it is a framework.
Not sure if here is the place to ask those questions (sorry if it is not)
Looking at the code, I got the impression that the
$price_changepermission is not taken under consideration whenedit_itemis called on the controller.I got the impression that this permission just determines if the value would be editable or not under the
registerview.If so, would a user be able to change the price without this permission, if he hacks the request?
I'm going around the code, so I may give it a try, and implement for discount the same block we have for price changes. But first, I'm trying to make sure I understand what I have to cover.
CoinBR commentedon Mar 18, 2022
Sorry, but I just realized that the user would still be able to change the quantity.
So, he would add a KIT, that would just add 12 units of something, with a discount (per unit)
but he would be able the change the quantity do 1, and keep that discount.
Maybe I'm approaching this whole thing in the wrong way?
Is there a better way to achieve what I need?
websitekenya commentedon Mar 24, 2022
peckinz commentedon Mar 1, 2025
how do i sell both wholesale and retail
[-]block the sale of items below the wholesale price or require manager approval[/-][+][Feature]: Block sales below wholesale price or require manager approval[/+]