Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated: Make showing value add tax in success mail optional #869

Merged
merged 4 commits into from Aug 25, 2022

Conversation

mrothauer
Copy link
Member

@mrothauer mrothauer commented Aug 25, 2022

Depending on the value add tax limit (Umsatzsteuergrenze) it is in Germany not necessary transfer taxes and therefor not necessary to show them in the mails. This commit provides an option in the config to turn showing taxes on and off.

@MaxGitHubAccount Thank you for your PR. Sorry, I wanted to add some commits to your PR and I ended up in creating a new branch and therefore this new PR.

I made some code cleaning.

maximilian and others added 3 commits August 25, 2022 17:21
…rmany not necessary transfer taxes and therefor not necessary to show them in the mails. This commit provides an option in the config to turn showing taxes on and off.
@mrothauer mrothauer self-assigned this Aug 25, 2022
@mrothauer mrothauer added this to Fertig für v3.6 (in develop-branch) in Roadmap v3.6 (Summer Release 2023) Aug 25, 2022
@mrothauer mrothauer merged commit b6f65f3 into develop Aug 25, 2022
@mrothauer mrothauer deleted the pr-868 branch August 25, 2022 19:31
@@ -52,20 +52,16 @@
<tbody>


<tr><td style="padding-top:20px;">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left the padding here before, because if you move it into the bracket.


<?php if (Configure::read('app.sendTaxViaMail')) { ?>

<?php if (Configure::read('app.showTaxInOrderConfirmationEmail')) { ?>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here - into this bracket, then the next message will not have a padding to the table before, which leaves it sticking together, which does not look nice in the email.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, it was a bit hard to read and I thought it was an error.
should be ok now:
https://github.com/foodcoopshop/foodcoopshop/blob/develop/templates/email/html/order_successful_self_service.php

@MaxGitHubAccount
Copy link

@MaxGitHubAccount Thank you for your PR. Sorry, I wanted to add some commits to your PR and I ended up in creating a new branch and therefore this new PR.

Very much welcome, no worries - you can edit and change whatever you like, already happy to see this in the next release. Thanks for including it!

@mrothauer mrothauer removed this from Fertig für v3.6 (in develop-branch) in Roadmap v3.6 (Summer Release 2023) Aug 30, 2022
@mrothauer mrothauer added this to Fertig für v3.5 (in develop-branch) in Roadmap v3.5 (Autumn Release 2022) Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Roadmap v3.5 (Autumn Release 2022)
Fertig für v3.5 (in develop-branch)
Development

Successfully merging this pull request may close these issues.

None yet

2 participants