# How to find the last subscription amount variable of a member for template email?

**URL:** <https://www.dolibarr.org/forum/t/how-to-find-the-last-subscription-amount-variable-of-a-member-for-template-email/18670>\
**Category:** HR modules\
**Created:** [March 1, 2020, 8:45pm UTC](https://www.dolibarr.org/forum/t/how-to-find-the-last-subscription-amount-variable-of-a-member-for-template-email/18670 "2020-03-01T20:45:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois1](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/f/c67d28/32.png) [@Francois1](https://www.dolibarr.org/forum/u/Francois1)\
**Post date:** [March 1, 2020, 8:45pm UTC](https://www.dolibarr.org/forum/t/how-to-find-the-last-subscription-amount-variable-of-a-member-for-template-email/18670/1 "2020-03-01T20:45:50Z")

</div>

Hello,

I’m using a self-host Dolibarr version since version 9 for an organization which promote Free Softwares.

In the email template “SendingReminderForExpiredSubscription” there is a variable named “ **MEMBER\_LAST\_SUBSCRIPTION\_DATE\_END** ”.  
But I can’t find the amount of this subscription.  
I look for it in the htdocs/core/lib/functions.lib.php  
but there are only :  
**MEMBER\_LAST\_SUBSCRIPTION\_DATE**  
**MEMBER\_LAST\_SUBSCRIPTION\_DATE\_START**  
**MEMBER\_LAST\_SUBSCRIPTION\_DATE\_END**

The doc wiki doesn’t mention any variable for these templates (like **MEMBER\_FULLNAME** ).

Can I find somewhere how to calculate this amount which is present in my database ?

Thanks a lot…
