Aman-Mittal opened a new issue, #293: URL: https://github.com/apache/fineract-backoffice-ui/issues/293
Part of #288. Depends on #289 — wait for it to merge. ## Business value `share-product-form.component.ts:282` and `:309` hardcode `accountingRule: 1`. Share capital is equity, and for a cooperative or credit union it is the members' stake in the institution — the single most scrutinised line on the balance sheet. Share purchases and redemptions currently post nothing. Smallest of the five product families, so a good place to start if the loan one looks daunting. ## What to build Using the components from #289, the share mapping set — share reference, share suspense control, and income from fees. Confirm the exact slots against the share product template response on a live instance (`npm run e2e:stack`); shares use a smaller set than loans or savings and the equity treatment differs. Note that share products support **cash accounting only** in the platform. If that holds when you check, the rule selector here should offer `None` and `Cash` and nothing else — offering accrual options the platform will reject is worse than not offering them. ## Testing - **Unit spec:** submitted body carries the share mapping keys; loading a configured product populates them. - **Unit spec:** the rule selector offers only the values the platform accepts for share products. - **Mocked e2e:** intercept the `POST` and assert the body. ## Scope In scope: share product mappings, create and edit. Out of scope: share *account* servicing, which is a much larger gap — see #265. Dividend posting. ## Getting started - `src/app/features/products/shares/share-product-form.component.ts` - Shared components from #289 - `npm test`, `npm run lint:prune`, `npm run i18n:check`, `npm run build` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
