06 / Record
2025—spring 2026
KS54 — contract and payment document generator
Practice
Frontend / PHP / document workflows / PDF / operations
A separate KS54 application for preparing contracts and payment documents. It supported paid education, preparatory courses and related workflows: academic-year calculations, PDF generation, payment QR codes and a contract registry. Active support ended around spring 2026 as the main contract workflow started moving into the newer DocFlow / KS54 Platform line.
Scope of work
- 01
Forms and contract generation for paid education and preparatory courses
- 02
Tuition, study-period, payment-schedule and date-based proration calculations
- 03
ST00012 payment QR and PD-4 payment forms
- 04
PDF generation with mPDF, printable templates and shared font/page configuration
- 05
Program, pricing and signer catalogs for academic years 2025–2026 and 2026–2027
- 06
Contract registry with deduplication and structured Google Apps Script submission
- 07
Stateless HMAC CSRF, form validation and client-side masks/checks
- 08
By spring 2026 — active legacy support ended and the primary contract workflow began moving into DocFlow / KS54 Platform
Technology chronology
PHP document generator
PHP / mPDF 8.2 / chillerlan/php-qrcode 5.xThe system generates contracts and payment documents server-side, using mPDF for PDFs and chillerlan/php-qrcode for payment QR codes. The UI uses Tabler and lightweight custom JavaScript rather than a separate SPA framework.
Education contracts
2025–2026 → 2026–2027The code preserves separate program, pricing and signer catalogs for 2025–2026 and an updated layer for 2026–2027. Calculations account for contract date, study duration, payment mode and first-year proration.
Payments & registry
ST00012 / PD-4 / Google Apps ScriptPayment documents combine banking details and QR payloads, while registry.php sends structured contract records to a Google Apps Script with deduplication by contract number, student name and date.
Operations
contract-legacy.ks54.pro / cron fast-forward deployThe repository includes operational documentation, nginx vhost configuration, ownership rules and a cron-based safe fast-forward deployment script. By spring 2026 active support for this legacy layer had ended and the main contract workflow was moving into DocFlow / KS54 Platform.
Versions and dates reflect states confirmed by archives, Git history or releases and do not imply that every component was used in every deployment.