Skip to content

Commit

Permalink
Add html_entity_decode() & - $row['discount']
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambaryan authored Dec 7, 2017
1 parent 3e36e1c commit 4c25029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/komtetkassa/komtetkassa.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ private function getOrderPositions($order)
$row['discount'] += $order_discount_part;

$result[] = new Position(
$row['name'],
html_entity_decode($row['name']),
(float) $row['price'],
(float) $row['count'],
floatval($row['summ'] - $row['discount']),
(float) $row['summ'],
(float) $row['discount'],
$vat
);
Expand Down

0 comments on commit 4c25029

Please sign in to comment.