Commit Graph
47 Commits
Author SHA1 Message Date
niteshandClaude Sonnet 5 811c535d99 fix(shares): persist product-default charges on submit; show real charge state; office-delete UX
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s
Two share-account charge bugs found while chasing why a share account's
entry-fee charge wasn't showing up in the "Apply Share Advance
Collection" flow:

- create-shares-account.component.ts / edit-shares-account.component.ts:
  the submit payload built charges as { chargeId: charge.id, amount }.
  A charge seeded from the product's own default template arrives as
  ShareAccountChargeData, where the real charge id lives in `chargeId`
  and `id` is null (no saved ShareAccountCharge row yet); only a charge
  picked from this step's own "Charge" dropdown (plain ChargeData) has
  it in `id`. So `charge.id` alone silently produced chargeId: undefined
  for the common case (accepting the product's own default charges),
  Angular's JSON.stringify dropped the undefined field, and the backend
  received a charge with no id to attach -- the account got created with
  zero persisted charges no matter what the product had configured.
  Verified via the actual submitted command JSON in the DB
  (charges:[{"amount":200}], chargeId missing entirely). Fixed by
  falling back to charge.chargeId || charge.id in both places.

- shares-account-charges-step.component.ts: on the "edit an existing
  account" flow, the account's real saved charges (possibly a correctly
  empty array) get patched into chargesDataSource once the shared
  currencyCode control settles, but that patch never cleared the
  `pristine` guard. ngOnChanges fires again on the same input-update
  cycle (the sibling Terms step, declared earlier in the wizard, patches
  currencyCode from its own ngOnChanges, which synchronously triggers
  this component's currencyCode subscription, and Angular then runs
  this component's own ngOnChanges right after) -- with `pristine` still
  true, that re-seeded chargesDataSource from the product's *current*
  default template, silently overwriting the real (possibly empty)
  saved state. Set pristine = false once the real charges are patched
  in, so a later ngOnChanges can't clobber it.

Also: offices.component.ts now distinguishes an office delete that
actually completed from one that was queued for checker approval
(response.rollbackTransaction, the same signal every other
maker-checker-eligible screen in this app already keys off), instead of
always claiming "Office Removed" regardless of which happened.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-08 15:18:54 +05:30
AdityaandClaude Opus 4.7 83ea57ccf0 Client-stepper: pre-fill existing KYC/address proofs in edit, fix identifier saves
Edit-mode now shows the previously selected KYC document type + uploaded file thumbnail
(loads from /clients/{id}/identifiers + /client_identifiers/{id}/documents). Same for
address proof on the India address step. Closes the gap where editing a client showed
an empty file picker even when proof had been uploaded on create.

Identifier-save hardened across all three callsites (create-client, edit-client,
identities-tab.createIdentifierWithDocs) - the KYC chip picker proofId is a CODE
string ('AADHAAR'), but backend ClientIdentifierRequest.documentTypeId is Long, which
Spring rejects with HttpMessageNotReadableException -> 400. resolveDocumentTypeId
helper looks up the code against /kyc/proof-types?type=id and substitutes the numeric
CodeValue id before posting. Skips silently for constitution-specific non-individual
docs that have no CodeValue mapping.

KYC payload normalises panNumber / enterprisePan / gstinNumber / cinNumber via
toUpperCase + whitespace strip so user-typed lowercase or trailing spaces don't trip
the backend regex (validation.msg.CLIENTKYC.panNumber.does.not.match.regexp).

State name match in client-address save now normalises both sides (lowercase, collapse
underscores + spaces) so legacy MADHYA_PRADESH resolves to 'Madhya Pradesh' returned
by api.postalpincode.in. Backed by tenant migration 0297.

Identities-tab resolver flattened - was returning identifiers before the per-row
forkJoin(getClientIdentificationDocuments) completed, so the view rendered empty
documents arrays. Now uses switchMap + forkJoin so the resolver awaits completion.

Also bundles concurrent work-in-progress on letter-mgmt, organization, users,
bank-calendar, shell, nominee/notes/identifier dialogs, and theming.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 12:40:58 +05:30
Nitesh YadavandClaude Sonnet 4.6 d367e76104 merging code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 14:26:25 +05:30
AdityaandClaude Opus 4.6 d72e969dc3 feat: Client & CKYC UI improvements — filters, KYC management, image crop+merge
- Clients list: CKYC icon, CKYC Number column, status/legal form/CKYC filters
- CKYC: SFTP upload logs, date formatting, modal z-index fix, non-dismissible dialogs
- KYC Management: new standalone module with alert dashboard, notification scheduler, audit inventory, account status
- Image cropper: ngx-image-cropper integration for front+back document merge into single PNG
- Sidebar: KYC Management menu entry after CKYC

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 13:51:11 +05:30
AdityaandClaude Opus 4.6 b890d24bb7 feat: non-individual entity UI improvements — hide individual-only sections, fix legal form display, send extended fields to API
- Hide Family Members tab/section for non-individual entities in client view, create flow, and preview
- Hide Financial & Classification section for non-individual entities in personal data and preview
- Fix legal form column in clients list — fetch legalForm from client API for correct display
- Add person/business icon before client name in list rows
- Remove unsupportedNpd filter — send authorizedSignatory, additionalInfo, dateOfRegistration to API
- Add registration number format hint (mat-hint) based on constitution type
- Add spacing between verification row and constitution type dropdowns
- Reduce table cell padding and prevent action buttons from being clipped
- Add missing MPL-2.0 license headers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 15:10:51 +05:30
Shubham KumarandGitHub fbee49b464 WEB-639: Refactor redundant boolean comparisons (#3063)
improve

improve

improve

improve
2026-01-31 07:07:59 -06:00
Shubham KumarandGitHub a07a89a5d7 chore: add MPL license headers to all source files (#2977) 2026-01-10 10:44:23 -06:00
Shubham KumarandGitHub 2649efc80c WEB-308: fix hardcoded documentation links (#2944)
fix: Add security attributes to all external documentation links

Fix:added the missing mapping in env.template.js

Removed DocumentationLinkPipe from PipesModule
2025-12-30 20:25:51 -06:00
Shubham KumarandGitHub 1d88bdac59 fix: align centers general view with dark theme styles (#2906) 2025-12-15 13:59:11 -06:00
Jose Alberto HernandezandGitHub 6df449a846 Merge pull request #2902 from JaySoni1/WEB-470-edit-button-placement-inconsistent-on-office-edit-page
WEB-470 Edit Button Placement Inconsistent on Office Edit Page
2025-12-15 13:44:24 -05:00
Soni Jay 59a329cbc7 WEB-470 Edit Button Placement Inconsistent on Office Edit Page 2025-12-15 06:26:02 +05:30
Felix van Hove 7fd1486c08 Upgrading to Angular 20:
Replaced checked in package-lock.json by regenerated one.
Ran ng update @angular/core@20 @angular/cli@20
Ran npm install @angular-builders/jest@^20.0.0 @fortawesome/angular-fontawesome@^3.0.0 @swimlane/ngx-graph@^11
Ran npm install ngx-mat-select-search@^8.0.2.
Ran ng update @angular/material@20.
Updated all eslint and typescript to the latest versions.
Removed @angular-devkit/schematics.
Updated fontawesome.
Updated rxjs and tslib.
Moved required node version from 16 to 20.
Updated jest-preset-angular.
Set preserveWhitespaces to false.
Corrected two type declarations in two typescript files to make ng serve run without errors.
Removed unused angular-devkit/schematics from view-user.component.ts .
Updated list of supported browsers.
Upgraded prettier.
Ran prettier . --write the first time.
Ran prettier . --write the second time.
Ran ng generate @angular/core:inject with defaults, excepted a handful of files.
Fixed remaining eslint problems.
Added dist directory to ignores in eslint.config.js.
Let prettier fix formatting, almost everything is just line breaks.
Made htmlhint ignore @if and @for Angular constructs.
Updated node version in Github workflow to 22.12.0 (build.yml).
Updated .env.ts.
Updated Angular datetime format strings from YYYY-MM-DD to yyyy-MM-dd.
Merged changes from dev into angular20 branch.
2025-12-08 11:01:01 +01:00
Shubham KumarandGitHub 28c8f7b9c4 improve the css of general-tab (#2721)
remove  the dupicate line of code
2025-10-27 09:31:05 -06:00
Gopi KishanandGitHub 6ee9897bd1 WEB-215 Merge angular-update-19 into dev to upgrade Angular from v18 to v19 (#2530) 2025-06-20 19:03:06 -06:00
Gopi KishanandGitHub b7c6ea857a WEB-201 Merge angular-update-18 into dev to upgrade Angular from v17 to v18 (#2513) 2025-06-13 08:19:03 -06:00
Adam Saghy 19a14e5b5b Upgrade to Angular 16
Merge `angular-update-16` into `dev` branch
2025-05-23 18:47:20 +02:00
Felix van HoveandGitHub 30e895c352 fix: make all the configuration wizards work (#2267)
Correct labels in the context of the wizards, make no wizard terminates
prematurely, make modal windows appear well positioned.

Fixes: WEB-11
2025-02-20 21:55:11 -06:00
Ralph HopmanandArnold Gálovics 34a366e6de build: Update karma versions and fix compile errors 2025-01-15 17:45:16 +01:00
Ralph HopmanandAdam Saghy cac1d11ad7 build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
2025-01-15 11:59:30 +00:00
Ralph HopmanandAdam Saghy 2ec9ba81d6 build: Use prettier for html
Stop ignoring html files in prettier and fix existing issues.
2024-12-19 09:36:50 +01:00
Ralph HopmanandAdam Saghy 31f1890051 build: Upgrade stylelint to version 16 and fix issues
Migrate upgrade stylelint from version 10 to 16 and fix all the
stylelint and prettier issues in scss files.

The following deprecated stylistic rules are no longer supported in
stylelint, and the checks are taken over by prettier:

- string-quotes
- max-empty-lines
- max-line-length
2024-11-28 13:46:48 +01:00
Jose Alberto HernandezandJose Alberto Hernandez 8fdf8fb10c Strongest password policy 2024-05-06 21:09:31 -06:00
Vikash Prem SharmaandJose Alberto Hernandez 8ac82cc6a6 Enhanced the Collapse all or Expand All button by implementing both in the same button and also fix the translation for both 2024-04-22 16:39:47 -06:00
3c625d81c4 i18n: Adding new languages: Part 2 (#1885)
Co-authored-by: radhathakare <radhathakare322@gmail.com>
2023-10-25 22:42:07 -06:00
408f004450 i18n: Adding new languages: Part 1 (#1882)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
2023-10-22 20:18:05 -06:00
80936a3ea9 Upgrade/angular 14 (#1853)
* Fix Loan product Payment Allocation

* Upgrade to Angular 14

---------

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
2023-08-29 19:51:32 -06:00
f459b1ae4e External Identifier as component with copy to clipboard (#1774)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
2023-06-28 23:19:41 -06:00
baba1c945f New view to manage the COB Catch-Up (#1691)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
2023-02-23 10:51:21 -06:00
f330e91aa4 Datatables enhacements to support products (#1641)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
2023-01-13 02:07:51 -06:00
7bbab6423e Datatable views updates for display values with format (#1603)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
2022-12-19 23:09:09 -06:00
Jose Alberto Hernandez 7d8c94698a Office hierarchy view as tree 2022-11-25 14:31:58 -06:00
Jose Alberto Hernandez 7a3502abab Chargeback Loan Transaction 2022-10-01 20:16:14 -05:00
RamveerandGitHub f1be9ab5b1 feat: tour integration
Tour Integration
2022-09-02 17:03:13 +05:30
Jose Alberto HernandezandArnold Gálovics dce82fa92d Enhancements for datatables datetime fields 2022-08-03 15:56:09 +02:00
Jose Alberto HernandezandArnold Gálovics a4b266080b Datepickers using max date with business date 2022-07-28 17:06:39 +02:00
Jose Alberto Hernandez 5eeaed3ee9 Move out DatePipe to use in one place Dates 2022-06-29 14:34:01 -05:00
Jose Alberto Hernandez 9bf535da18 UI is broken in dates parsing in Safari 2022-06-22 15:33:50 -05:00
RamveerandGitHub e41f12c6aa Date Picker Enhancement (#1435) 2022-06-13 16:10:08 +05:30
Jose Alberto HernandezandArnold Gálovics 6ea3d97538 Format date fields without patch form 2022-06-10 10:34:19 +02:00
Benura AbeywardenaandGitHub 5f90bc00bd refactor (df/locale): organization module (#1268)
See: #1213
2020-11-12 19:36:37 +05:30
Karan TakalkarandGitHub 3e21227056 build: update to angular-v9.1.12 (#1215)
Fixes: #1216
2020-08-23 14:21:17 +05:30
Karan TakalkarandGitHub 199a8b6c9c feat: initialize language and date-format settings (#1214)
See: #1213
2020-08-16 20:08:28 +05:30
Karan TakalkarandGitHub 048a3dd951 refactor: organization module (#1203)
See: #1196
2020-08-14 19:05:26 +05:30
Karan TakalkarandGitHub 9313c92af4 feat: add view office page (#828)
Fixes: #635
2020-05-31 23:02:07 +05:30
Benura AbeywardenaandGitHub 7dbb24623b feat: add edit office component (#664) (#664)
Fixes: #662
2020-05-13 01:20:15 +05:30
Rishabh VermaandAbhay Chawla 0991df4b18 feat: add create offices component (#525)
Fixes: #147
2019-12-31 00:33:01 +03:00
pwaiandAbhay Chawla e87a247254 feat: add offices component (#498)
Fixes: #148
2019-12-08 00:51:18 +03:00