Swiss QR-Code in Reminders Module

by sweitmann, Friday, March 10, 2023, 14:26 (409 days ago)

Hi Armaghan,

Thank you for adding the missing necessary variables to make the Swiss QR-Code feature work in the reminder module:

We only had to adjust the LaTeX template to make it work properly:

Now a colleague of ours asks the following question in connexion with the validation:

"Why format the variables in the tex file? In 2 different tex files? Couldn't that be done in the code beforehand?"

I would be grateful if you could help me answer that.


Swiss QR-Code in Reminders Module

by Armaghan Saqib, Friday, March 10, 2023, 14:41 (409 days ago) @ sweitmann

Hi Sebastian,

Yes, he is probably right. I am sure we can format the variables in Perl code instead of doing that in latex.

If the formatting which is done in latex to qr variables can be explained in a ticket, I shall take it up and update the code so that there is no need to do it in latex.


Swiss QR-Code in Reminders Module

by bboehm, Friday, March 10, 2023, 15:01 (409 days ago) @ Armaghan Saqib

Hello Armaghan

We use a variable called strdbkginf which we then split into 3 different strings

The split happens in the following way:

str1 = 0-50
str2 = 51-100
str3 = 101-140

I hope that helps to explain what we do exactly


Swiss QR-Code in Reminders Module

by sweitmann, Monday, March 13, 2023, 19:59 (406 days ago) @ bboehm

Hi Armaghan,

We agreed to leave the split in LaTeX, so no need for further action.

Thank you!

RSS Feed of thread