Implementing automatic reading of QR invoices for invoice requests.
this pr proposes the implementation of automatically reading qr invoices for invoice requests.
the pr implements this by listening to the file inputs onChange, rendering of the PDF, extraction of QR Data and insertion into the form data.
in addition to changes to Bills.tsx, ObjectEditor.tsx is changed to allow external onChange handlers and states from the parent component.
the user is guided throughout the process by several dialogs, indicating that it is being attempted to auto-fill from QR data, and asking for user permission to auto-fill.
the parsing & verification of the QR data (Swiss Payments Code data) is made on a best efforts basis, only verifying length, and marker elements such as version numbers.
if during testing/pr review payment slips are reported to be invalid which should not be, please notify me with the qrData from the dev console. it is unclear to me how strictly the implementation guidelines are followed in the "wild".
~rspyra