PRODCUT bundle was created as “include item in Manufacturing” and under it 4 medicines were selected which were created as Seprate item having “maintain stock” status, but now its not showing in patient encounter, when physician is prescribing medicine.
Patient encounter----Medicine drop down menu---Product bundle not showing...how to remove filter...o
https://erp.priemclinics.com/app/patient-encounter/new-patient-encounter-1
In pt encounter, when Dr is prescribing the medicine in medication the filter at drop down menu is set for Maintain Stock=Yes,
Contrary to this Product bundle should not be marked as Stock item.
You can override that filter by a client script.
kindly guide how to do it, or should i ask developers to do this
frappe.ui.form.on('Patient Encounter', {
refresh(frm) {
frm.set_query('drug_code', 'drug_prescription', function(doc) {return {filters: {}};});
}
});