Skip to content

bugfix/AB#29259-declining-required-amount#2143

Merged
JamesPasta merged 3 commits into
devfrom
bugfix/AB#29259-declining-requiring-amount
Mar 24, 2026
Merged

bugfix/AB#29259-declining-required-amount#2143
JamesPasta merged 3 commits into
devfrom
bugfix/AB#29259-declining-requiring-amount

Conversation

@DavidBrightBcGov
Copy link
Copy Markdown
Contributor

AB#29259

Unable to reproduce bug, however found 'ApprovedAmount' was not being properly error checked for null. Also now permit zeros in the RequestedAmount, TotalProjectBudget, RecommendedAmount and RecommendedAmount

Unable to reproduce bug, however found 'ApprovedAmount' was not being properly error checked for null. Also now permit zeros in the RequestedAmount, TotalProjectBudget, RecommendedAmount and RecommendedAmount
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes Assessment Results currency field handling by aligning the Approved Amount field name with the Approval view model and updating currency masking to accept zero values.

Changes:

  • Updated the currency-field name list to treat ApprovalView.ApprovedAmount as a currency/number field.
  • Updated maskMoney initialization for .unity-currency-input to allow zero values.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
applications/Unity.GrantManager/src/Unity.GrantManager.Web/Views/Shared/Components/AssessmentResults/Default.js Updates currency field detection for Approved Amount (now under ApprovalView).
applications/Unity.GrantManager/src/Unity.GrantManager.Web/Views/Shared/Components/AssessmentResults/Default.cshtml Changes currency input masking options to allow zero values.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 561
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@DavidBrightBcGov DavidBrightBcGov marked this pull request as draft March 18, 2026 16:50
Consistency being applied to maskMoney and removing extra check as-per copilot
@DavidBrightBcGov DavidBrightBcGov marked this pull request as ready for review March 18, 2026 21:36
@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 561
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@JamesPasta JamesPasta merged commit 353fbbf into dev Mar 24, 2026
22 checks passed
@JamesPasta JamesPasta deleted the bugfix/AB#29259-declining-requiring-amount branch March 24, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants