Skip to content
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

feat(rest): Add endpoint to handle updation of clearing requests. #2480

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sameed20
Copy link
Contributor

@sameed20 sameed20 commented Jun 4, 2024

Description

This endpoint is to update a clearing request using id.
cr_endpoint

Closes: #2464
Closes: #2523

@sameed20 sameed20 force-pushed the feat/update-clearing-request-endpoint-2464 branch from 0a1fad6 to e7bc3fe Compare June 4, 2024 05:25
@GMishx GMishx added needs code review needs general test This is general testing, meaning that there is no org specific issue to check for New-UI Level for the API and UI level changes for the new-ui labels Jul 4, 2024
Copy link
Contributor

@GMishx GMishx left a comment

Choose a reason for hiding this comment

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

Minor changes needed.

@sameed20 sameed20 force-pushed the feat/update-clearing-request-endpoint-2464 branch from e7bc3fe to 23dff51 Compare July 4, 2024 12:13
Copy link
Contributor

@GMishx GMishx left a comment

Choose a reason for hiding this comment

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

Changes looks good.

@nikkuma7
Copy link

nikkuma7 commented Jul 5, 2024

Test Successful.

image

@GMishx GMishx added ready ready to merge and removed needs general test This is general testing, meaning that there is no org specific issue to check for labels Jul 24, 2024
@sameed20 sameed20 force-pushed the feat/update-clearing-request-endpoint-2464 branch from 23dff51 to 95a7408 Compare July 31, 2024 10:20
@akshitjoshii
Copy link
Contributor

Test successful after rebasing it latest main.
image

@amritkv
Copy link

amritkv commented Aug 13, 2024

Hi @sameed20 & @akshitjoshii !

The update CR is accepting only preferredClearingDate in the body. But as per UI is should accept agreedClearingDate. And moreover on update a CR with preferredClearingDate, the db is not reflecting the changes.
Can you please cross check this issue ?

UI Screen :

image

Postman API Response :

image

DB is not reflecting the changes in preferredClearingDate :

image

@GMishx GMishx added needs general test This is general testing, meaning that there is no org specific issue to check for and removed ready ready to merge labels Aug 16, 2024
@sameed20 sameed20 force-pushed the feat/update-clearing-request-endpoint-2464 branch 3 times, most recently from df95be9 to 186c255 Compare August 16, 2024 19:22
@amritkv
Copy link

amritkv commented Aug 17, 2024

preferredClearingDate

Hi @sameed20 !
Now It is accepting the agreedClearingDate.
But, still the preferredClearingDate is not reflecting in DB although the api response to update the DB with preferredClearingDate is 200 OK.

@sameed20
Copy link
Contributor Author

preferredClearingDate

Hi @sameed20 ! Now It is accepting the agreedClearingDate. But, still the preferredClearingDate is not reflecting in DB although the api response to update the DB with preferredClearingDate is 200 OK.

Hi @amritkv
As we discussed previously that the value of preferredClearingDate cannot be set less than it's current value and can only be updated by the user who has created that CR.

Signed-off-by: sameed.ahmad <sameed.ahmad@siemens-healthineers.com>
@sameed20 sameed20 force-pushed the feat/update-clearing-request-endpoint-2464 branch from 186c255 to f7becfc Compare September 18, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs general test This is general testing, meaning that there is no org specific issue to check for New-UI Level for the API and UI level changes for the new-ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need Edit Clearing Request rest api Create new endpoint for updating a clearing request
5 participants