Answers.Body: <p>It's possible this is the culprit: <a href="https://issues.civicrm.org/jira/browse/CRM-16175" rel="nofollow">net amount sometimes incorrect for events involving partial payments</a></p>
  
  <p>You could update to 4.6.2 if that's possible, or perhaps <a href="https://github.com/civicrm/civicrm-core/pull/5588" rel="nofollow">review out the commit</a> and roll your own patch.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-18T13:30:03.190Z
Answers.LastActivityDate: 2015-05-18T13:30:03.190Z
Answers.UserDisplayName: Nicholai
Body: <p>A client is reporting that the value for the <code>{event.balance}</code> token sent via a reminder is incorrect. It's showing a negative balance. The two documented cases (via forwarded emails from the event registrants) were both case where one partial payment had been made.</p>
  
  <p>The replacement for <code>{event.balance}</code> should be:</p>
  
  <pre><code>Total registration fees minus partial payment(s)
  </code></pre>
  
  <p>Instead the token was replaced with the following value:</p>
  
  <pre><code>Event balance minus partial payment
  </code></pre>
  
  <p>Any ideas about what might be causing this or how to troubleshoot it?</p>
  
  <p>Site running CiviCRM 4.5.8 and Drupal 7.36. PHP is 5.4.30. MySQL is 5.5.42</p>
  
Tags: <civievent>
Title: Wrong calcuation of event.balance value in reminder email
ThreadText: # Wrong calcuation of event.balance value in reminder email
  
  (Asked by: username_0 on 2015-05-14)
  
  A client is reporting that the value for the `{event.balance}` token sent via a reminder is incorrect. It's showing a negative balance. The two documented cases (via forwarded emails from the event registrants) were both case where one partial payment had been made.
  
  The replacement for `{event.balance}` should be:
  
  ```
  Total registration fees minus partial payment(s)
  
  ```
  
  Instead the token was replaced with the following value:
  
  ```
  Event balance minus partial payment
  
  ```
  
  Any ideas about what might be causing this or how to troubleshoot it?
  
  Site running CiviCRM 4.5.8 and Drupal 7.36. PHP is 5.4.30. MySQL is 5.5.42
  
  **Tags:** civievent
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-05-18. Score: 3 | Accepted answer
  
  It's possible this is the culprit: [net amount sometimes incorrect for events involving partial payments](https://issues.civicrm.org/jira/browse/CRM-16175)
  
  You could update to 4.6.2 if that's possible, or perhaps [review out the commit](https://github.com/civicrm/civicrm-core/pull/5588) and roll your own patch.
  
  
  ---
  
  