case 3976

This commit is contained in:
2021-09-24 23:42:59 +00:00
parent 98e4d8ce4b
commit 01523a4344
4 changed files with 22 additions and 18 deletions

View File

@@ -790,4 +790,4 @@ BUILD 131 CHANGES OF NOTE
- case 3973 fixed and included note about errors that go by too fast - case 3973 fixed and included note about errors that go by too fast
- case 3974 confused, isn't this a duplicate as you wrote? - case 3974 confused, isn't this a duplicate as you wrote?
- case 3975 standardized - case 3975 standardized
- case 3976 implemented

View File

@@ -344,15 +344,18 @@
></v-textarea> ></v-textarea>
</v-col> </v-col>
<v-col v-if="form().showMe(this, 'PopUpNotes')" cols="12"> <v-col
v-if="form().showMe(this, 'CustomerAlertNotes')"
cols="12"
>
<v-textarea <v-textarea
v-model="obj.popUpNotes" v-model="obj.alertNotes"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('AlertNotes')" :label="$ay.t('CustomerAlertNotes')"
:error-messages="form().serverErrors(this, 'popUpNotes')" :error-messages="form().serverErrors(this, 'alertNotes')"
ref="popUpNotes" ref="alertNotes"
data-cy="popUpNotes" data-cy="alertNotes"
@input="fieldValueChanged('popUpNotes')" @input="fieldValueChanged('alertNotes')"
auto-grow auto-grow
prepend-icon="$ayiInfoCircle" prepend-icon="$ayiInfoCircle"
color="primary" color="primary"
@@ -852,7 +855,7 @@ export default {
customFields: "{}", customFields: "{}",
tags: [], tags: [],
webAddress: null, webAddress: null,
popUpNotes: null, alertNotes: null,
billHeadOffice: false, billHeadOffice: false,
headOfficeId: null, headOfficeId: null,
techNotes: null, techNotes: null,
@@ -1592,7 +1595,7 @@ async function fetchTranslatedText(vm) {
"CustomerName", "CustomerName",
"CustomerNotes", "CustomerNotes",
"WebAddress", "WebAddress",
"AlertNotes", "CustomerAlertNotes",
"CustomerBillHeadOffice", "CustomerBillHeadOffice",
"HeadOffice", "HeadOffice",
"CustomerTechNotes", "CustomerTechNotes",

View File

@@ -4,6 +4,7 @@
<gz-report-selector ref="reportSelector"></gz-report-selector> <gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready"> <div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error> <gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert :alert-message="obj.vendorAlertNotesViz" pop-alert></gz-alert>
<v-form ref="form"> <v-form ref="form">
<v-row> <v-row>
<v-col <v-col

View File

@@ -224,15 +224,15 @@
></v-textarea> ></v-textarea>
</v-col> </v-col>
<v-col v-if="form().showMe(this, 'PopUpNotes')" cols="12"> <v-col v-if="form().showMe(this, 'VendorAlertNotes')" cols="12">
<v-textarea <v-textarea
v-model="obj.popUpNotes" v-model="obj.alertNotes"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('AlertNotes')" :label="$ay.t('AlertNotes')"
:error-messages="form().serverErrors(this, 'popUpNotes')" :error-messages="form().serverErrors(this, 'alertNotes')"
ref="popUpNotes" ref="alertNotes"
data-cy="popUpNotes" data-cy="alertNotes"
@input="fieldValueChanged('popUpNotes')" @input="fieldValueChanged('alertNotes')"
auto-grow auto-grow
prepend-icon="$ayiInfoCircle" prepend-icon="$ayiInfoCircle"
color="primary" color="primary"
@@ -665,7 +665,7 @@ export default {
customFields: "{}", customFields: "{}",
tags: [], tags: [],
webAddress: null, webAddress: null,
popUpNotes: null, alertNotes: null,
contactNotes: null, contactNotes: null,
contact: null, contact: null,
accountNumber: null, accountNumber: null,
@@ -1169,7 +1169,7 @@ async function fetchTranslatedText(vm) {
"VendorName", "VendorName",
"VendorNotes", "VendorNotes",
"WebAddress", "WebAddress",
"AlertNotes", "VendorAlertNotes",
"VendorAccountNumber", "VendorAccountNumber",
"VendorContact", "VendorContact",
"VendorContactNotes", "VendorContactNotes",