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

OBPIH-2977 Fix expiration date display on packing list and receive pages #1727

Closed
wants to merge 1 commit into from

Conversation

dbienkowska
Copy link
Collaborator

No description provided.

@@ -143,7 +143,7 @@ class ReceiptService {
partialReceiptItem.binLocation = binLocation
}
partialReceiptItem.lotNumber = shipmentItem.inventoryItem?.lotNumber
partialReceiptItem.expirationDate = shipmentItem.inventoryItem?.expirationDate
partialReceiptItem.expirationDate = shipmentItem.requisitionItem?.expirationDate ?: shipmentItem.inventoryItem?.expirationDate
Copy link
Member

Choose a reason for hiding this comment

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

This is not how I would expect this to work. I think if we're storing expiration date on the requisition item it would be temporarily for that page. But the value should actually be set on the inventory item. I need to discuss with Kelsey though because we may not want to override the expiry date but instead create a new inventory item.

@jmiranda jmiranda added the warn: do not merge Marks a pull request that is not yet ready to be merged label Jun 17, 2020
@jmiranda
Copy link
Member

Ticket was closed in October 2020 so closing PR as abandoned.
https://pihemr.atlassian.net/browse/OBPIH-2977

@jmiranda jmiranda closed this Apr 28, 2021
@awalkowiak awalkowiak deleted the OBPIH-2977 branch May 17, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
warn: do not merge Marks a pull request that is not yet ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants