Export Registrants "Due amount" incorrect amount when deposit used

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #109544 by Jason Landau
Perfect, Thank you for all your help!

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #109554 by Tuan Pham Ngoc
OK, Thanks for confirming. I will update the download package with this fix soon

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #109644 by Jason Landau
Hi Tuan,
Sorry but I think we missed something..
It now calculates correctly when someone has made only deposit payment.

The amount is incorrect when someone has made a "deposit payment" and then "completed full payment" (paid off balance with paypal for example)

I think this could be fixed a few different ways but I'm not sure if this is the best approach.
I was thinking to change the "if" to check "payment status" but I couldn't see if the variable was available there.

My idea would be something like:
if ($row->deposit_amount > 0 && $paymentstatus != paid)

Obviously that's just for concept. Is that doable or you have a better approach?
Because then it would just use the else which is fine.
Thank you for your help!!

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #109646 by Tuan Pham Ngoc
Hi Jason

At the moment, I am on new year holiday en.wikipedia.org/wiki/T%E1%BA%BFt , and could not look at it right away. I will try to see if I can have time to work on it, but it will have to be in the next few days. For now, please accept this limitation and wait me for few more days

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #109647 by Jason Landau
Hi Tuan,
Thank you for letting me know. We're going to celebrate this weekend at the parade. Happy New Year :)
Thank you for the update.

Please Log in or Create an account to join the conversation.

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #109897 by Jason Landau
Hi Tuan,
I'm sure you're busy after the New Year but I just wanted to check back in if you had time to look at this.

I was also thinking if the second payment amount was stored as a variable we could also just add that to the math.
Thank you again for all your help!
Jason

Please Log in or Create an account to join the conversation.

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #110284 by Jason Landau
Hi Tuan,
Are you back from holiday? Sorry to bother you.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #110294 by Tuan Pham Ngoc
Hi Jason

Yes, I'm back but was busy with many things. I will look at this issue later today or lately on tomorrow

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 2 months ago #110565 by Jason Landau
Hi Tuan,
I really don't mean to bother you. I can imagine you have lots of updates going on.
I just wanted to check if you had any news.

Do you know if the variable for the second payment is available I can probably put the if together myself. I just wanted to see what you thought the best approach was. I'm not sure if the second payment info (after deposit) is saved.

Thank you again!

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #110571 by Tuan Pham Ngoc
Could you please update to latest version 3.3.0 which I released yesterday? I think I have it works as you want in the core package now

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc