This is an extension to Espo CRM, providing a barcode scanner field.
Still a work in progress, but basic functionality is there:
- Barcode scanning works
- Field can be set as required
- Field can be marked as having personal data
This uses the Espo extension template to facilitate development. See their docs. I work on Windows and have added a small Nginx configuration to run the dev environment in.
Using this field requires permission for your Espo site to access the device's camera. Modern browsers
require the site to be hosted over HTTPS (smart anyways), and if you use the permission policy
header, you need to make sure relevant permissions are set. E.g. camera=(self).
The project uses the following great stuff made by others.
- Espo extension template
- ZXing browser layer
- Store Scanner Beep by Freesound
Much appreciated, thanks!