Skip to content

Simplify Spree::TaxRate#compute_amount#684

Merged
cbrunsdon merged 1 commit intomasterfrom
unknown repository
Jan 12, 2016
Merged

Simplify Spree::TaxRate#compute_amount#684
cbrunsdon merged 1 commit intomasterfrom
unknown repository

Conversation

@mamhoff
Copy link
Copy Markdown
Contributor

@mamhoff mamhoff commented Jan 12, 2016

The current taxation system does this strange trick when refunding
VAT: When there should be a refund because the order's tax zone
is outside the default vat zone, the computed amount is turned negative.

This commit makes this behaviour a little bit clearer.

The current taxation system does this strange trick when refunding
VAT: When there should be a refund because the order's tax zone
is outside the default vat zone, the computed amount is turned negative.

This commit makes this behaviour a little bit clearer.
@jhawthorn
Copy link
Copy Markdown
Contributor

Reads much better to me 👍

@cbrunsdon
Copy link
Copy Markdown
Contributor

Agreed, thanks @mamhoff.

You're doing amazing things for the codebase but you're terrible at taking vacations 👎 .

cbrunsdon added a commit that referenced this pull request Jan 12, 2016
Simplify `Spree::TaxRate#compute_amount`
@cbrunsdon cbrunsdon merged commit 40c919e into solidusio:master Jan 12, 2016
@mamhoff
Copy link
Copy Markdown
Contributor Author

mamhoff commented Jan 12, 2016

Really? I think I'm having a pretty good time :)
On Jan 12, 2016 3:10 PM, "Clarke Brunsdon" notifications@github.com wrote:

Agreed, thanks @mamhoff https://github.com/mamhoff.

You're doing amazing things for the codebase but you're terrible at taking
vacations [image: 👎] .


Reply to this email directly or view it on GitHub
#684 (comment).

@mamhoff mamhoff deleted the simplify-tax-rate-compute branch January 17, 2016 17:12
@mamhoff mamhoff mentioned this pull request Mar 16, 2016
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants