Phase 5: the Immigration Bureau's forms, filled in from the records
A Forms tab on each person fills in TM.7, STM.2, STM.9, STM.11 and STM.1 for an extension of stay, TM.47 for a 90-day report and TM.8 for a re-entry permit. The Bureau's blank pages (forms/, with their sources and checksums) go unchanged into a new PDF, and the values are written on the dotted lines in Sarabun; boxes are ticked and the title circled where a form asks. scripts/gen_layout.py measures the blanks into src/papers/layout.rs. The tab says what would stay blank and links to where it is added. What only the application says (the date, the office, the reason, the days, a trip) is carried in the links and never stored. The extension's five forms also come in one PDF. Opening or downloading a form is audited as entity "form" with the forms' codes, never their values. Migration 0005 adds what STM.1 and STM.11 ask of the company (capital, revenue, equity, staff, a coordinator), a work permit's salary and contract dates, and where an arrival came from. The Nix package now takes forms/.
This commit is contained in:
1 parent
2a6e972b68
commit
a2cedcdd7e
40 files changed
+3404
-35
No files matched your search
@@ -27,6 +27,7 @@ axum = { version = "0.8", features = ["multipart"] }
|
||||
base64 = "0.22"
|
||||
chrono = { version = "0.4", default-features = false, features = ["clock", "std", "serde"] }
|
||||
form_urlencoded = "1"
|
||||
krilla = { version = "0.8", default-features = false, features = ["pdf", "simple-text"] }
|
||||
minijinja = "2"
|
||||
# The login service's certificate is checked against the system's CA bundle
|
||||
# (native roots), so a NixOS VM test can bring its own CA.
|
||||
@@ -34,8 +35,10 @@ reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-
|
||||
# ID token signatures (ES256 from Kanidm, RS256 accepted), PKCE, random tokens
|
||||
# and the session hashes, as in proplan and the fleet overview.
|
||||
ring = "0.17"
|
||||
rustybuzz = "0.20"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
serde_urlencoded = "0.7"
|
||||
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "postgres", "chrono", "migrate", "macros"] }
|
||||
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
|
||||
tracing = "0.1"
|
||||
|
||||
Reference in new issue
Block a user