- Posts: 27
- Home
- Forum
- Community Forum
- Questions
- Mobile template(solved)
Rounding payment deposit
- bsejour
-
Topic Author
- Offline
Less
More
8 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)
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.
- vietvh
-
- Offline
Less
More
- Posts: 1553
8 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,
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.
- bsejour
-
Topic Author
- Offline
Less
More
- Posts: 27
8 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.
- bsejour
-
Topic Author
- Offline
Less
More
- Posts: 27
8 years 6 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
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.
- solidres
-
- Away
Less
More
- Posts: 2953
8 years 6 months ago #8165
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
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,
Nice week to you.
Please create a new support ticket, we will check it for you.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- groovezog
- Offline
Less
More
- Posts: 9
5 years 2 months 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?
Could one of you post the solution that you found?
Please Log in or Create an account to join the conversation.
Moderators: solidres