Swiss QR-Code in Reminders Module

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

Hi Armaghan,

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

https://github.com/ledger123/runmyaccounts/commits/352_qr_variables_in_reminders2

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

https://github.com/ledger123/runmyaccounts/pull/369/commits/7232717416bdbe5b19b689591b3...

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.

Regards

Swiss QR-Code in Reminders Module

by Armaghan Saqib, Friday, March 10, 2023, 14:41 (403 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.

Regards

Swiss QR-Code in Reminders Module

by bboehm, Friday, March 10, 2023, 15:01 (403 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

Best
Benjamin

Swiss QR-Code in Reminders Module

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

Hi Armaghan,

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

Thank you!
Sebastian

RSS Feed of thread