Added Name Edition to Company Customers
This commit is contained in:
@@ -184,6 +184,13 @@ export const useDataStore = defineStore('data', () => {
|
||||
disabledFunction: function (item) {
|
||||
return !item.isCompany
|
||||
},
|
||||
}, {
|
||||
key: "nameAddition",
|
||||
label: "Firmenname Zusatz",
|
||||
inputType: "text",
|
||||
disabledFunction: function (item) {
|
||||
return !item.isCompany
|
||||
},
|
||||
},{
|
||||
key: "salutation",
|
||||
label: "Anrede",
|
||||
@@ -2617,6 +2624,8 @@ export const useDataStore = defineStore('data', () => {
|
||||
name = "Nachname"
|
||||
} else if(key === "name") {
|
||||
name = "Name"
|
||||
} else if(key === "nameAddition") {
|
||||
name = "Name Zusatz"
|
||||
} else if(key === "approved") {
|
||||
name = "Genehmigt"
|
||||
} else if(key === "manufacturer") {
|
||||
@@ -2710,7 +2719,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
|
||||
let text = ""
|
||||
if(prop.type === "updated" && newVal !== "-" && oldVal !== "-") {
|
||||
text = `Gerändert: ${name} von "${oldVal}" zu "${newVal}"`
|
||||
text = `Geändert: ${name} von "${oldVal}" zu "${newVal}"`
|
||||
} else if(prop.type === "updated" && newVal !== "-" && oldVal === "-") {
|
||||
text = `Hinzugefügt: ${name} "${newVal}"`
|
||||
} else if(prop.type === "created") {
|
||||
|
||||
Reference in New Issue
Block a user