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
@@ -4,9 +4,9 @@ visa.buildfor.life keeps the immigration records of the foreigners that B4L
|
||||
looks after in Thailand: their passports, addresses and TM.30 receipts,
|
||||
visas, arrivals with the TDAC, extensions of stay, re-entry permits, 90-day
|
||||
reports and work permits, and the companies that employ them. From those
|
||||
records it works out every deadline, and from phase 5 it prepares the
|
||||
documents for the next extension of stay at Chiang Mai Immigration with the
|
||||
forms filled in.
|
||||
records it works out every deadline and fills in the Immigration Bureau's
|
||||
forms. From phase 6 it prepares the whole pack for the next extension of stay
|
||||
at Chiang Mai Immigration.
|
||||
|
||||
B4L's own staff use it first. The data model treats everyone as a client of
|
||||
an agency whose staff see all records, so it can grow into the internal tool
|
||||
@@ -18,7 +18,7 @@ view and change of a person's record goes into an append-only activity log
|
||||
that names the fields changed but never their values, as Thailand's Personal
|
||||
Data Protection Act (PDPA) asks.
|
||||
|
||||
## What works now (phases 1 to 4)
|
||||
## What works now (phases 1 to 5)
|
||||
|
||||
- The Deadlines page: every person's coming deadlines, the most urgent
|
||||
first, with a filter by employer. It covers the 90-day report with its
|
||||
@@ -26,19 +26,26 @@ Data Protection Act (PDPA) asks.
|
||||
a decision to collect, overstay, TM.30 after each arrival, the passport's
|
||||
and the work permit's expiry, and visas still to be used.
|
||||
- A list of people with a filter and each person's next deadline, and a
|
||||
page per person with four tabs: the overview with personal details,
|
||||
page per person with five tabs: the overview with personal details,
|
||||
passports and addresses; "Visa and stay" with arrivals and departures,
|
||||
extensions, 90-day reports, visas, re-entry permits and work permits; the
|
||||
person's documents; and the person's activity.
|
||||
person's documents; the forms; and the person's activity.
|
||||
- Documents: scans and photos of the passport pages, the TDAC, receipts and
|
||||
the photo, dropped on a dashed strip, several at a time, and filed under
|
||||
the record they belong to. A company keeps its own documents for the
|
||||
extension packs. The files are encrypted on the server, open in the
|
||||
browser's viewer, and every upload, view and download is in the log.
|
||||
- Forms, filled in from the records on the Immigration Bureau's own pages:
|
||||
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. Each opens as a PDF or
|
||||
downloads, and the five of an extension come in one file. The Forms tab
|
||||
says what would stay blank and links to where it is added.
|
||||
- Companies with their Thai name, registration number (the check digit is
|
||||
verified), address and signing director. A person's employer and the
|
||||
employer on a work permit are chosen from them, and a company's page adds
|
||||
people to it. The page's Office card shows the office's GPS position,
|
||||
people to it. It also holds what the employer's certificate (STM.1)
|
||||
states: the capital, the latest revenue and equity, and the staff. The
|
||||
page's Office card shows the office's GPS position,
|
||||
with links to OpenStreetMap and Google Maps, and the newest photo of the
|
||||
office; the position may be pasted as Google Maps copies it or as a link
|
||||
to the place.
|
||||
|
||||
Reference in new issue
Block a user