Skip to content

Commit

Permalink
BTHAMM-15: Resolve incorrect total due to round off
Browse files Browse the repository at this point in the history
  • Loading branch information
olayiwola-compucorp committed Aug 20, 2024
1 parent 40c5898 commit 0f6325f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Civicase/Service/CaseSalesOrderLineItemsGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private function lineItemToContributionLineItem(array $item) {
'entity_table' => 'civicrm_contribution',
'financial_type_id' => $item['financial_type_id'],
'line_total' => round($item['total'], 2),
'unit_price' => round($item['unit_price'], 2),
'unit_price' => $item['unit_price'],
];
}

Expand Down

0 comments on commit 0f6325f

Please sign in to comment.