|
add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display
------------------------------------------------------------------------------------------------------- Key: OFBIZ-4104 URL: https://issues.apache.org/jira/browse/OFBIZ-4104 Project: OFBiz Issue Type: Improvement Components: order Affects Versions: SVN trunk Reporter: Jonas Hoef Fix For: SVN trunk Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
[ https://issues.apache.org/jira/browse/OFBIZ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonas Hoef updated OFBIZ-4104: ------------------------------ Attachment: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch > add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display > ------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4104 > URL: https://issues.apache.org/jira/browse/OFBIZ-4104 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Jonas Hoef > Fix For: SVN trunk > > Attachments: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch > > > Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4104. ---------------------------------- Resolution: Fixed Assignee: Jacques Le Roux Thanks Jonas, This is a nice improvement. But please in the future provide patches with no absolute pathes. Your patch did not apply until I removed the a/ and b/... Your patch is in trunk at r1057571 > add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display > ------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4104 > URL: https://issues.apache.org/jira/browse/OFBIZ-4104 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Jonas Hoef > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch > > > Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
I hate seeing stuff like this committed in this way. Was there any review and discussion of where tax data is currently stored in the cart item? What about more complex tax cases (like multiple tax authorities, happens with VAT too...) where these simple numbers are not so useful and my be misleading? What about cases where tax values change and the price doesn't (yep, it's in the code...). This code is already full of stuff that is unused, or that if used will cause problems. Why add more without review? These methods could very well exist, but the data shouldn't come from there... it should come from the tax adjustments associated with the item. -David On Jan 11, 2011, at 2:45 AM, Jacques Le Roux (JIRA) wrote: > > [ https://issues.apache.org/jira/browse/OFBIZ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Jacques Le Roux closed OFBIZ-4104. > ---------------------------------- > > Resolution: Fixed > Assignee: Jacques Le Roux > > Thanks Jonas, > > This is a nice improvement. But please in the future provide patches with no absolute pathes. Your patch did not apply until I removed the a/ and b/... > > Your patch is in trunk at r1057571 > > > >> add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display >> ------------------------------------------------------------------------------------------------------- >> >> Key: OFBIZ-4104 >> URL: https://issues.apache.org/jira/browse/OFBIZ-4104 >> Project: OFBiz >> Issue Type: Improvement >> Components: order >> Affects Versions: SVN trunk >> Reporter: Jonas Hoef >> Assignee: Jacques Le Roux >> Fix For: SVN trunk >> >> Attachments: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch >> >> >> Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > |
|
Administrator
|
Sorry David,
I did not thought it could be a problem to add them there. I will revert right now... Jacques From: "David E Jones" <[hidden email]> > I hate seeing stuff like this committed in this way. > > Was there any review and discussion of where tax data is currently stored in the cart item? What about more complex tax cases > (like multiple tax authorities, happens with VAT too...) where these simple numbers are not so useful and my be misleading? What > about cases where tax values change and the price doesn't (yep, it's in the code...). > > This code is already full of stuff that is unused, or that if used will cause problems. Why add more without review? > > These methods could very well exist, but the data shouldn't come from there... it should come from the tax adjustments associated > with the item. > > -David > > > On Jan 11, 2011, at 2:45 AM, Jacques Le Roux (JIRA) wrote: > >> >> [ https://issues.apache.org/jira/browse/OFBIZ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] >> >> Jacques Le Roux closed OFBIZ-4104. >> ---------------------------------- >> >> Resolution: Fixed >> Assignee: Jacques Le Roux >> >> Thanks Jonas, >> >> This is a nice improvement. But please in the future provide patches with no absolute pathes. Your patch did not apply until I >> removed the a/ and b/... >> >> Your patch is in trunk at r1057571 >> >> >> >>> add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display >>> ------------------------------------------------------------------------------------------------------- >>> >>> Key: OFBIZ-4104 >>> URL: https://issues.apache.org/jira/browse/OFBIZ-4104 >>> Project: OFBiz >>> Issue Type: Improvement >>> Components: order >>> Affects Versions: SVN trunk >>> Reporter: Jonas Hoef >>> Assignee: Jacques Le Roux >>> Fix For: SVN trunk >>> >>> Attachments: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch >>> >>> >>> Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the >>> proposed improvement. >> >> -- >> This message is automatically generated by JIRA. >> - >> You can reply to this email to add a comment to the issue online. >> > |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reopened OFBIZ-4104: ------------------------------------ Finally I revert, here is message from David E. Jones in dev ML : http://markmail.org/message/dod2fbvmi7tsoi2t {quote} I hate seeing stuff like this committed in this way. Was there any review and discussion of where tax data is currently stored in the cart item? What about more complex tax cases (like multiple tax authorities, happens with VAT too...) where these simple numbers are not so useful and my be misleading? What about cases where tax values change and the price doesn't (yep, it's in the code...). This code is already full of stuff that is unused, or that if used will cause problems. Why add more without review? These methods could very well exist, but the data shouldn't come from there... it should come from the tax adjustments associated with the item. -David {quote} > add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display > ------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4104 > URL: https://issues.apache.org/jira/browse/OFBIZ-4104 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Jonas Hoef > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch > > > Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980059#action_12980059 ] Jacques Le Roux commented on OFBIZ-4104: ---------------------------------------- Reverted at r1057580 > add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display > ------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4104 > URL: https://issues.apache.org/jira/browse/OFBIZ-4104 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Jonas Hoef > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch > > > Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980069#action_12980069 ] Jacques Le Roux commented on OFBIZ-4104: ---------------------------------------- Jonas, I must say I did not thought much about it. Now David gave you a clue... > add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display > ------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-4104 > URL: https://issues.apache.org/jira/browse/OFBIZ-4104 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Jonas Hoef > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-4104-tax-enhancement-shoppingcartitem.patch > > > Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
Hi,
> But please in the future provide patches with no absolute pathes. Your patch did not apply until I removed the a/ and b/... What tool are you applying the patch with? If you're using "patch", just do a "patch -p1 <x.patch" instead of "patch -p0 <x.patch" and it will work. Martin |
|
Administrator
|
We mostly use Eclipse. So it's easier/faster for us to simply apply the patch inside using Subclipse clipboard option.
You may refer to https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices#OFBizContributorsBestPractices-HowtoSendinYourContributions(orhowtocreateandapplypatches) Thanks Jacques From: "Martin Kreidenweis" <[hidden email]> > Hi, > >> But please in the future provide patches with no absolute pathes. Your patch did not apply until I removed the a/ and b/... > > What tool are you applying the patch with? If you're using "patch", just do a "patch -p1 <x.patch" > instead of "patch -p0 <x.patch" and it will work. > > Martin > |
| Free forum by Nabble | Edit this page |
