Author: jleroux
Date: Mon Oct 10 17:57:38 2016
New Revision: 1764158
URL:
http://svn.apache.org/viewvc?rev=1764158&view=revLog:
Fixed: deleteCustomerTaxAuthInfo page called from /ecommerce/control/viewprofile
(OFBIZ-4106)
As explained on dev ML, I prefers to remove the possibility of creating "Tax
Identifications and Exemptions". Because users would actually need to have the
ACCOUNTING_CREATE or ACCOUNTING_ADMIN permissions to do so (or higher admin
permissions) and opening the accounting (or total) admin right to a customer
seems not secure to me.
Moreover the same exists in party and it needs admin rights in both places,
so does not make sense in ecommerce IMO.
Sharan : The only case I can think of is that a customer may want to manage
their own tax info. For example if I know my VAT number or Tax number
- do I add it to my profile, or do I have to wait for it be verified and
completed by the accounting administrator?
Generally I think companies would want an accounting administrator to take
control of this type of tax and exemption information (rather than leave it up
to the customer themselves) as they will need to be responsible for it
and report on it to their tax authorities so they need to make sure it is correct.
Thanks: MichaĆ Cukierman for report and Sharan for functional confirmation
Modified:
ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl?rev=1764158&r1=1764157&r2=1764158&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl Mon Oct 10 17:57:38 2016
@@ -336,20 +336,6 @@ under the License.
<#-- ============================================================= -->
<div class="screenlet">
- <h3>${uiLabelMap.PartyTaxIdentification}</h3>
- <div class="screenlet-body">
- <form method="post" action="<@ofbizUrl>createCustomerTaxAuthInfo</@ofbizUrl>" name="createCustTaxAuthInfoForm">
- <div>
- <input type="hidden" name="partyId" value="${party.partyId}"/>
- ${screens.render("component://order/widget/ordermgr/OrderEntryOrderScreens.xml#customertaxinfo")}
- <input type="submit" value="${uiLabelMap.CommonAdd}" class="smallSubmit"/>
- </div>
- </form>
- </div>
-</div>
-
-<#-- ============================================================= -->
-<div class="screenlet">
<div class="boxlink">
<a href="<@ofbizUrl>changepassword</@ofbizUrl>" class="submenutextright">${uiLabelMap.PartyChangePassword}</a>
</div>