-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Int b 22633 #14929
Open
antgmann
wants to merge
33
commits into
integrationTesting
Choose a base branch
from
INT-B-22633
base: integrationTesting
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Int b 22633 #14929
+590
−46
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…com/mymove into B-21423-Prime-Int-SIT-Service-Item
B-21322 TPPS ECS Scheduled Task - MAIN
…upload_status_per_s3_events Main b 21669 doc viewer file upload status per s3 events
…-Item B 21423 prime int sit service item
MAIN B-22769
ryan-mchugh
reviewed
Mar 4, 2025
}); | ||
|
||
it('shows submit and view/edit buttons/links for statuses it should', async () => { | ||
useMoveDetailsQueries.mockReturnValue(submittedPPMShipmentQuery); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add PPMs with statuses of DRAFT
and NEEDS_ADVANCE_APPROVAL
as well?
ryan-mchugh
reviewed
Mar 4, 2025
describe('ppm specific statuses for service counselor', () => { | ||
// PPM Shipments should show the edit button on shipments where PPM Shipment status is DRAFT, SUBMITTED, or NEEDS_ADVANCE_APPROVAL | ||
it('hides submit and view/edit buttons/links for statuses it should', async () => { | ||
useMoveDetailsQueries.mockReturnValue(ppmShipmentQueryNoHHG); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to check the WAITING_ON_CUSTOMER
status
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
B-22633
Summary
This PR takes the first steps towards allowing a SC to create a PPM Shipment at any point in the move. Firstly, when they create a PPM, it needs to automatically configure to the "Waiting on Customer" status.
This PR achieves this by, when creating the data for a PPM, if the signed in user contains the SC role, they will automatically certify their approval of the PPM and set the shipment status to "Waiting on Customer". At this point, they will no longer be able to edit the shipment.
Due to the nature of this change, SC's will now have a warning appear whenever creating a PPM Shipment that alerts them to this. Additionally, on the move details page, the "Edit shipment" button for PPM shipments is now appearing based on ppm shipment status rather than move status.
Testing changes include coverage for the edit shipment button changes, the appearance of the warning, the status change when an SC creates a PPM on the backend, and additional testing to add app context roles to certain handlers that hit the service where the role check is occuring.
Verification Steps for the Author
These are to be checked by the author.
Verification Steps for Reviewers
These are to be checked by a reviewer.
How to test
Frontend
officeApp
class or custommin-width
styling is used to hide any states the would not be visible to the user.Backend
Screenshots