Tarea #646 item descriptor now passes the ticket id
This commit is contained in:
parent
796b901378
commit
20e76fb28d
|
@ -126,7 +126,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"url" : "/diary?warehouseFk",
|
||||
"url" : "/diary?warehouseFk&ticketFk",
|
||||
"state": "item.card.diary",
|
||||
"component": "vn-item-diary",
|
||||
"description": "Diary",
|
||||
|
|
|
@ -93,7 +93,8 @@ class Controller {
|
|||
icon: 'icon-transaction',
|
||||
state: `item.card.diary({
|
||||
id: ${itemFk},
|
||||
q: '{"warehouseFk": ${this.ticket.warehouseFk}}'
|
||||
warehouseFk: ${this.ticket.warehouseFk},
|
||||
ticketFk: ${this.ticket.id}
|
||||
})`,
|
||||
tooltip: 'Item diary'
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<span
|
||||
ng-class="{'link pointer':expedition.itemFk}"
|
||||
ng-click="$ctrl.showDescriptor($event, expedition.itemFk)">
|
||||
{{expedition.itemFk}}
|
||||
{{("000000"+expedition.itemFk).slice(-6)}}
|
||||
</span>
|
||||
</vn-td>
|
||||
<vn-td>{{::expedition.namePackage}}</vn-td>
|
||||
|
|
|
@ -27,7 +27,8 @@ class Controller {
|
|||
icon: 'icon-transaction',
|
||||
state: `item.card.diary({
|
||||
id: ${itemFk},
|
||||
q: '{"warehouseFk": ${this.ticket.warehouseFk}}'
|
||||
warehouseFk: ${this.ticket.warehouseFk},
|
||||
ticketFk: ${this.ticket.id}
|
||||
})`,
|
||||
tooltip: 'Item diary'
|
||||
}
|
||||
|
|
|
@ -39,7 +39,8 @@ class Controller {
|
|||
icon: 'icon-transaction',
|
||||
state: `item.card.diary({
|
||||
id: ${itemFk},
|
||||
q: '{"warehouseFk": ${this.ticket.warehouseFk}}'
|
||||
warehouseFk: ${this.ticket.warehouseFk},
|
||||
ticketFk: ${this.ticket.id}
|
||||
})`,
|
||||
tooltip: 'Item diary'
|
||||
}
|
||||
|
|
|
@ -12,7 +12,8 @@ class Controller {
|
|||
icon: 'icon-transaction',
|
||||
state: `item.card.diary({
|
||||
id: ${itemFk},
|
||||
q: '{"warehouseFk": ${this.ticket.warehouseFk}}'
|
||||
warehouseFk: ${this.ticket.warehouseFk},
|
||||
ticketFk: ${this.ticket.id}
|
||||
})`,
|
||||
tooltip: 'Item diary'
|
||||
}
|
||||
|
|
|
@ -243,7 +243,8 @@ class Controller {
|
|||
icon: 'icon-transaction',
|
||||
state: `item.card.diary({
|
||||
id: ${itemFk},
|
||||
q: '{"warehouseFk": ${this.ticket.warehouseFk}}'
|
||||
warehouseFk: ${this.ticket.warehouseFk},
|
||||
ticketFk: ${this.ticket.id}
|
||||
})`,
|
||||
tooltip: 'Item diary'
|
||||
}
|
||||
|
|
|
@ -37,7 +37,8 @@ class Controller {
|
|||
icon: 'icon-transaction',
|
||||
state: `item.card.diary({
|
||||
id: ${itemFk},
|
||||
q: '{"warehouseFk": ${this.ticket.warehouseFk}}'
|
||||
warehouseFk: ${this.ticket.warehouseFk},
|
||||
ticketFk: ${this.ticket.id}
|
||||
})`,
|
||||
tooltip: 'Item diary'
|
||||
}
|
||||
|
|
|
@ -52,7 +52,8 @@ class Controller {
|
|||
icon: 'icon-transaction',
|
||||
state: `item.card.diary({
|
||||
id: ${itemFk},
|
||||
q: '{"warehouseFk": ${this.ticket.warehouseFk}}'
|
||||
warehouseFk: ${this.ticket.warehouseFk},
|
||||
ticketFk: ${this.ticket.id}
|
||||
})`,
|
||||
tooltip: 'Item diary'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue