final fix for ticket volume
This commit is contained in:
parent
d3743e2548
commit
2c625a3b90
|
@ -19,9 +19,10 @@ class Controller extends FilterTicketList {
|
|||
.then(response => {
|
||||
if (response.data) {
|
||||
this.$scope.index.model.instances.forEach(sale => {
|
||||
response.data.volumes.forEach(volume => {
|
||||
if (sale.id === volume.saleFk)
|
||||
response.data.volumes[0].forEach(volume => {
|
||||
if (sale.id === volume.saleFk) {
|
||||
sale.volume = volume;
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue