Rounding payment deposit

More
7 years 9 months ago #7636 by bsejour
Rounding payment deposit was created by bsejour
Hello,
it's possible to "create" a rounding for the deposit in %?

Example:
room cost: 56,00
deposit 30% = 16,80 euro -> 16,00 euro (or also 15,00)

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

More
7 years 9 months ago #7643 by vietvh
Replied by vietvh on topic Rounding payment deposit
Hi,

Yes it is possible by modifying this file

/components/com_solidres/layouts/asset/confirmationform.php

Find line

$depositTotalAmount = new SRCurrency($depositTotal, $displayData->currency_id);

Change it to:

$depositTotalAmount = new SRCurrency(round($depositTotal, 0), $displayData->currency_id);

Regards,
The following user(s) said Thank You: bsejour

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

More
7 years 9 months ago #7650 by bsejour
Replied by bsejour on topic Rounding payment deposit
Very nice! thank!

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

More
7 years 5 months ago #8154 by bsejour
Replied by bsejour on topic Rounding payment deposit
Hello!
I have a problem.. In the confrimation form the display number is corret (36,00 euro for example) but when i choose paypal and I want to pay the amount in paypal turn in 36,80

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

More
7 years 5 months ago #8165 by solidres
Replied by solidres on topic Rounding payment deposit
Hi,

Nice week to you.

Please create a new support ticket, we will check it for you.

Regards,

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

More
4 years 1 month ago #16500 by groovezog
Replied by groovezog on topic Rounding payment deposit
I'm having the same problem.
Could one of you post the solution that you found?

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

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?