diff --git a/public/js/components/Cis/Abgabetool/AbgabetoolAssistenz.js b/public/js/components/Cis/Abgabetool/AbgabetoolAssistenz.js
index 8dee0b1e0..3dcf7c0a1 100644
--- a/public/js/components/Cis/Abgabetool/AbgabetoolAssistenz.js
+++ b/public/js/components/Cis/Abgabetool/AbgabetoolAssistenz.js
@@ -233,13 +233,13 @@ export const AbgabetoolAssistenz = {
headerFilterFunc: this.headerFilterTerminCol,
sorter: this.sortFuncTerminCol,
tooltip: this.toolTipFuncPrevTermin,
- field: 'prevTermin', formatter: this.abgabterminFormatter, width: 250, visible: false},
+ field: 'prevTermin', formatter: this.abgabeterminFormatter, width: 250, visible: false},
{title: Vue.computed(() => this.$capitalize(this.$p.t('abgabetool/c4nextAbgabetermin'))), field: 'nextTermin',
headerFilter: dateFilter,
headerFilterFunc: this.headerFilterTerminCol,
sorter: this.sortFuncTerminCol,
tooltip: this.toolTipFuncNextTermin,
- formatter: this.abgabterminFormatter, width: 250, visible: true},
+ formatter: this.abgabeterminFormatter, width: 250, visible: true},
{title: Vue.computed(() => this.$capitalize(this.$p.t('abgabetool/c4qgate1Status'))),
headerFilter: this.qgateHeaderFilterEditor,
headerFilterFunc: this.qgateHeaderFilterFunc,
@@ -421,7 +421,7 @@ export const AbgabetoolAssistenz = {
headerFilter: this.statusHeaderFilterEditor,
headerFilterFunc: this.statusHeaderFilterFunc,
headerFilterParams: {},
- formatter: this.abgabterminFormatter,
+ formatter: this.abgabeterminFormatter,
formatterParams: { iconOnly: true },
width: 70,
tooltip: (e, cell) => this.mapDateStyleToTabulatorTooltip(cell.getValue())
@@ -1643,7 +1643,7 @@ export const AbgabetoolAssistenz = {
this.detailIsFullscreen = !this.detailIsFullscreen
},
getOptionLabelAbgabetyp(option){
- return option.bezeichnung
+ return this.$p.t('abgabetool/c4paatyp' + option.paabgabetyp_kurzbz)
},
getOptionLabelStg(option){
return option.kurzbzlang + ' ' + option.bezeichnung
@@ -1979,7 +1979,7 @@ export const AbgabetoolAssistenz = {
return '
'
},
- abgabterminFormatter(cell, formatterParams, onRendered,) {
+ abgabeterminFormatter(cell, formatterParams, onRendered,) {
const val = cell.getValue()
const dateStyle = val?.dateStyle ?? val
@@ -2012,8 +2012,9 @@ export const AbgabetoolAssistenz = {
icon = ''
break
}
-
- const bezeichnung = val.bezeichnung?.bezeichnung ?? val.bezeichnung
+
+ const typKurzbz = val.paabgabetyp_kurzbz ?? val.bezeichnung?.paabgabetyp_kurzbz
+ const bezeichnung = this.$p.t('abgabetool/c4paatyp' + typKurzbz)
if(formatterParams?.iconOnly) {
return '' +
diff --git a/public/js/components/Cis/Abgabetool/AbgabetoolMitarbeiter.js b/public/js/components/Cis/Abgabetool/AbgabetoolMitarbeiter.js
index 6b01c4a9c..f80248b4a 100644
--- a/public/js/components/Cis/Abgabetool/AbgabetoolMitarbeiter.js
+++ b/public/js/components/Cis/Abgabetool/AbgabetoolMitarbeiter.js
@@ -167,13 +167,13 @@ export const AbgabetoolMitarbeiter = {
headerFilterFunc: this.headerFilterTerminCol,
sorter: this.sortFuncTerminCol,
tooltip: this.toolTipFuncPrevTermin,
- field: 'prevTermin', formatter: this.abgabterminFormatter, width: 250, visible: false},
+ field: 'prevTermin', formatter: this.abgabeterminFormatter, width: 250, visible: false},
{title: Vue.computed(() => this.$capitalize(this.$p.t('abgabetool/c4nextAbgabetermin'))), field: 'nextTermin',
headerFilter: dateFilter,
headerFilterFunc: this.headerFilterTerminCol,
sorter: this.sortFuncTerminCol,
tooltip: this.toolTipFuncNextTermin,
- formatter: this.abgabterminFormatter, width: 250, visible: true},
+ formatter: this.abgabeterminFormatter, width: 250, visible: true},
{title: Vue.computed(() => this.$capitalize(this.$p.t('abgabetool/c4qgate1Status'))),
headerFilter: this.qgateHeaderFilterEditor,
headerFilterFunc: this.qgateHeaderFilterFunc,
@@ -927,7 +927,7 @@ export const AbgabetoolMitarbeiter = {
// seperate check for quality gates
this.checkQualityGateStatus(projekt)
},
- abgabterminFormatter(cell) {
+ abgabeterminFormatter(cell) {
const val = cell.getValue()
if(val) {
@@ -959,7 +959,8 @@ export const AbgabetoolMitarbeiter = {
break
}
- const bezeichnung = val.bezeichnung?.bezeichnung ?? val.bezeichnung
+ const typKurzbz = val.paabgabetyp_kurzbz ?? val.bezeichnung?.paabgabetyp_kurzbz
+ const bezeichnung = this.$p.t('abgabetool/c4paatyp' + typKurzbz)
return '
' +
'