Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(j-s): Enable setting civil claimants (#15996)
* Started working on extracting nationalId input to component * Use InputNationalId in DefendantInfo * Create name input * Checkpoint * Add AddDefender button to Claimant section * Add defender info * Refactor * feat(j-s): Added controller and service for civilclaimant * Checkpoint * fix(j-s): Dtos * feat(j-s): Civil claimant API layer * Add addClaimant functionality * fix(j-s): backend usage * Checkpoint * Revert framer motion update * fix(j-s): Remove defendant and rename defender to spokesperson * Cleanup * feat(j-s): Connect civil claimant to case * fix(j-s): Remove required from name * Remove unused imports * Layout * feat(j-s): Add hasCivilClaims * feat(j-s): Fix boolean * chore(j-s): Add update civil claimant mutation to resolver * chore(j-s): Added role guards and write guards to civil claimant controller * chore(j-s): Added delete civil claimant to resolver * Save hasCivilClaims choise to server * Create new civil claimant when needd * CRUD operations on civil claimant * Fix lint * chore: nx format:write update dirty files * Create and delete civil claimant * Create and delete civil claimant * Lookup nationalId with national registry * Checkpoint * Autofill name when national id is set * Prevent double civil claimant creation * Implement noNationalId * Remove redunant boolean check * Checkpoint * Rename defendantId to clientId in DefenderInput component to make it more generic * Enable lawyer lookup * Add ability to share case files with defender * Reset lawyer when he is deleted * Remove unused code * Remove unused code * Remove unused code * Remove unused code * Remove unused code * Remove unused code * Remove unused code * Merge * Merge * Refactor DefenderInput * Clear nationalId when noNationalId is selcted * Checkpoint * Clear nationalId * Refactor DefenderInput * Fix lint * Allow clear defender * Validation * Remove console.log * Reset caseFilesSharedWithSpokesperson when advocate is set * Add tooltip * Validate name * Validate * Fix input name bug * Remove DefenderInput * Reorder imports * Remove commented out code * Validate * Fix strings * Cleanup * Cleanup * Cleanup * Cleanup * Cleanup * Use barrel file for import * Fix typo --------- Co-authored-by: unakb <[email protected]> Co-authored-by: andes-it <[email protected]>
- Loading branch information