refs #5334 workFk, clientFk
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
2778858705
commit
cf632040e7
|
@ -26,13 +26,13 @@
|
|||
</vn-label-value>
|
||||
<vn-label-value
|
||||
label="Boss department"
|
||||
value="{{$summary.workerFk}}">
|
||||
value="{{summary.worker.firstName}} {{summary.worker.lastName}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Email"
|
||||
value="{{summary.notificationEmail}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Self-consumption customer"
|
||||
value="{{summary.workerFk}}">
|
||||
value="{{summary.client.name}}">
|
||||
</vn-label-value>
|
||||
</vn-one>
|
||||
<vn-vertical>
|
||||
|
|
|
@ -8,9 +8,19 @@ class Controller extends Component {
|
|||
if (!value) return;
|
||||
|
||||
const filter = {
|
||||
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
|
||||
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'],
|
||||
include: [
|
||||
{relation: 'client'},
|
||||
{relation: 'worker'}
|
||||
{relation: 'client',
|
||||
scope: {
|
||||
fields: ['id', 'name']
|
||||
}},
|
||||
{
|
||||
relation: 'worker',
|
||||
scope: {
|
||||
fields: ['id', 'firstName', 'lastName']
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue