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 3974 confused, isn't this a duplicate as you wrote?
- case 3975 standardized
- case 3976 implemented

View File

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

View File

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

View File

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