fix: refs #6938 scope
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-04-15 12:47:27 +02:00
parent 200cbd8d74
commit d7b06fe637
1 changed files with 45 additions and 22 deletions

View File

@ -95,23 +95,6 @@
}, },
"scopes":{ "scopes":{
"summary": { "summary": {
"fields": [
"id",
"firstName",
"lastName",
"bossFk",
"maritalStatus",
"originCountryFk",
"educationLevelFk",
"SSN",
"mobileExtension",
"code",
"locker",
"fi",
"birth",
"isF11Allowed"
]
,
"include": [ "include": [
{ {
"relation": "user", "relation": "user",
@ -128,16 +111,56 @@
"relation": "department", "relation": "department",
"scope": { "scope": {
"include": { "include": {
"relation": "department", "relation": "department"
"scope": {
"fields": ["name"]
}
} }
} }
}, { }, {
"relation": "boss" "relation": "boss"
}, { }, {
"relation": "client" "relation": "client",
"scope": {
"fields": [
"id",
"name",
"fi",
"socialName",
"contact",
"street",
"city",
"postcode",
"email",
"mobile",
"isActive",
"credit",
"creditInsurance",
"iban",
"dueDay",
"isEqualizated",
"isFreezed",
"hasToInvoiceByAddress",
"hasToInvoice",
"isToBeMailed",
"hasSepaVnl",
"hasLcr",
"hasCoreVnl",
"hasCoreVnh",
"hasIncoterms",
"isTaxDataChecked",
"eypbc",
"quality",
"isVies",
"isRelevant",
"accountingAccount",
"created",
"sageTaxTypeFk",
"sageTransactionTypeFk",
"businessTypeFk",
"salesPersonFk",
"hasElectronicInvoice",
"rating",
"recommendedCredit"
]
}
}, { }, {
"relation": "sip" "relation": "sip"
} }