Skip to content

Punchout Close Session button #20155

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

Merged
merged 10 commits into from
Apr 10, 2025
Merged

Conversation

FollowTheFlo
Copy link
Contributor

@FollowTheFlo FollowTheFlo commented Apr 7, 2025

added styling.
Close Session btn
scenario on EDIT punchout mode, we want to revert cart modification:

  • when session starts, Requisition is fetched from server, cxml containing initial cart info is stored in Punchout State
  • user clicks 'close session' -> we send this 'cxml containing initial cart' info to ARIBA

@FollowTheFlo FollowTheFlo requested a review from a team as a code owner April 7, 2025 21:39
);

clickCloseSessionButton(): void {
this.punchoutFacade.closePunchoutSession().subscribe();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this obs runs only once, no need to unsubscribe afterwards.

Copy link
Contributor

@rmch91 rmch91 left a comment

Choose a reason for hiding this comment

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

LGTM

@FollowTheFlo FollowTheFlo merged commit b29f730 into epic/punchout Apr 10, 2025
11 checks passed
@FollowTheFlo FollowTheFlo deleted the feature/CXSPA-9779_v2 branch April 10, 2025 15:09
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.

2 participants