Merge branch 'master' into docs-census-configuration

This commit is contained in:
Raimond Garcia
2019-07-30 12:36:22 +02:00
committed by GitHub
32 changed files with 265 additions and 0 deletions

View File

@@ -4,3 +4,4 @@
* [GraphQL](graphql.md)
* [Recommendations](recommendations.md)
* [Configure Census Conexion](census_configuration.md)
* [Local Census](local_census.md)

View File

@@ -0,0 +1,30 @@
##Local Census
To provide to administrator users a way to manage the local census database through the administration panel **Settings > Manage local census**. Currently the only way to manipulate this table records is through the rails console.
Allow adiministrators users to manage this table in two different ways:
- **Manually**: one by one through a CRUD interface.
- **Automatically**: through an importation process.
#### Manually
Provide a way to manage local census records to administrator users through administration interface.
- Local Census Page
![Manage local census](../../img/local_census/manage-local-census-en.png)
- Add new record
![Create local census record](../../img/local_census/add-local-census-record-en.png)
Features:
1. Search by document_number: As local_census_records could contain a lot of records we have added a search feature to allow administrators to find existing records by document_number.
1. Avoid the introduction of duplicated records: A model validation has been added to the following attributes pair [:document_number, :document_type]
#### Automatically
Allow administrator users to import local census records though CSV file.
- Local Census Page
![Manage local census csv](../../img/local_census/manage-local-census-csv-en.png)
- Import CSV
![Create local census records csv](../../img/local_census/add-local-census-records-csv-en.png)