Repository navigation
Conversation
…et, its records, the list status and document 13 not editable
…'s state against the latest issued document 13, and the holders' ids in its snapshot
…ne worker's annex of document 13 with the roles they hold
…owledgements, draws up the sheet, lists and filters the state, and keeps document 13 from hand edits
…es' states, and the generated types hold only this branch's tables
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 4 of ADR 046, server side: each worker's acknowledgement sheet of their SSM duties (Legea 319/2006 art. 13 lit. d), H.G. 1425/2006 art. 15 alin. (1) pct. 4), signed on paper for now.
employee_duty_acknowledgements, migration20261126100000_duty_acknowledgements.sql. A record holds the document 13 revision, the post and its annex number, the annex fingerprint, the roles with their fingerprints, the signing day, an optional scan (a client file) and who recorded it. Records are scoped to the organization, never updated (only deleted), and refused for archived clients.employee_duty_acknowledgement_states, compared against the latest issued document 13. The values arenot_issued,no_annex,to_sign,signedandsign_again;sign_againcarries the reasonannex_changedorroles_changed. The API and both workers lists read this same view, through a newemployee_listcolumn and thedutiesAcknowledgementfilter.fisa_atributii_ssm.docx(per employee), built from the same wording as document 13 and drawn from the issued revision's snapshot. It is downloadable as PDF and Word.editable: false; Word upload, editor saves and "Modifică documentul emis" answer 409document_not_editable; regenerating stays. Issue Remove Word upload from the client's documentation #1214 removes Word upload everywhere.Merge together with the UI PR stacked on this one. On its own, the documents menu would still offer editing document 13 and the server would refuse it.
Evidence
duty_acknowledgements: 26 passing;