Skip to content

Instantly share code, notes, and snippets.

@ernestoruiz89
Created May 10, 2024 23:10
Show Gist options
  • Save ernestoruiz89/e1fe11ac0fe60aeb59ecd35b8ec66fe8 to your computer and use it in GitHub Desktop.
Save ernestoruiz89/e1fe11ac0fe60aeb59ecd35b8ec66fe8 to your computer and use it in GitHub Desktop.
Add QR printing.html
{% set data1 = doc.customer %}
{% set data2 = doc.name %}
{% set qr_code_data = data1 + " | " + data2 %}
<img src="https://api.qrserver.com/v1/create-qr-code/?data={{ qr_code_data | urlencode }}&amp;size=100x100" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment