Skip to content

fix: Enable allow purchase in medication item#945

Open
Irfan778899 wants to merge 3 commits intoearthians:version-16-hotfixfrom
Irfan778899:fix_enable_allow_purchase_in_medication_item
Open

fix: Enable allow purchase in medication item#945
Irfan778899 wants to merge 3 commits intoearthians:version-16-hotfixfrom
Irfan778899:fix_enable_allow_purchase_in_medication_item

Conversation

@Irfan778899
Copy link
Copy Markdown
Contributor

No description provided.

@Irfan778899 Irfan778899 force-pushed the fix_enable_allow_purchase_in_medication_item branch from 2e611b7 to 9d6d121 Compare March 6, 2026 12:53
@akurungadam
Copy link
Copy Markdown
Member

@Irfan778899 it's better if we bring those check fields in the linked_item table - so user can enable / disable rather than silently doing this. could you please update this or open a new pr?

@Sajinsr Sajinsr force-pushed the version-16-hotfix branch from 17c9385 to 4106236 Compare March 10, 2026 18:53
@Irfan778899
Copy link
Copy Markdown
Contributor Author

@akurungadam I think if a pharmacy is attached to a hospital, medicines will usually be both purchased and sold. Asking the user to manually check Allow Purchase, Allow Sales, and Maintain Stock each time while adding a medication might not be convenient and user friendly. So it might be better if these options are auto-checked by default in the linked item when a medication is added as it is now.

@Sajinsr Sajinsr force-pushed the version-16-hotfix branch from 79867d5 to b1c908b Compare March 17, 2026 10:17
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.

3 participants