bcgov / bcgov/entity

Update par value and #shares parameters

Open
#3,837 9 comments 0 reactions 4 assignees Claimed by @mstanton1 View on GitHub
enhancement Entities Team STORY UX Assurance
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Re-groom to include requirements 3 & 4, and edit UI updates

**UI/DESIGN UPDATE**

- Users need to be able to input up to the max values listed below and have them appear in all UIs and Outputs that contain the Share Structure Table
- Current column widths in UI and Outputs may need to be widened slightly as needed
- Columns should have its content left or right justified according to the design comps below

**UI Design Comp Example:**
https://invis.io/W6Z32PV7KUX
image.png
image.png

**PDF Output Design Comp Example:**
Benefit Corp Inc Application with Share Structure table showing max values:
https://invis.io/3MZ0T0MYADT#/432320238_Benefit_-_Inc_App_-_Share_Structure_ORIGINAL
image.png

**Requirements:**
1) Par value of shares/series = max char length should be 38 and includes 20 decimal digits
2) Number of shares/series = max char length should be 20 and includes 5 decimal digits
3) If a user types "1", it should display as currency, using a minimum of 2 decimals for all currencies that use cents. So it should display as "1.00" **(might be done, verify)**
4) For currencies that use the dollar symbol, we should show the "$" (USD, CDN, AUD). Do not show "$" (or any other symbol) for currencies that do not use the dollar symbol (ie, if user types "1" or "1.00" and selects CAD, it should appear as "$1.00")

Front end: Need to update UI
Backend: update schema
Outputs: update IA and NoA outputs

#### Scenario 1: Par value of shares
**GIVEN** I am on Step 3
**WHEN** I am adding the par value of my shares
**THEN** I can enter a value up to 38 characters long including up to 20 decimal digits

#### Scenario 2: Par value of series
**GIVEN** I have added a share class that has a par value with up to 38 characters
**WHEN** I am adding add series
**THEN** the par value field will display the full length of the value attached to the share class

#### Scenario 3: Number of shares
**GIVEN** I am on Step 3
**WHEN** I am adding the number of shares in a share class
**THEN** I can enter a value 20 characters long including up to 5 decimal digits

#### Scenario 4: Number of shares in a series
**GIVEN** I am creating a series of shares
**WHEN** I am adding the number of shares in a share series
**THEN** I can enter a value 20 characters long including up to 5 decimal digits

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.