Skip to content

Add support for non-billed service unit types #279

Merged
QuanMPhm merged 1 commit intoCCI-MOC:mainfrom
jimmysway:feature-274/username-yaml
Apr 1, 2026
Merged

Add support for non-billed service unit types #279
QuanMPhm merged 1 commit intoCCI-MOC:mainfrom
jimmysway:feature-274/username-yaml

Conversation

@jimmysway
Copy link
Copy Markdown
Contributor

Add support for non-billed service unit types
Support non-billed SU types from pi.yaml
Apply credit code 0005 and zero balances for matching rows

Part 2 of #274

@jimmysway jimmysway requested review from QuanMPhm and knikolla March 10, 2026 17:26
@jimmysway jimmysway force-pushed the feature-274/username-yaml branch from ed13429 to d68c612 Compare March 18, 2026 17:20
@QuanMPhm QuanMPhm force-pushed the feature-274/username-yaml branch from d68c612 to 02da73e Compare March 27, 2026 21:49
@QuanMPhm
Copy link
Copy Markdown
Contributor

@knikolla @naved001 I have re-written this PR, since it seemed Jimmy's direction was somewhat off.

@QuanMPhm QuanMPhm requested a review from joachimweyl March 27, 2026 21:58
@QuanMPhm QuanMPhm force-pushed the feature-274/username-yaml branch from 02da73e to c1da845 Compare March 27, 2026 21:58
add_institution_processor.AddInstitutionProcessor,
lenovo_processor.LenovoProcessor,
validate_billable_pi_processor.ValidateBillablePIsProcessor,
pi_su_credit_processor.PISUCreditProcessor,
Copy link
Copy Markdown
Contributor

@QuanMPhm QuanMPhm Mar 27, 2026

Choose a reason for hiding this comment

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

@joachimweyl Please confirm that we want this credit to be applied before all other credits (New-PI credit, BU subsidy)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It should not matter as long as BU subsidy is last.

@QuanMPhm QuanMPhm requested a review from naved001 March 31, 2026 15:03
@QuanMPhm QuanMPhm force-pushed the feature-274/username-yaml branch from c1da845 to 065f80c Compare March 31, 2026 16:21
Introduced a new discount processor, PISUCreditProcessor, to handle the credit for PI-specific non-billed SU types.
The credit amount of 100% of eligible SU costs, with credit code 0005

Updated unit and e2e tests for the new YAML behavior and processor
@QuanMPhm QuanMPhm force-pushed the feature-274/username-yaml branch from 065f80c to 58d7540 Compare March 31, 2026 19:04
@QuanMPhm QuanMPhm merged commit 4029aa1 into CCI-MOC:main Apr 1, 2026
6 checks passed
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.

5 participants