Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.25k stars 2.72k forks source link

Terminal TakePos Landing page for users #22558

Open josett225 opened 1 year ago

josett225 commented 1 year ago

Feature Request

It could be great to add Terminal landing pages to users if module Takepos is activated and terminals are defined.

Use case

In some companies, end-users need only access to Takepos terminal. When creating a user, it will be great to get a terminal selection to assign as landing page.

Capture d’écran 2022-10-12 à 22 03 59

Suggested implementation

To do it a modification of /htdocs/user/param_ihm.php is required.

Here is a sample of simple modification on line 217 for 2 terminals: if (isModEnabled('takepos')) { $tmparray['takepos/index.php?setterminal=1'] = 'Terminal 1'; } if (isModEnabled('takepos')) { $tmparray['takepos/index.php?setterminal=2'] = 'Terminal 2'; } Of course a better implementation is to get the list of terminals.

Suggested steps

No response

josett225 commented 11 months ago

Still required but to be checked with latest versions