Can someone help on how to use html5-QRCode migrating to erpnext

I want to develop a qrcode scanner in material request that when the user scans the qrcode it will change the status. Can someone help or provide a reference or existing code, on how to develop this kind of feature. Thank you