Skip to content
Merged

I33 #71

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nh_eobs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,8 +1129,8 @@ def get_activities_for_patient(
domain = [
('patient_id', '=', patient_id),
('state', '=', 'completed'),
('date_terminated', '>=', start_date.strftime(DTF)),
('date_terminated', '<=', end_date.strftime(DTF))] \
('effective_date_terminated', '>=', start_date.strftime(DTF)),
('effective_date_terminated', '<=', end_date.strftime(DTF))] \
if activity_type \
else [('patient_id', '=', patient_id),
('state', 'not in', ['completed', 'cancelled']),
Expand Down
4 changes: 2 additions & 2 deletions nh_eobs_mobile/views/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<a t-att-href="urls['task_list']" id="taskNavItem" class="selected">Tasks</a>
</li>
<li>
<a t-att-href="urls['patient_list']" id="patientNavItem">All Patients
<a t-att-href="urls['patient_list']" id="patientNavItem">My Patients
<t t-if="notification_count and notification_count &gt; 0">
<span class="urgent-badge">
<t t-esc="notification_count"/>
Expand All @@ -53,7 +53,7 @@
</li>
<li>
<a t-att-href="urls['patient_list']" id="patientNavItem" class="selected">
All Patients
My Patients
<t t-if="notification_count and notification_count &gt; 0">
<span class="urgent-badge">
<t t-esc="notification_count"/>
Expand Down