Skip to content

Commit

Permalink
Eco-1936 update data
Browse files Browse the repository at this point in the history
  • Loading branch information
vhrychenko committed Sep 27, 2018
1 parent 5070ff8 commit 5967810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SprykerEco/Zed/Payone/Business/Payment/PaymentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ protected function prepareOrderShipment(OrderTransfer $orderTransfer, AbstractRe
$arrayDe = $container->getDe() ?? [];
$arrayVa = $container->getVa() ?? [];

$key = count($arrayId);
$key = count($arrayId) + 1;
$expenses = $orderTransfer->getExpenses();

$arrayIt[$key] = PayoneApiConstants::INVOICING_ITEM_TYPE_SHIPMENT;
Expand Down Expand Up @@ -1097,7 +1097,7 @@ protected function prepareOrderDiscount(OrderTransfer $orderTransfer, AbstractRe
$arrayDe = $container->getDe() ?? [];
$arrayVa = $container->getVa() ?? [];

$key = count($arrayId);
$key = count($arrayId) + 1;

$arrayIt[$key] = PayoneApiConstants::INVOICING_ITEM_TYPE_VOUCHER;
$arrayId[$key] = PayoneApiConstants::INVOICING_ITEM_TYPE_VOUCHER;
Expand Down

0 comments on commit 5967810

Please sign in to comment.