Skip to content

SaiKrishna Approve And Reject Functionality#2055

Merged
one-community merged 1 commit intodevelopmentfrom
SaiKrishna_ApproveAndRejectFunctionalityInConsumablesBackEnd
Feb 20, 2026
Merged

SaiKrishna Approve And Reject Functionality#2055
one-community merged 1 commit intodevelopmentfrom
SaiKrishna_ApproveAndRejectFunctionalityInConsumablesBackEnd

Conversation

@saikrishnaraoyadagiri
Copy link
Contributor

@saikrishnaraoyadagiri saikrishnaraoyadagiri commented Feb 18, 2026

image

Related PRS (if any):

To test this backend PR you need to checkout the 4858 frontend PR.

Main changes explained:

Update src/controllers/bmdashboard/bmConsumableController.js for adding the bmUpdateConsumablePurchaseStatus handler
Update src/routes/bmdashboard/bmConsumablesRouter.js for registering the new POST /updateConsumableStatus route

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. Follow the steps in the frontend PR to test this backend PR directly in the UI

Screenshots or videos of changes:

ApproveAndRejectButtonsInConsumables.mp4

Copy link

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

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

Hi Sai Krishna,

I have reviewed your PR locally and the backend API's work as per requirement.

Image Image Image Image

Copy link

@HemanthNidamanuru HemanthNidamanuru left a comment

Choose a reason for hiding this comment

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

Hi Sai Krishna,

I have reviewed your PR locally and verified the functionality as per the requirements. The approve and reject actions are working correctly, and the status updates properly to Approved and Rejected.

Everything is functioning as expected.

Image Image Image Image

@saikrishnaraoyadagiri saikrishnaraoyadagiri changed the title SaiKrishna_ApproveAndRejectFunctionalityInConsumables SaiKrishna Approve And Reject Functionality Feb 20, 2026
@one-community
Copy link
Member

Thank you all, merging!

@one-community one-community merged commit 5dd7ae0 into development Feb 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments