49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
---
|
|
tags:
|
|
organization:
|
|
address:
|
|
street:
|
|
city:
|
|
code:
|
|
country: Deutschland
|
|
url:
|
|
parent_company:
|
|
---
|
|
<%*
|
|
const organization = tp.frontmatter.organization
|
|
const url = tp.frontmatter.url
|
|
app.fileManager.processFrontMatter(tp.config.target_file, (fm) => {
|
|
if (organization == undefined) {
|
|
fm.organization = tp.file.name
|
|
} else {
|
|
fm.organization = organization
|
|
}
|
|
if (url == undefined) {
|
|
fm.url = ""
|
|
} else {
|
|
fm.url = url
|
|
}
|
|
frontmatter.template = "[[contact-company]]"
|
|
frontmatter.type = "company"
|
|
})
|
|
-%>
|
|
|
|
## Kontakte
|
|
```dataview
|
|
TABLE location AS Standort, manager AS Vorgesetzter
|
|
FROM [[]] AND !outgoing([[]]) AND #process/contact
|
|
WHERE !contains(former_company, [[<% tp.file.title %>]])
|
|
SORT location, manager, name
|
|
```
|
|
## Ehemalige Kollegen
|
|
```dataview
|
|
TABLE company AS Firma, location AS Standort
|
|
FROM [[]] AND !outgoing([[]]) AND #process/contact
|
|
WHERE contains(former_company, [[<% tp.file.title %>]])
|
|
SORT location, manager, name
|
|
```
|
|
## Termine
|
|
```dataview
|
|
list from [[]] and !outgoing([[]]) and "Journal"
|
|
```
|