case 4038

This commit is contained in:
2021-12-30 18:57:07 +00:00
parent e610491076
commit f9df633d04
4 changed files with 25 additions and 9 deletions

View File

@@ -24,8 +24,6 @@ Prioritize anything that stands in the way of beta testing
TODO:
test restore the big db here privately and confirm
testing cases
#1 issues below in list
docs cleanup
@@ -872,7 +870,7 @@ BUILD 8.0.0-beta.0.8 CHANGES OF NOTE
- Noticed the service dispatch report has a syntax error in it's CSS, there is a comment line with a // for single line comment but this is not valid CSS the only valid CSS comment is a /* */ block on it's own line
It doesn't seem to break anything but I'm not sure if that is always the case better safe than sorry so if you know of any others please fix them up
- case 4038

View File

@@ -4,7 +4,7 @@
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert :alert-message="obj.alertViz" pop-alert></gz-alert>
<gz-alert :alert-message="obj.customerTechNotesViz"></gz-alert>
<gz-alert :alert-message="alertTechNotes"></gz-alert>
<!-- SERVERERROR:{{ formState.serverError }} -->
<v-form ref="form">
<GzPMHeader
@@ -294,6 +294,11 @@ export default {
computed: {
useInventory() {
return window.$gz.store.state.globalSettings.useInventory;
},
alertTechNotes() {
return this.obj.customerTechNotesViz
? `${this.$ay.t("CustomerTechNotes")}\n${this.obj.customerTechNotesViz}`
: null;
}
},
methods: {
@@ -2114,7 +2119,8 @@ async function fetchTranslatedText(vm) {
"RecentWorkOrders",
"WorkOrderGenerateUnit",
"ApplyUnitContract",
"CustomerServiceRequest"
"CustomerServiceRequest",
"CustomerTechNotes"
]);
}

View File

@@ -4,7 +4,7 @@
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert :alert-message="obj.alertViz" pop-alert></gz-alert>
<gz-alert :alert-message="obj.customerTechNotesViz"></gz-alert>
<gz-alert :alert-message="alertTechNotes"></gz-alert>
<v-form ref="form">
<GzQuoteHeader
v-model="obj"
@@ -315,6 +315,11 @@ export default {
},
useInventory() {
return window.$gz.store.state.globalSettings.useInventory;
},
alertTechNotes() {
return this.obj.customerTechNotesViz
? `${this.$ay.t("CustomerTechNotes")}\n${this.obj.customerTechNotesViz}`
: null;
}
},
methods: {
@@ -2179,7 +2184,8 @@ async function fetchTranslatedText(vm) {
"WorkOrderGenerateUnit",
"ApplyUnitContract",
"CustomerServiceRequest",
"NewStatus"
"NewStatus",
"CustomerTechNotes"
]);
}

View File

@@ -4,7 +4,7 @@
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<gz-alert :alert-message="obj.alertViz" pop-alert></gz-alert>
<gz-alert :alert-message="obj.customerTechNotesViz"></gz-alert>
<gz-alert :alert-message="alertTechNotes"></gz-alert>
<!-- SERVERERROR:{{ formState.serverError }} -->
<v-form ref="form">
<GzWoHeader
@@ -393,6 +393,11 @@ export default {
},
useInventory() {
return window.$gz.store.state.globalSettings.useInventory;
},
alertTechNotes() {
return this.obj.customerTechNotesViz
? `${this.$ay.t("CustomerTechNotes")}\n${this.obj.customerTechNotesViz}`
: null;
}
},
methods: {
@@ -2382,7 +2387,8 @@ async function fetchTranslatedText(vm) {
"DuplicateToQuote",
"DuplicateToPM",
"NewStatus",
"InventoryRoleRequired"
"InventoryRoleRequired",
"CustomerTechNotes"
]);
}