diff --git a/README.md b/README.md index 014ca43ac..c719ec9f7 100644 --- a/README.md +++ b/README.md @@ -85,15 +85,15 @@ docker compose up -d # Wait for the database migrations to complete for the API and Caluma. make caluma-loadconfig # upload the templates to DMS -docker compose run --rm api python manage.py upload_template -t mysagw/identity/templates/identity-labels.docx -docker compose run --rm api python manage.py upload_template -t mysagw/accounting/templates/accounting-cover.docx -docker compose run --rm api python manage.py upload_template -t mysagw/case/templates/acknowledgement-de.docx -docker compose run --rm api python manage.py upload_template -t mysagw/case/templates/acknowledgement-fr.docx -docker compose run --rm api python manage.py upload_template -t mysagw/case/templates/acknowledgement-en.docx -docker compose run --rm api python manage.py upload_template -t mysagw/case/templates/credit-approval-de.docx -docker compose run --rm api python manage.py upload_template -t mysagw/case/templates/credit-approval-fr.docx -docker compose run --rm api python manage.py upload_template -t mysagw/case/templates/credit-approval-en.docx -docker compose run --rm api python manage.py upload_template -t mysagw/case/templates/application.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/identity/templates/identity-labels.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/accounting/templates/accounting-cover.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/case/templates/acknowledgement-de.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/case/templates/acknowledgement-fr.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/case/templates/acknowledgement-en.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/case/templates/credit-approval-de.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/case/templates/credit-approval-fr.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/case/templates/credit-approval-en.docx +docker compose run --rm api poetry run ./manage.py upload_template -t mysagw/case/templates/application.docx ``` ## Contributing diff --git a/api/mysagw/case/templates/application.docx b/api/mysagw/case/templates/application.docx index 1d1e06870..559bbd10d 100644 Binary files a/api/mysagw/case/templates/application.docx and b/api/mysagw/case/templates/application.docx differ diff --git a/caluma/Dockerfile b/caluma/Dockerfile index 775de929f..a267822de 100644 --- a/caluma/Dockerfile +++ b/caluma/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/projectcaluma/caluma:9.3.2 +FROM ghcr.io/projectcaluma/caluma:10.1.0 ENV PATH="${HOME}/.local/bin:${PATH}" diff --git a/docker-compose.yml b/docker-compose.yml index 863ca9357..133af4270 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: - db caluma: - image: ghcr.io/projectcaluma/caluma:9.3.2 + image: ghcr.io/projectcaluma/caluma:10.1.0 build: context: caluma environment: diff --git a/ember/app/services/case-data.js b/ember/app/services/case-data.js index d1685c6ff..d1261aa49 100644 --- a/ember/app/services/case-data.js +++ b/ember/app/services/case-data.js @@ -19,7 +19,7 @@ export default class CaseDataService extends Service { const caseEdges = yield this.apollo.query( { query: getCaseQuery, - variables: { filter: [{ id: caseId }] }, + variables: { filter: [{ ids: [caseId] }] }, fetchPolicy: "network-only", }, "allCases.edges" diff --git a/ember/app/ui/cases/detail/index/controller.js b/ember/app/ui/cases/detail/index/controller.js index 1438e46e4..a156a02ac 100644 --- a/ember/app/ui/cases/detail/index/controller.js +++ b/ember/app/ui/cases/detail/index/controller.js @@ -284,7 +284,7 @@ export default class CasesDetailIndexController extends Controller { const caseEdges = yield this.apollo.query( { query: getCaseQuery, - variables: { filter: [{ id: this.model.id }] }, + variables: { filter: [{ ids: [this.model.id] }] }, }, "allCases.edges" );