Skip to content
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

Dynamic report filter #32

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
5d2c0e3
matierialized view update
benzerbett Oct 27, 2021
9935941
chul updates approval - error fix
benzerbett Nov 9, 2021
27c07d4
cleanup facility_filters code, started KHIS-Tracker sync feature (WiP)
benzerbett Jan 5, 2022
5a40f5a
revert tracker sync
benzerbett Jan 5, 2022
379310b
Create dev_requirements.txt
benzerbett Jan 14, 2022
f34cbad
add satellite blood bank to khis facility type mapping
SteveWaweru Feb 7, 2022
a1afaaa
get facility keph level count
abdimoha-dev Jun 2, 2022
1889501
Merge pull request #1 from uonafya/ft-reports-data
abdimoha-dev Jun 2, 2022
67735aa
keph level bug fixes
abdimoha-dev Jun 2, 2022
c50d85a
code cleaup
abdimoha-dev Jun 2, 2022
ca5d5c5
Merge pull request #2 from uonafya/ft-reports-data
abdimoha-dev Jun 2, 2022
c52244a
fix keph level bug
abdimoha-dev Jun 2, 2022
505445e
code cleanup
abdimoha-dev Jun 2, 2022
dca5049
code cleanup
abdimoha-dev Jun 2, 2022
2b900ac
bed count per county
abdimoha-dev Jun 2, 2022
ecf0834
fetch bed per county
abdimoha-dev Jun 3, 2022
05eecfc
changed the format of result given
KorirC Jun 6, 2022
240aaec
user creation
KorirC Sep 11, 2022
67cc382
Create dev_requirements.txt
benzerbett Jan 14, 2022
3f8f6cf
add satellite blood bank to khis facility type mapping
SteveWaweru Feb 7, 2022
e1cc810
Modify: requirements.txt and config/settings/base.py
ertush May 17, 2022
eef575e
updated config/settings/base.py to match mfl_api_testing credentials
ertush Sep 11, 2022
3141465
modified config/settings/base.py
ertush Sep 13, 2022
97300c4
added support for infrastructure and infrastructure_category fields i…
ertush Oct 31, 2022
7f69048
added speciality and speciality category in the filter api
ertush Nov 1, 2022
2e3d9ab
Modified chul/views.py
ertush Dec 5, 2022
3b64f13
working in progress:line 236: facilities/views/facility_views.py
ertush Dec 9, 2022
f4ebf41
modified chus to accept basic_details update and facility_serializers.py
ertush Dec 14, 2022
f641712
modified facility_models.py by updating facility_infrastructure and f…
ertush Dec 28, 2022
b96446b
Merge pull request #3 from uonafya/fx-facility-models
ertush Dec 30, 2022
be2d065
updated config/settings/base.py
ertush Dec 30, 2022
ce4e0b7
Merge pull request #4 from uonafya/fx-config-settings
ertush Dec 30, 2022
212b899
modified facility_reports.py to support report_type filter by beds_an…
ertush Jan 3, 2023
29457de
Merge pull request #5 from uonafya/fx-facility-reports
ertush Jan 3, 2023
cf85fed
Fixed service_filter and added hr_filter, infrastructure_filter funct…
ertush Jan 16, 2023
408f3dd
Merge pull request #6 from uonafya/fx-facility-filters
ertush Jan 16, 2023
f461900
Fixed service_filter and added hr_filter, infrastructure_filter funct…
ertush Jan 16, 2023
e6cd08e
Restored reporting/facility_reports.py
ertush Jan 16, 2023
6b0fefe
Merge pull request #7 from uonafya/fx-facility-filters
ertush Jan 16, 2023
1882cb6
Fixed a bug in update_facility function of facility_models.py
ertush Jan 25, 2023
62c0700
Merge pull request #8 from uonafya/fx-facility-models
ertush Jan 25, 2023
0158a0a
updated kmhfl_dhis2_ownership_mapping in facilities/models/facility_m…
ertush Feb 4, 2023
9f5a8a7
updated kmhfl_dhis2_ownership_mapping in facilities/models/facility_m…
ertush Feb 4, 2023
4bb462e
Merge pull request #9 from uonafya/dev
ertush Feb 5, 2023
02f7c23
Modified facilities/utils.py; line 287
ertush Feb 7, 2023
f920154
added MEDICAL_CLINIC mapping to kmhfl_dhis2_facility_type_mapping in …
ertush Feb 22, 2023
1997d63
modified facilities dashboard to support filtering by sub_county and …
ertush Feb 28, 2023
f7c5c3c
Merge pull request #10 from uonafya/dev
ertush Feb 28, 2023
423b0c9
Added fiedl number_of_inpatient_beds in class Facility of facilities…
ertush Mar 2, 2023
6bd649f
Merge pull request #11 from uonafya/dev
ertush Mar 2, 2023
3f84be2
CHUL Endpoint Fix
Atieno-Ouma Mar 22, 2023
14c999e
Add CU summary dashboard
Atieno-Ouma Mar 29, 2023
2056d49
Facilty status summary
Atieno-Ouma Apr 3, 2023
bd9dba6
Rejected at Validation&Approval endpoint
Atieno-Ouma Apr 5, 2023
ee6ae5a
Dynamic Reports Filter
Atieno-Ouma May 15, 2023
41d22af
Dynamic Reports Filter
Atieno-Ouma May 16, 2023
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
Prev Previous commit
Next Next commit
modified config/settings/base.py
ertush committed Sep 13, 2022
commit 3141465db7d9c14c93adb3c40393a18c2cde8b75
12 changes: 6 additions & 6 deletions config/settings/base.py
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
# Override in production via env

env = environ.Env(
DATABASE_URL=(str, 'postgres://mfl:mfl@localhost:5432/mfl'),
DATABASE_URL=(str, 'postgres://mfl:mfl@localhost:5433/mfl'),
DEBUG=(bool, True),
FRONTEND_URL=(str, "http://localhost:8062"),
REALTIME_INDEX=(bool, False),
@@ -43,11 +43,11 @@
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'HOST': ENV_DB['HOST'],
'NAME': ENV_DB['NAME'],
'PASSWORD': ENV_DB['PASSWORD'],
'PORT': ENV_DB['PORT'],
'USER': ENV_DB['USER'],
'HOST': '127.0.0.1',
'NAME': 'mfl',
'PASSWORD': 'mfl@pa55w0rd',
'PORT': '5433',
'USER': 'mfladmin',
}
} # Env should have DATABASE_URL
MIDDLEWARE = (