diff --git a/includes/wf_crm_webform_postprocess.inc b/includes/wf_crm_webform_postprocess.inc index 1d2afcb03..bb579888d 100644 --- a/includes/wf_crm_webform_postprocess.inc +++ b/includes/wf_crm_webform_postprocess.inc @@ -2186,11 +2186,6 @@ class wf_crm_webform_postprocess extends wf_crm_webform_base { } } - // Format (and round) monetary values before saving the line items - isset($item['unit_price']) ? $item['unit_price'] = CRM_Utils_Money::format($item['unit_price'], NULL, NULL, TRUE) : NULL; - isset($item['line_total']) ? $item['line_total'] = CRM_Utils_Money::format($item['line_total'], NULL, NULL, TRUE) : NULL; - isset($item['tax_amount']) ? $item['tax_amount'] = CRM_Utils_Money::format($item['tax_amount'], NULL, NULL, TRUE) : NULL; - // Save the line_item $line_result = wf_civicrm_api('line_item', 'create', $item); $item['id'] = $line_result['id'];