From ff9b6b50b16259c03cabfb6e1534bffc7a00f8fe Mon Sep 17 00:00:00 2001 From: dpradeep Date: Thu, 7 Aug 2014 10:24:41 +0530 Subject: [PATCH] VAT-434 Changes for accounting export for offline event with quick config --- CRM/Event/Form/Participant.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index fc91779760..d7b8649eda 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1456,6 +1456,7 @@ class CRM_Event_Form_Participant extends CRM_Contact_Form_Task { $line['unit_price'] = $line['line_total'] = $params['total_amount']; if (!empty($params['tax_amount'])) { $line['unit_price'] = $line['unit_price'] - $params['tax_amount']; + $line['line_total'] = $line['line_total'] - $params['tax_amount']; } } $lineItem[$this->_priceSetId][$lineKey] = $line; -- 2.25.1