Merge branch 'devCorrected' into 'beta'
Dev corrected See merge request fedeo/software!22
This commit is contained in:
@@ -485,6 +485,7 @@ const setCustomerData = async (customerId, loadOnlyAdress = false) => {
|
|||||||
|
|
||||||
const setContactPersonData = async () => {
|
const setContactPersonData = async () => {
|
||||||
//console.log(itemInfo.value.contactPerson) //TODO: BACKEND CHANGE Set Profile
|
//console.log(itemInfo.value.contactPerson) //TODO: BACKEND CHANGE Set Profile
|
||||||
|
if(itemInfo.value.created_by) {
|
||||||
let profile = (await useNuxtApp().$api(`/api/user/${itemInfo.value.created_by}`, {
|
let profile = (await useNuxtApp().$api(`/api/user/${itemInfo.value.created_by}`, {
|
||||||
method: "GET"
|
method: "GET"
|
||||||
})).profile
|
})).profile
|
||||||
@@ -492,7 +493,7 @@ const setContactPersonData = async () => {
|
|||||||
itemInfo.value.contactPersonName = profile.full_name
|
itemInfo.value.contactPersonName = profile.full_name
|
||||||
itemInfo.value.contactTel = profile.mobile_tel || profile.fixed_tel || ""
|
itemInfo.value.contactTel = profile.mobile_tel || profile.fixed_tel || ""
|
||||||
itemInfo.value.contactEMail = profile.email
|
itemInfo.value.contactEMail = profile.email
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const showAdvanceInvoiceCalcModal = ref(false)
|
const showAdvanceInvoiceCalcModal = ref(false)
|
||||||
|
|||||||
@@ -748,7 +748,7 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
inputType: "text",
|
inputType: "text",
|
||||||
inputColumn: "Abrechnung"
|
inputColumn: "Abrechnung"
|
||||||
},{
|
},{
|
||||||
key: 'bankinBIC',
|
key: 'bankingBIC',
|
||||||
label: "BIC",
|
label: "BIC",
|
||||||
inputType: "text",
|
inputType: "text",
|
||||||
inputColumn: "Abrechnung"
|
inputColumn: "Abrechnung"
|
||||||
|
|||||||
Reference in New Issue
Block a user