-
Notifications
You must be signed in to change notification settings - Fork 28
5535 Exclude requisition made from web entries in mSupply #5536
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
Changes from all commits
cd1613a
e449cd3
857a7a4
2b86ea8
fa90f60
1a53892
5e5303f
65586bd
68bb0b7
6b42e6d
676ce31
a4a0253
5a49276
cf0c560
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -631,6 +631,7 @@ Transaction.schema = { | |
mode: { type: 'string', default: 'store' }, | ||
prescriber: { type: 'Prescriber', optional: true }, | ||
linkedRequisition: { type: 'Requisition', optional: true }, | ||
pendingRequisitionId: { type: 'string', optional: true, indexed: true }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bro got LLM'd? I can't find an There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a real property of realm js schema. https://www.mongodb.com/docs/realm-sdks/js/latest/types/Realm.PropertySchema.html. Agree that it hadn't been used before (maybe cause in the lower version before Mongodb owned Realm)? Although I was searching using LLMs for field indexing in the realm (to make realm query quicker for processing huge requisitions like some of our clients have Fiji, Png, CIV, etc) I had literally looked around their official docs to make sure that its not an LLM hallucination until I found that docs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Are we having performance issues on mobile ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Heh yea I think I wasn't going deep enough couldn't find it in here which is where my initial googling took me, https://www.mongodb.com/docs/atlas/device-sdks/sdk/react-native/. Well I did end up first on some ancient version of the type docs you found like v0.7... thought it looked odd, the OG realm docs were much cleaner than any incarnation that MongoDB has created since 🙄 especially when they're trying to stuff this new Atlas thing down people's throats but have since deprecated it lol. That said just found it in the proper docs! Not sure how I missed it before, though even if you search for it you get results mostly for their PHP Library first haha There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I haven't caught that so far but I basically used |
||
subtotal: { type: 'double', optional: true }, | ||
outstanding: { type: 'double', optional: true }, | ||
insurancePolicy: { type: 'InsurancePolicy', optional: true }, | ||
|
Uh oh!
There was an error while loading. Please reload this page.