Skip to content

Comments

Alisha : (fix) inventory type edit delete actions#4826

Open
alishawalunj wants to merge 4 commits intodevelopmentfrom
alisha/fix/inventory-type-edit-delete-actions
Open

Alisha : (fix) inventory type edit delete actions#4826
alishawalunj wants to merge 4 commits intodevelopmentfrom
alisha/fix/inventory-type-edit-delete-actions

Conversation

@alishawalunj
Copy link
Contributor

Description

935004A7-AB95-4469-88CC-0283D081CD0D

Related PRS (if any):

This frontend PR is related to the #2043 backend PR.

Main changes explained:

  • Updated file invTypeActions.js with functions deleteInvTypeById and updateInvTypeById.
  • Updated file TableTypes to display pop up for delete and edit action.
  • Updated TableRow component to pass triggered function call(Edit/Delete).
  • Configured backend api's in URL file

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. go to http://localhost:5173/bmdashboard/inventorytypes
  6. verify Delete & Edit action for all inventory types (Materials, consumables, equipments, tools, reusables) as shown below.
  7. verify toast notification on every action.

Screenshots or videos of changes:

REC-20260211135928.mp4

Note:

Deletion of Unit of Measurement is not allowed, as these values are defined as hardcoded entries in the backend rather than being stored in the database.

@netlify
Copy link

netlify bot commented Feb 12, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 55e21d7
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/698d1ed1f586740008779409
😎 Deploy Preview https://deploy-preview-4826--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link

@alishawalunj alishawalunj changed the title Alisha/fix/inventory type edit delete actions Alisha : (fix) inventory type edit delete actions Feb 12, 2026
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.

1 participant