fix: mostrar descriptor worker en vez de item
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-01-20 12:45:02 +01:00
parent ab1a9389cb
commit 9523991b04
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ module.exports = Self => {
st.originalQuantity,
st.created,
st.workerFk,
u.nickname userNickname,
u.name,
ste.name AS state
FROM saleTracking st
JOIN sale s ON s.id = st.saleFk

View File

@ -101,9 +101,9 @@
<vn-td number>{{::saleTracking.originalQuantity}}</vn-td>
<vn-td expand>
<span
ng-click="itemDescriptor.show($event, sale.item.id)"
class="link">
{{::sale.item.id}}
class="link"
ng-click="workerDescriptor.show($event, saleTracking.workerFk)">
{{::saleTracking.name | dashIfEmpty}}
</span>
</vn-td>
<vn-td shrink>{{::saleTracking.state}}</vn-td>