Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
valdeir2000 committed Sep 25, 2020
2 parents d54f3b4 + 66027ef commit d7af876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function transaction()
$item->setId(sprintf('ID%d_K%d', $product['product_id'], $key));
$item->setDescription($product['name'] . ' :: ' . $product['model']);
$item->setQuantity(intval($product['quantity']));
$item->setAmount(number_format($product['total'], 2, '.', ''));
$item->setAmount(number_format($product['price'], 2, '.', ''));
$items[] = $item;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function transaction()
$item->setId(sprintf('ID%d_K%d', $product['product_id'], $key));
$item->setDescription($product['name'] . ' :: ' . $product['model']);
$item->setQuantity(intval($product['quantity']));
$item->setAmount(number_format($product['total'], 2, '.', ''));
$item->setAmount(number_format($product['price'], 2, '.', ''));
$items[] = $item;
}

Expand Down

0 comments on commit d7af876

Please sign in to comment.