Commit Graph
7 Commits
Author SHA1 Message Date
kurogeek 84e23a6b71 feat: place company logo on the right of the letter head 2026-09-10 02:45:57 +00:00
kurogeek a6620d3743 fix: right-align letter head with the document
Text block flex-fills remaining width and right-aligns its text, so it sits at
the document's right edge with or without a company logo. Drop the fixed 500px
width; keep -webkit-box fallbacks for wkhtmltopdf.
2026-09-10 02:40:46 +00:00
kurogeek 9091caffab feat: company-driven letter head and Thai address template
- Letter Head fixture renders company details (logo, name, tax id, address,
  phone, email) from the printed document's company via a jinja helper
  instead of hardcoded values; falls back to the default company for
  doctypes without a company field.
- Register fixtures in hooks (Letter Head, Address Template); they were
  never imported before.
- Preserve the fixture's `source = HTML` on import: LetterHead.before_insert
  forces "Image" and fixture import is delete + insert.
- Thailand Address Template: two-line address, phone/fax/email lines kept.
2026-09-09 10:30:01 +00:00
kurogeek 3d520cbd92 mob next [ci-skip] [ci skip] [skip ci]
lastFile:default_thai_company/fixtures/letter_head.json
2026-09-09 16:29:25 +07:00
kurogeek d081af7ece package.json 2026-09-01 17:20:43 +07:00
kurogeek ecc2a1445c add yarn.lock 2026-09-01 16:34:04 +07:00
kurogeek 43416a2433 feat: Initialize App 2026-09-01 16:01:23 +07:00