From 0e201911d516d163f3ba2c0eb848d9122e85834c Mon Sep 17 00:00:00 2001 From: Shaanjot Gill Date: Thu, 24 Apr 2025 15:07:26 -0700 Subject: [PATCH 1/3] status label updates (#700) Signed-off-by: Shaanjot Gill --- strr-api/pyproject.toml | 2 +- strr-api/src/strr_api/models/application.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/strr-api/pyproject.toml b/strr-api/pyproject.toml index e13c3f8ff..496fccead 100644 --- a/strr-api/pyproject.toml +++ b/strr-api/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "strr-api" -version = "0.0.67" +version = "0.0.68" description = "" authors = ["thorwolpert "] license = "BSD 3-Clause" diff --git a/strr-api/src/strr_api/models/application.py b/strr-api/src/strr_api/models/application.py index b625ea33f..ace555af9 100644 --- a/strr-api/src/strr_api/models/application.py +++ b/strr-api/src/strr_api/models/application.py @@ -422,8 +422,8 @@ class ApplicationSerializer: Application.Status.PROVISIONAL_REVIEW: "Approved – Provisional", Application.Status.FULL_REVIEW: "Pending Approval", Application.Status.DECLINED: "Declined", - Application.Status.NOC_PENDING: "Notice of Consideration - Pending", - Application.Status.NOC_EXPIRED: "Notice of Consideration - Expired", + Application.Status.NOC_PENDING: "Notice of Consideration - Submissions Open", + Application.Status.NOC_EXPIRED: "Notice of Consideration - Submissions Closed", } HOST_ACTIONS = {Application.Status.PAYMENT_DUE: ["SUBMIT_PAYMENT"]} @@ -438,8 +438,8 @@ class ApplicationSerializer: Application.Status.PROVISIONAL_REVIEW: "Provisional Examination", Application.Status.FULL_REVIEW: "Full Examination", Application.Status.DECLINED: "Declined", - Application.Status.NOC_PENDING: "Notice of Consideration - Pending", - Application.Status.NOC_EXPIRED: "Notice of Consideration - Expired", + Application.Status.NOC_PENDING: "NOC - Open", + Application.Status.NOC_EXPIRED: "NOC - Closed", } EXAMINER_ACTIONS = { From 395624b156a05530ebfd28af3556698c0318aa93 Mon Sep 17 00:00:00 2001 From: Dima K Date: Fri, 25 Apr 2025 07:37:51 -0700 Subject: [PATCH 2/3] Allow Image Upload for Hosts (#701) 27134 - Allow Image Upload for Hosts --- strr-base-web/app/locales/en-CA.ts | 2 +- strr-base-web/package.json | 2 +- strr-host-pm-web/app/components/form/AddDocuments/index.vue | 2 +- strr-host-pm-web/app/locales/en-CA.ts | 2 +- strr-host-pm-web/package.json | 2 +- strr-strata-web/app/components/form/StrataDetails.vue | 4 ++-- strr-strata-web/app/locales/en-CA.ts | 2 +- strr-strata-web/package.json | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/strr-base-web/app/locales/en-CA.ts b/strr-base-web/app/locales/en-CA.ts index ab0027305..86d85f560 100644 --- a/strr-base-web/app/locales/en-CA.ts +++ b/strr-base-web/app/locales/en-CA.ts @@ -125,7 +125,7 @@ export default { }, fileType: { title: 'Invalid File Type', - description: 'Only PDF files are supported. Please upload a PDF document.' + description: 'Only PDF, jpeg, or jpg files are supported. Please upload a PDF, jpeg, or jpg.' }, generic: { title: 'Error Uploading Document', diff --git a/strr-base-web/package.json b/strr-base-web/package.json index 000c68bf6..b0fdbe500 100644 --- a/strr-base-web/package.json +++ b/strr-base-web/package.json @@ -2,7 +2,7 @@ "name": "strr-base-web", "private": true, "type": "module", - "version": "0.0.16", + "version": "0.0.17", "scripts": { "build-check": "nuxt build", "build": "nuxt generate", diff --git a/strr-host-pm-web/app/components/form/AddDocuments/index.vue b/strr-host-pm-web/app/components/form/AddDocuments/index.vue index 37653a1cc..61825fa5c 100644 --- a/strr-host-pm-web/app/components/form/AddDocuments/index.vue +++ b/strr-host-pm-web/app/components/form/AddDocuments/index.vue @@ -117,7 +117,7 @@ onMounted(async () => { :error="isComplete && hasFormErrors(docFormRef, ['documentUpload'])" :is-required="docStore.requiredDocs.length > 0" :help-id="docUploadHelpId" - accept="application/pdf" + accept="application/pdf,image/jpeg" @change="docStore.addStoredDocument" @cancel="docStore.selectedDocType = undefined" @error="e => strrModal.openErrorModal( diff --git a/strr-host-pm-web/app/locales/en-CA.ts b/strr-host-pm-web/app/locales/en-CA.ts index 84097cda8..fdfe01c77 100644 --- a/strr-host-pm-web/app/locales/en-CA.ts +++ b/strr-host-pm-web/app/locales/en-CA.ts @@ -387,7 +387,7 @@ export default { }, hint: { strataRefCode: 'This is a unique code for each registered strata hotel. Ask the strata hotel management for this code.', - docUpload: 'File must be a PDF. Maximum 10 MB.', + docUpload: 'File must be a PDF, jpeg, or jpg. Maximum 10 MB.', autocomplete: 'For example: 123 - 456 Street Name Victoria BC V8V 2V2' }, page: { diff --git a/strr-host-pm-web/package.json b/strr-host-pm-web/package.json index fe6b82e7a..9efce692a 100644 --- a/strr-host-pm-web/package.json +++ b/strr-host-pm-web/package.json @@ -2,7 +2,7 @@ "name": "strr-host-pm-web", "private": true, "type": "module", - "version": "1.2.8", + "version": "1.2.9", "scripts": { "build-check": "nuxt build", "build": "nuxt generate", diff --git a/strr-strata-web/app/components/form/StrataDetails.vue b/strr-strata-web/app/components/form/StrataDetails.vue index 3828cc0dc..aadac769b 100644 --- a/strr-strata-web/app/components/form/StrataDetails.vue +++ b/strr-strata-web/app/components/form/StrataDetails.vue @@ -1,6 +1,6 @@