diff --git a/src/helpers/constants.js b/src/helpers/constants.js index 82c5025..4c93c93 100644 --- a/src/helpers/constants.js +++ b/src/helpers/constants.js @@ -12,6 +12,9 @@ export const ALLOWED_FILE_TYPES = [ export const QUESTIONNAIRE_LINK = "/export-questionnaire/"; export const LETTER_LINK = "/doc/"; export const FAQ = "/storage/faq/"; +export const BANK_BLANK = "/storage/bank_blank.doc" +export const OBLIGATIONS_BLANK = "/storage/obligations_blank.doc" +export const REQUEST_LETTER = "/storage/request_letter.doc" // Application states export const APPLICATION_DRAFT_STATE = "draft"; diff --git a/src/i18n/en.js b/src/i18n/en.js index 47cb07d..033a2bf 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -189,4 +189,8 @@ export const locale = { OPEN: "Open", CLOSED: "Closed", + + BROKER_APPLICATION_TWO: "Apply online for broker registration", + BANK_BLANK: "Bank form", + OBLIGATIONS_BLANK: "Obligations form", }; diff --git a/src/i18n/ru.js b/src/i18n/ru.js index bffb030..a847f64 100644 --- a/src/i18n/ru.js +++ b/src/i18n/ru.js @@ -190,4 +190,8 @@ export const locale = { OPEN: "Открыть", CLOSED: "Закрыто", + + BROKER_APPLICATION_TWO: "Онлайн регистрация брокера", + BANK_BLANK: "Банковская форма", + OBLIGATIONS_BLANK: "Форма обязательств", }; diff --git a/src/i18n/tm.js b/src/i18n/tm.js index d5de2ce..890374a 100644 --- a/src/i18n/tm.js +++ b/src/i18n/tm.js @@ -190,4 +190,8 @@ export const locale = { OPEN :"Açyk", CLOSED:"Ýapyk", + + BROKER_APPLICATION_TWO: "Dellal bolmak uçin onlaýn arza tabşyrmak", + BANK_BLANK: "Bank blank", + OBLIGATIONS_BLANK: "Borçlar blank", }; diff --git a/src/stores/broker.js b/src/stores/broker.js index 005cf9c..c092414 100644 --- a/src/stores/broker.js +++ b/src/stores/broker.js @@ -19,7 +19,7 @@ export const useBrokerStore = defineStore({ const response = await fetchWrapper.get(`${baseUrl}`); // update pinia state - this.application = response["data"]; + this.brokerApplication = response["data"]; } catch (error) { // const alertStore = useAlertStore(); // alertStore.error(error); diff --git a/src/views/broker/Main.vue b/src/views/broker/Main.vue index f9d1319..add60a9 100644 --- a/src/views/broker/Main.vue +++ b/src/views/broker/Main.vue @@ -16,6 +16,7 @@
+
@@ -24,23 +25,22 @@ >
{{ EXTENSION_QUESTIONNAIRE_FILE }}
- {{ $t("NAME_QUESTIONNAIRE_FILE") }}.{{ EXTENSION_QUESTIONNAIRE_FILE.toLowerCase() }} + {{ $t("BANK_BLANK") }}.{{ EXTENSION_QUESTIONNAIRE_FILE.toLowerCase() }}
+
@@ -48,12 +48,30 @@ class="file box rounded-md px-5 pt-8 pb-5 px-3 sm:px-5 relative zoom-in" > - +
{{ EXTENSION_LETTER_FILE }}
- + + {{ $t("OBLIGATIONS_BLANK") }}.{{ EXTENSION_LETTER_FILE.toLowerCase() }} + +
+ + +
+
+ + +
+ {{ EXTENSION_LETTER_FILE }} +
+
+ {{ $t("NAME_LETTER_FILE") }}.{{ EXTENSION_LETTER_FILE.toLowerCase() }}
@@ -64,22 +82,22 @@
-

{{ $t("DOCUMENTS_TWO") }}

+

{{ $t("BROKER_APPLICATION_TWO") }}

{{ $t("APPLICATION_PROCESS_DESCRIPTION_TWO") }}
-
+
- +
@@ -123,20 +141,20 @@
{{ $t('APPLICATION_NEEDS_TO_BE_IMPROVED_TEXT_INTRO') }}
-