aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-08-07 14:38:20 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2022-08-07 14:38:20 +0200
commit4b974407b3ffe0c55e2d7a359346d2963b0d0fd1 (patch)
treed49b5ca4f16f765e8c0ca68f0c25c9c443971c87 /client
parentadd qr code to pdf approve, direct approval page (diff)
downloadscout-subs-4b974407b3ffe0c55e2d7a359346d2963b0d0fd1.tar.gz
scout-subs-4b974407b3ffe0c55e2d7a359346d2963b0d0fd1.zip
bar code scanner inside direct approve page
Diffstat (limited to '')
-rw-r--r--client/templates/client/approve_doc_pdf.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/templates/client/approve_doc_pdf.html b/client/templates/client/approve_doc_pdf.html
index 0cf4944..d2ba29b 100644
--- a/client/templates/client/approve_doc_pdf.html
+++ b/client/templates/client/approve_doc_pdf.html
@@ -63,7 +63,7 @@
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jsbarcode@3.11.5/dist/barcodes/JsBarcode.code128.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
<script type="text/javascript">
- JsBarcode("#barcode", {{doc.code}}, {width: 3, height: 40, displayValue: false});
+ JsBarcode("#barcode", {{doc.code}}, {width: 4, height: 40, displayValue: false});
var qrcode = new QRCode(document.getElementById("qrcode"), {
text: "{{ uri }}",
width: 128,