Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CW-047 · 50 ทวิ withholding certificates

Aperta
#47 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
64/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Inizia con il renderer dei certificati di CW-008, i totali annuali per dipendente di #46 e le regole utilizzate dagli altri documenti emessi. Traccia i punti di ingresso per l’emissione da parte di dipendenti e aziende e i controlli dei permessi. Il lavoro è completato quando ogni dipendente idoneo riceve un PDF Thai corrispondente, l’accesso è limitato, le riemissioni sostituiscono quelle precedenti e vengono sottoposte ad audit, e i dipendenti non idonei non ne ricevono alcuno.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documents P1 payroll phase-3

Priority P1 · Area payroll · documents · Estimate M · Phase 3

Parent

#3 (CW-004).

What to build

Every employee gets their 50 ทวิ certificate for the tax year as a PDF — the document they need to file their own return, and which the employer is required to issue. HR issues them for the whole company in one action; an employee can also fetch their own.

The certificate renderer from CW-008 already exists and handles Thai text, letterhead and a signature block, so this is a template over it rather than new rendering.

Acceptance criteria

  • Each certificate's figures match that employee's line in the ภ.ง.ด.1ก export for the same year.
  • Thai text renders correctly — no tofu boxes — and the employer's letterhead and signature block appear.
  • An employee can fetch their own certificate and nobody else's; issuing for others requires the document-issuing permission.
  • Re-issuing supersedes rather than overwrites, and both are audited — the same rule the other issued documents follow.
  • Issuing for the whole company produces one certificate per employee paid in that year, and none for anyone who was not.

Blocked by

  • #46 — the annual per-employee totals come from there. A certificate that disagrees with the filing is worse than no certificate.
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
2h 56m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SuruchBoss/Cwork

Tutte le issue di SuruchBoss/Cwork

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.