This commit is contained in:
parent
94480a8189
commit
b2f88872fa
|
@ -99,7 +99,7 @@ module.exports = Self => {
|
|||
let stmt;
|
||||
|
||||
stmt = new ParameterizedSQL(
|
||||
`SELECT cl.id, c.name, u.nickName, cs.description, cl.created
|
||||
`SELECT cl.id, c.name, cl.clientFk, cl.workerFk, u.nickName, cs.description, cl.created
|
||||
FROM claim cl
|
||||
LEFT JOIN client c ON c.id = cl.clientFk
|
||||
LEFT JOIN worker w ON w.id = cl.workerFk
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
ui-sref="claim.card.summary({id: claim.id})">
|
||||
<vn-td number>{{::claim.id}}</vn-td>
|
||||
<vn-td expand>
|
||||
<span class="link" ng-click="$ctrl.showClientDescriptor($event, claim.client.id)">
|
||||
<span class="link" ng-click="$ctrl.showClientDescriptor($event, claim.clientFk)">
|
||||
{{::claim.name}}
|
||||
</span>
|
||||
</vn-td>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<vn-td expand>
|
||||
<span
|
||||
class="link"
|
||||
ng-click="$ctrl.showWorkerDescriptor($event, claim.worker.user.id)">
|
||||
ng-click="$ctrl.showWorkerDescriptor($event, claim.workerFk)">
|
||||
{{::claim.nickName}}
|
||||
</span>
|
||||
</vn-td>
|
||||
|
|
Loading…
Reference in New Issue