Answers.Body: <p>The dates are only updated when the payment is completed. If you allow for offline payment (e.g. cheque), then the dates are not updated yet when the invoice email is sent.</p>
  <p>In that case, the subject of the message should be <code>invoice</code> rather than <code>receipt</code>.</p>
  <p>As a workaround, you might want to remove the dates from the template or create tokens but those template are rather complex to edit (html + smarty logic). If you feel confident about editing those templates, you can find them in :</p>
  <ul>
  <li>menu <code>Mailings</code> -&gt; <code>Message templates</code></li>
  <li>tab <code>System Workflow Messages</code></li>
  <li><code>Memberships - Receipt (on-line)</code> -&gt; <code>Edit</code> (and possibly Memberships - Signup and Renewal Receipts (off-line)` if you want to change the behavior when you create/renew the membership as an admin)</li>
  </ul>
  <p><a href="https://i.sstatic.net/JfJ9p.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/JfJ9p.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.sstatic.net/ORPyx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ORPyx.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-22T14:13:16.847Z
Answers.LastActivityDate: 2021-09-22T14:13:16.847Z
Answers.UserDisplayName: samuelsov
Body: <p>Updated membership start and end dates, to reflect the upcoming/current registration period. The email receipt sent out on purchases still uses the old dates.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-22T19:38:46.417Z
Comments.Text: What do you mean by 'the upcoming/current registration period'?
Comments.UserDisplayName: petednz - fuzion
Tags: <civimember><email>
Title: Membership receipt email template not showing correct dates
ThreadText: # Membership receipt email template not showing correct dates
  
  (Asked by: username_0 on 2021-09-22)
  
  Updated membership start and end dates, to reflect the upcoming/current registration period. The email receipt sent out on purchases still uses the old dates.
  
  **Tags:** civimember, email
  
  > **Comments:**
  > **username_1**: What do you mean by 'the upcoming/current registration period'?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-09-22. Score: 2
  
  The dates are only updated when the payment is completed. If you allow for offline payment (e.g. cheque), then the dates are not updated yet when the invoice email is sent.
  
  In that case, the subject of the message should be `invoice` rather than `receipt`.
  
  As a workaround, you might want to remove the dates from the template or create tokens but those template are rather complex to edit (html + smarty logic). If you feel confident about editing those templates, you can find them in :
  
  * menu `Mailings` -> `Message templates`
  * tab `System Workflow Messages`
  * `Memberships - Receipt (on-line)` -> `Edit` (and possibly Memberships - Signup and Renewal Receipts (off-line)` if you want to change the behavior when you create/renew the membership as an admin)
  
  [![enter image description here](https://i.sstatic.net/JfJ9p.png)](https://i.sstatic.net/JfJ9p.png)
  
  [![enter image description here](https://i.sstatic.net/ORPyx.png)](https://i.sstatic.net/ORPyx.png)
  
  
  ---
  
  