Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit ff59ad7

Browse files
committed
Don't display doctors from other clients in AR Add
Dependencies: senaite/senaite.core#1014 In AR Add form, do not display doctors from other client than the one selected, but include those that do not have any client assigned
1 parent fd227fa commit ff59ad7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bika/health/static/js/bika.health.analysisrequest.add.js

+6
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,12 @@ function HealthAnalysisRequestAddView() {
298298
if (element.length > 0) {
299299
filter_combogrid(element[0], "getParentUID", clientuid);
300300
}
301+
302+
// Doctor searches
303+
element = $("#Doctor-" + col);
304+
if (element.length > 0) {
305+
filter_combogrid(element[0], "getPrimaryReferrerUID", [clientuid, null]);
306+
}
301307
}
302308
}
303309

0 commit comments

Comments
 (0)