Commit 455a802d authored by bgm's avatar bgm
Browse files

Fix a typo for the lineItem tax_amount

parent 3ce5e2e0
......@@ -246,7 +246,7 @@ function lineitemedit_civicrm_pre($op, $entity, $entityID, &$params) {
'line_total' => CRM_Utils_Rule::cleanMoney($lineItem['line_total']),
'price_field_value_id' => $lineItem['price_field_value_id'],
'financial_type_id' => $lineItem['financial_type_id'],
'tax_amount' => CRM_Utils_Array::value('tax_amount', $lineitem),
'tax_amount' => CRM_Utils_Array::value('tax_amount', $lineItem),
);
$newLineItem[] = civicrm_api3('LineItem', 'create', $newLineItemParams)['id'];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment