Skip to content

OBPIH-6232 hyperlink to source edit and stockcard on sources list page#4532

Merged
awalkowiak merged 3 commits intofeature/product-supplier-list-redesignfrom
OBPIH-6232-hyperlink-to-source-edit-and-stockcard-on-sources-list-page
Mar 6, 2024
Merged

OBPIH-6232 hyperlink to source edit and stockcard on sources list page#4532
awalkowiak merged 3 commits intofeature/product-supplier-list-redesignfrom
OBPIH-6232-hyperlink-to-source-edit-and-stockcard-on-sources-list-page

Conversation

@drodzewicz
Copy link
Collaborator

No description provided.

showStockCard: (id, params = {}) => stringifyUrl({
url: `${INVENTORY_ITEM_URL.base}/showStockCard/${id}`,
query: { activeTab: params?.activeTab },
}),
Copy link
Collaborator

@kchelstowski kchelstowski Mar 5, 2024

Choose a reason for hiding this comment

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

if we allow params to be passed, shouldn't we do the spread inside query to handle other params that might be included somewhere and if we forgot to include them explicitly inside the query

 query: { ...params, activeTab: params?.activeTab },

@drodzewicz drodzewicz force-pushed the OBPIH-6232-hyperlink-to-source-edit-and-stockcard-on-sources-list-page branch from 6732161 to 124a222 Compare March 5, 2024 14:20
@awalkowiak awalkowiak merged commit fee1ef3 into feature/product-supplier-list-redesign Mar 6, 2024
@awalkowiak awalkowiak deleted the OBPIH-6232-hyperlink-to-source-edit-and-stockcard-on-sources-list-page branch March 6, 2024 09:44
awalkowiak pushed a commit that referenced this pull request Mar 12, 2024
#4532)

* OBPIH-6232 Added hyperlink to source edit page on product source code

* OBPIH-6232 open product stockcard in a new tab

* OBPIH-6232 open stock card page with specified tab open
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.

4 participants