Skip to content

Commit

Permalink
ANGOLASUP-909: passed right payload and fixed request problem
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikNoga committed Sep 4, 2024
1 parent 208056b commit a847034
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/shipment-view/shipment-view.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,9 @@
}

vm.confirm = function() {
vm.shipment.lineItems = vm.shipment.lineItems.map(function(item) {
return {
id: item.id,
lot: item.lot,
orderable: item.orderable,
quantityShipped: item.quantityShipped,
stockOnHand: item.stockOnHand,
unitOfOrderableId: item.unitOfOrderableId
vm.shipment.lineItems.forEach(function(lineItem) {
lineItem.unitOfOrderable = {
id: lineItem.unit.id
};
});

Expand Down

0 comments on commit a847034

Please sign in to comment.