Give ids to respective button in
pos.xml so your discount button should look like
<button id="discount" class="mode-button" data-mode='discount'>Disc</button> after that in
NumpadWidget you can write a simple code to get the current login user and just show and hide the button as per user....
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/7/13, 8:19 AM|
|Seen: 2650 times|
|Last updated: 3/16/15, 8:10 AM|