Skip to content

feat(duties-acknowledgement): the acknowledgement sheet on the worker's page, its line and filter in the workers list, and document 13 only regenerated - #1216

Open
PCRinus wants to merge 8 commits into
feat/duties-acknowledgement-datafrom
feat/duties-acknowledgement-card
Open

PCRinus wants to merge 8 commits into
feat/duties-acknowledgement-datafrom
feat/duties-acknowledgement-card

Conversation

@PCRinus

@PCRinus PCRinus commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

ADR 046 step 4, the screens. Built against the contract of feat/duties-acknowledgement-data (ba9aeb5).

  • Worker page, Instruire SSM tab: a card "Fișa de luare la cunoștință a atribuțiilor SSM" under "Starea instruirii", laid out like the signing agreement's card (layout A of the canvas): Stare, Fișa, Scan, Semnată anterior, Ce urmează. States: De semnat, Semnată pe hârtie (with or without scan), De semnat din nou (annex changed, roles changed, or both), the post archived ("Schimbă postul" opens the post dialog), the post newer than 13, and 13 not issued. The buttons are secondary; the tab's one dark button stays "Înregistrează o instruire". No mark in the header or on the tab.
  • Dialog "Fișa semnată pe hârtie": the additional act's paper dialog with the nouns changed. The day may not be in the future or before 13 was issued; a new scan goes up first as a file of the worker, then its id is sent with the revision shown. A 409 duties_revision_not_current says 13 was issued again. A record made by mistake is removed with "Șterge înregistrarea…".
  • Workers lists (client and organization): one amber line under the post, never a column: "Atribuții SSM nesemnate", "Atribuții SSM noi, nesemnate", "Postul lipsește din doc. 13"; nothing when signed or not issued. Filtre has an "Atribuții SSM" group: Semnate, Nesemnate, Noi, nesemnate, Postul lipsește din doc. 13.
  • Document 13: the row's menu has no "Încarcă un fișier Word", "Deschide și modifică" or "Modifică documentul emis"; under its title: "Se generează din datele clientului; o regulă a unui post se adaugă prin instrucțiunile proprii." The editor opens it read-only with the same line, on desktop and in the phone menu.
  • Help: the worker's training article (new section and topic angajati.atributii-ssm), the workers list article (line and filter) and the SSM documentation article (13 only regenerated). ADR 046 gets a dated note.

Legal references for Mircea to check (help article): Legea nr. 319/2006, art. 13 lit. d); H.G. nr. 1425/2006, art. 15 alin. (1) pct. 4.

Actualizări

Ce e nou

Fișa de luare la cunoștință a atribuțiilor SSM

Fiecare lucrător are acum, pe pagina lui, fișa cu atribuțiile SSM ale postului și ale rolurilor pe care le are, luate din documentul 13 emis. O descarci, lucrătorul o semnează de mână, iar tu o înregistrezi cu ziua semnării și, dacă vrei, cu scanul ei, care ajunge în documentele lucrătorului. Când documentul 13 schimbă anexa postului sau lucrătorul primește ori pierde un rol, fișa apare „De semnat din nou”, cu motivul și cu fișa semnată înainte alături. În lista lucrătorilor vezi sub post cine are atribuțiile nesemnate, iar filtrul „Atribuții SSM” îi adună.
Unde o găsești: pagina lucrătorului, tabul Instruire SSM, sub starea instruirii
Pictogramă: file-signature

Îmbunătățiri

  • Documentul 13 se generează doar din datele clientului: nu se mai modifică de mână și nu se mai înlocuiește cu un fișier Word, așa că fișele lucrătorilor spun mereu ce scrie în el. O regulă a unui singur post o adaugi printr-o instrucțiune proprie aplicată postului.

Evidence

Taken on the branch with the local stack (both PRs), a client of 4 workers; desktop 1440 and phone 390. There is no "before": everything is new, except the documents menu, which until now listed upload and edit for document 13.

Desktop Phone
Card, de semnat (two roles)
Card, semnată pe hârtie
Card, de semnat din nou: roles changed, 13 issued again
Dialog „Fișa semnată pe hârtie”
Dialog, a date in the future
Lucrători: the amber line under the post, a long post truncated
Filtre: the „Atribuții SSM” group
Document 13 issued: no upload or edit in the menu
Document 13 as a draft: the same

Tests: app 3091, help 31 and the help build pass; typecheck and lint are clean.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant