aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-10-23 00:16:32 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-10-23 00:16:32 +0200
commit44ac6a08697e635bec44a8eabf4756acbb559679 (patch)
treede230d087335905d5c4eacd759255cdda1e37fe7
parentAdd entry-point for generating tidsrapporter. (diff)
downloadcalp-44ac6a08697e635bec44a8eabf4756acbb559679.tar.gz
calp-44ac6a08697e635bec44a8eabf4756acbb559679.tar.xz
Add slightly more documentation to tidsrapport.
-rw-r--r--module/calp/entry-points/tidsrapport.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/module/calp/entry-points/tidsrapport.scm b/module/calp/entry-points/tidsrapport.scm
index 1c9d78bf..86fdab18 100644
--- a/module/calp/entry-points/tidsrapport.scm
+++ b/module/calp/entry-points/tidsrapport.scm
@@ -1,4 +1,41 @@
+;;; Commentary:
;;; pdftk <filename.pdf> dump_data_fields to get field names (including checkbox values)
+;;; Sample template file:
+;; ((Text1 förnamn)
+;; (Text2 efternamn)
+;; (Text3 personnummer)
+;; (Text4 address)
+;; (Text5 postnummer)
+;; (Text6 postort)
+;; (Text7 medborgarskap)
+;; (Text8 telefonnummer)
+;; (Text9 mailaddress)
+;; (Text115 institution-enhet-kurs-program)
+;; (Text176 namnförtydligande)
+;; ("Check Box15" har-swedbank)
+
+;; (groups
+;; (group
+;; (prefix Text)
+;; (summary 16)
+;; (days (- 17 47))
+;; (sum 48))
+;; (group
+;; (prefix Text)
+;; (summary 49)
+;; (days (- 50 80))
+;; (sum 81))
+;; (group
+;; (prefix Text)
+;; (summary 82)
+;; (days (- 83 113))
+;; (sum 114))))
+
+;;; Sample from data file
+;; ((förnamn "Hugo"))
+
+;;; Code:
+
(define-module (calp entry-points tidsrapport)
:export (main)