A patch from Blas Rodriguez Somoza
OFBIZ-3614 - XHTML validation errors (specialpurpose_ecommerce) https://issues.apache.org/jira/browse/OFBIZ-3614 XHTML validation errors * Unclosed INPUT * attributes without values (checked, selected, disabled, etc) * attribute values without " * Uppercase tags or attributes. * Unencoded ampersands in urls. Other errors: viewprofile.ftl Wrong markup at 248, 250. Entity without final ;  </#if> git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@932719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -51,7 +51,7 @@ under the License.
|
||||
<#else>
|
||||
|
||||
<#-- standard question options -->
|
||||
<td align='right' nowrap>
|
||||
<td align='right' nowrap="nowrap">
|
||||
<#assign answerString = "answers">
|
||||
<#if (results._total?default(0) == 1)>
|
||||
<#assign answerString = "answer">
|
||||
|
||||
@@ -59,8 +59,8 @@ under the License.
|
||||
</div>
|
||||
<div style="padding-top: 10px;" class="insideHeaderText">
|
||||
<form action="#">
|
||||
<input type="text" class="inputBox" name="search" size="20">
|
||||
<input type="submit" class="smallSubmit" value="Search">
|
||||
<input type="text" class="inputBox" name="search" size="20" />
|
||||
<input type="submit" class="smallSubmit" value="Search" />
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -25,14 +25,14 @@ under the License.
|
||||
<#assign currentSearchCategoryName = categoryContentWrapper.get("CATEGORY_NAME")?string />
|
||||
<#list searchConstraintStrings as searchConstraintString>
|
||||
<#if searchConstraintString.indexOf(currentSearchCategoryName) != -1>
|
||||
<div id="searchConstraints"> <a href="<@ofbizUrl>category/~category_id=${productCategoryId}?removeConstraint=${searchConstraintString_index}&clearSearch=N<#if previousCategoryId?exists>&searchCategoryId=${previousCategoryId}</#if></@ofbizUrl>" class="buttontext">X</a><#noescape> ${searchConstraintString}</#noescape></div>
|
||||
<div id="searchConstraints"> <a href="<@ofbizUrl>category/~category_id=${productCategoryId}?removeConstraint=${searchConstraintString_index}&clearSearch=N<#if previousCategoryId?exists>&searchCategoryId=${previousCategoryId}</#if></@ofbizUrl>" class="buttontext">X</a><#noescape> ${searchConstraintString}</#noescape></div>
|
||||
</#if>
|
||||
</#list>
|
||||
</#if>
|
||||
</#escape>
|
||||
<#list searchConstraintStrings as searchConstraintString>
|
||||
<#if searchConstraintString.indexOf("Category: ") = -1 && searchConstraintString != "Exclude Variants">
|
||||
<div id="searchConstraints"> <a href="<@ofbizUrl>category/~category_id=${productCategoryId}?removeConstraint=${searchConstraintString_index}&clearSearch=N<#if currentSearchCategory?exists>&searchCategoryId=${currentSearchCategory.productCategoryId}</#if></@ofbizUrl>" class="buttontext">X</a> ${searchConstraintString}</div>
|
||||
<div id="searchConstraints"> <a href="<@ofbizUrl>category/~category_id=${productCategoryId}?removeConstraint=${searchConstraintString_index}&clearSearch=N<#if currentSearchCategory?exists>&searchCategoryId=${currentSearchCategory.productCategoryId}</#if></@ofbizUrl>" class="buttontext">X</a> ${searchConstraintString}</div>
|
||||
</#if>
|
||||
</#list>
|
||||
<#if showSubCats>
|
||||
@@ -42,7 +42,7 @@ under the License.
|
||||
<#list subCategoryList as category>
|
||||
<#assign subCategoryContentWrapper = category.categoryContentWrapper />
|
||||
<#assign categoryName = subCategoryContentWrapper.get("CATEGORY_NAME")?if_exists?string />
|
||||
<li><a href="<@ofbizUrl>category/~category_id=${productCategoryId}?SEARCH_CATEGORY_ID${index}=${category.productCategoryId}&searchCategoryId=${category.productCategoryId}&clearSearch=N</@ofbizUrl>">${categoryName?if_exists} (${category.count})</li>
|
||||
<li><a href="<@ofbizUrl>category/~category_id=${productCategoryId}?SEARCH_CATEGORY_ID${index}=${category.productCategoryId}&searchCategoryId=${category.productCategoryId}&clearSearch=N</@ofbizUrl>">${categoryName?if_exists} (${category.count})</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -52,7 +52,7 @@ under the License.
|
||||
<strong>${colorFeatureType.description}</strong>
|
||||
<ul>
|
||||
<#list colors as color>
|
||||
<li><a href="<@ofbizUrl>category/~category_id=${productCategoryId}?pft_${color.productFeatureTypeId}=${color.productFeatureId}&clearSearch=N<#if currentSearchCategory?exists>&searchCategoryId=${currentSearchCategory.productCategoryId}</#if></@ofbizUrl>">${color.description} (${color.featureCount})</li>
|
||||
<li><a href="<@ofbizUrl>category/~category_id=${productCategoryId}?pft_${color.productFeatureTypeId}=${color.productFeatureId}&clearSearch=N<#if currentSearchCategory?exists>&searchCategoryId=${currentSearchCategory.productCategoryId}</#if></@ofbizUrl>">${color.description} (${color.featureCount})</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -62,7 +62,7 @@ under the License.
|
||||
<strong>${uiLabelMap.EcommercePriceRange}</strong>
|
||||
<ul>
|
||||
<#list priceRangeList as priceRange>
|
||||
<li><a href="<@ofbizUrl>category/~category_id=${productCategoryId}?LIST_PRICE_LOW=${priceRange.low}&LIST_PRICE_HIGH=${priceRange.high}&clearSearch=N<#if currentSearchCategory?exists>&searchCategoryId=${currentSearchCategory.productCategoryId}</#if></@ofbizUrl>"><@ofbizCurrency amount=priceRange.low /> - <@ofbizCurrency amount=priceRange.high /> (${priceRange.count})</a><li>
|
||||
<li><a href="<@ofbizUrl>category/~category_id=${productCategoryId}?LIST_PRICE_LOW=${priceRange.low}&LIST_PRICE_HIGH=${priceRange.high}&clearSearch=N<#if currentSearchCategory?exists>&searchCategoryId=${currentSearchCategory.productCategoryId}</#if></@ofbizUrl>"><@ofbizCurrency amount=priceRange.low /> - <@ofbizCurrency amount=priceRange.high /> (${priceRange.count})</a><li>
|
||||
</#list>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -23,7 +23,7 @@ under the License.
|
||||
<input type="hidden" name="VIEW_SIZE" value="10"/>
|
||||
<input type="hidden" name="PAGING" value="Y"/>
|
||||
<table>
|
||||
<input type="hidden" name="SEARCH_CATALOG_ID" value="${currentCatalogId}">
|
||||
<input type="hidden" name="SEARCH_CATALOG_ID" value="${currentCatalogId}" />
|
||||
<#if searchCategory?has_content>
|
||||
<input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}"/>
|
||||
<tr valign="middle">
|
||||
@@ -41,9 +41,9 @@ under the License.
|
||||
</#if>
|
||||
<tr valign="middle">
|
||||
<td class="label">${uiLabelMap.ProductKeywords}</td>
|
||||
<td><input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}">
|
||||
${uiLabelMap.CommonAny} <input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked</#if>>
|
||||
${uiLabelMap.CommonAll} <input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked</#if>>
|
||||
<td><input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}" />
|
||||
${uiLabelMap.CommonAny} <input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if> />
|
||||
${uiLabelMap.CommonAll} <input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if> />
|
||||
</td>
|
||||
</tr>
|
||||
<#list productFeatureTypeIdsOrdered as productFeatureTypeId>
|
||||
@@ -117,7 +117,7 @@ under the License.
|
||||
<#-- searchOptions type is ProductSearchSession.ProductSearchOptions -->
|
||||
<div>
|
||||
${uiLabelMap.EcommerceSearchNumber}${searchOptions_index + 1}
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistoryAndSearch?searchHistoryIndex=${searchOptions_index}&clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonSearch}</a>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistoryAndSearch?searchHistoryIndex=${searchOptions_index}&clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonSearch}</a>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistory?searchHistoryIndex=${searchOptions_index}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRefine}</a>
|
||||
</div>
|
||||
<#assign constraintStrings = searchOptions.searchGetConstraintStrings(false, delegator, locale)>
|
||||
|
||||
@@ -205,7 +205,7 @@ function getConfigDetails(event) {
|
||||
<#assign productLargeImageUrl = firstLargeImage>
|
||||
</#if>
|
||||
<#if productLargeImageUrl?string?has_content>
|
||||
<a href="javascript:popupDetail();"><img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${productLargeImageUrl?if_exists}</@ofbizContentUrl>' name='mainImage' vspace='5' hspace='5' border='0' width='200' align='left'></a>
|
||||
<a href="javascript:popupDetail();"><img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${productLargeImageUrl?if_exists}</@ofbizContentUrl>' name='mainImage' vspace='5' hspace='5' border='0' width='200' align='left' /></a>
|
||||
</#if>
|
||||
</td>
|
||||
<td align="right" valign="top">
|
||||
@@ -308,17 +308,17 @@ function getConfigDetails(event) {
|
||||
</select>
|
||||
</div>
|
||||
</#list>
|
||||
<input type='hidden' name="product_id" value='${product.productId}'>
|
||||
<input type='hidden' name="add_product_id" value='NULL'>
|
||||
<input type='hidden' name="product_id" value='${product.productId}' />
|
||||
<input type='hidden' name="add_product_id" value='NULL' />
|
||||
<#else>
|
||||
<input type='hidden' name="product_id" value='${product.productId}'>
|
||||
<input type='hidden' name="add_product_id" value='NULL'>
|
||||
<input type='hidden' name="product_id" value='${product.productId}' />
|
||||
<input type='hidden' name="add_product_id" value='NULL' />
|
||||
<div class='tabletext'><b>${uiLabelMap.ProductItemOutOfStock}.</b></div>
|
||||
<#assign inStock = false>
|
||||
</#if>
|
||||
<#else>
|
||||
<input type='hidden' name="product_id" value='${product.productId}'>
|
||||
<input type='hidden' name="add_product_id" value='${product.productId}'>
|
||||
<input type='hidden' name="product_id" value='${product.productId}' />
|
||||
<input type='hidden' name="add_product_id" value='${product.productId}' />
|
||||
<#if productNotAvailable?exists>
|
||||
<#assign isStoreInventoryRequired = Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryRequired(request, product)>
|
||||
<#if isStoreInventoryRequired>
|
||||
@@ -349,18 +349,18 @@ function getConfigDetails(event) {
|
||||
</#if>
|
||||
<div id="add_amount" class="${hiddenStyle}">
|
||||
<span style="white-space: nowrap;"><b>Amount:</b></span>
|
||||
<input type="text" size="5" name="add_amount" value="">
|
||||
<input type="text" size="5" name="add_amount" value="" />
|
||||
</div>
|
||||
<#if !configwrapper.isCompleted()>
|
||||
<div>[${uiLabelMap.EcommerceProductNotConfigured}]
|
||||
<input type="text" size="5" name="quantity" value="0" disabled></div>
|
||||
<input type="text" size="5" name="quantity" value="0" disabled="disabled" /></div>
|
||||
<#else>
|
||||
<a href="javascript:addItem()" class="buttontext"><span style="white-space: nowrap;">${uiLabelMap.OrderAddToCart}</span></a>
|
||||
<input type="text" size="5" name="quantity" value="1" >
|
||||
<input type="text" size="5" name="quantity" value="1" />
|
||||
</#if>
|
||||
</#if>
|
||||
<#if requestParameters.category_id?exists>
|
||||
<input type='hidden' name='category_id' value='${requestParameters.category_id}'>
|
||||
<input type='hidden' name='category_id' value='${requestParameters.category_id}' />
|
||||
</#if>
|
||||
</#if>
|
||||
</form>
|
||||
@@ -368,9 +368,9 @@ function getConfigDetails(event) {
|
||||
<#if sessionAttributes.userLogin?has_content && sessionAttributes.userLogin.userLoginId != "anonymous">
|
||||
|
||||
<form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
|
||||
<input type="hidden" name="productId" value="${product.productId}">
|
||||
<input type="hidden" name="product_id" value="${product.productId}">
|
||||
<input type="hidden" name="configId" value="${configId?if_exists}">
|
||||
<input type="hidden" name="productId" value="${product.productId}" />
|
||||
<input type="hidden" name="product_id" value="${product.productId}" />
|
||||
<input type="hidden" name="configId" value="${configId?if_exists}" />
|
||||
<select name="shoppingListId">
|
||||
<#if shoppingLists?has_content>
|
||||
<#list shoppingLists as shoppingList>
|
||||
@@ -381,7 +381,7 @@ function getConfigDetails(event) {
|
||||
<option value="">${uiLabelMap.OrderNewShoppingList}</option>
|
||||
</select>
|
||||
|
||||
<input type="text" size="5" name="quantity" value="1">
|
||||
<input type="text" size="5" name="quantity" value="1" />
|
||||
<a href="javascript:document.addToShoppingList.submit();" class="buttontext">[${uiLabelMap.OrderAddToShoppingList}]</a>
|
||||
</form>
|
||||
<#else> <br />
|
||||
@@ -414,7 +414,7 @@ function getConfigDetails(event) {
|
||||
<#assign imageUrl = "/images/defaultImage.jpg">
|
||||
</#if>
|
||||
<td align="center" valign="bottom">
|
||||
<a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${imageUrl}</@ofbizContentUrl>" border="0" width="60" height="60"></a>
|
||||
<a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@ofbizContentUrl>${contentPathPrefix?if_exists}${imageUrl}</@ofbizContentUrl>" border="0" width="60" height="60" /></a>
|
||||
<br />
|
||||
<a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);" class="buttontext">${key}</a>
|
||||
</td>
|
||||
@@ -439,18 +439,18 @@ function getConfigDetails(event) {
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="2"><hr class='sepbar'></td></tr>
|
||||
<tr><td colspan="2"><hr class='sepbar'/></td></tr>
|
||||
|
||||
<#-- Any attributes/etc may go here -->
|
||||
<#-- Product Configurator -->
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<form name="configform" id="configFormId" method="post" action="<@ofbizUrl>product<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
|
||||
<input type='hidden' name='add_product_id' value='${product.productId}'>
|
||||
<input type='hidden' name='add_category_id' value=''>
|
||||
<input type='hidden' name='quantity' value='1'>
|
||||
<input type='hidden' name='add_product_id' value='${product.productId}' />
|
||||
<input type='hidden' name='add_category_id' value='' />
|
||||
<input type='hidden' name='quantity' value='1' />
|
||||
|
||||
<input type='hidden' name='product_id' value='${product.productId}'>
|
||||
<input type='hidden' name='product_id' value='${product.productId}' />
|
||||
<table >
|
||||
<tr>
|
||||
<td>
|
||||
@@ -475,7 +475,7 @@ function getConfigDetails(event) {
|
||||
</#if>
|
||||
<#assign image = question.content.get("IMAGE_URL")?if_exists>
|
||||
<#if image?string?has_content>
|
||||
<img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${image?if_exists}</@ofbizContentUrl>' vspace='5' hspace='5' border='0' width='200' align='left'>
|
||||
<img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${image?if_exists}</@ofbizContentUrl>' vspace='5' hspace='5' border='0' width='200' align='left' />
|
||||
</#if>
|
||||
<#else>
|
||||
<div><a href='#${question.getConfigItem().getString("configItemId")}' class="buttontext">Details</a></div>
|
||||
@@ -503,7 +503,7 @@ function getConfigDetails(event) {
|
||||
<#if renderSingleChoiceWithRadioButtons?exists && "Y" == renderSingleChoiceWithRadioButtons>
|
||||
<#-- This is the radio button implementation -->
|
||||
<#if !question.isMandatory()>
|
||||
<div><input type="radio" name='${counter}' value='<#if !question.isSelected()>checked</#if>'> No option</div>
|
||||
<div><input type="radio" name='${counter}' value='<#if !question.isSelected()>checked</#if>' /> No option</div>
|
||||
</#if>
|
||||
<#assign optionCounter = 0>
|
||||
<#list options as option>
|
||||
@@ -516,7 +516,7 @@ function getConfigDetails(event) {
|
||||
<#-- Render virtual compoennts -->
|
||||
<#if option.hasVirtualComponent()>
|
||||
<div >
|
||||
<input type='radio' name='${counter}' id="${counter}_${optionCounter}" value='${optionCounter}' onclick="javascript:checkOptionVariants('${counter}_${optionCounter}');">
|
||||
<input type='radio' name='${counter}' id="${counter}_${optionCounter}" value='${optionCounter}' onclick="javascript:checkOptionVariants('${counter}_${optionCounter}');" />
|
||||
${option.description} <#if !option.isAvailable()> (*)</#if>
|
||||
<#assign components = option.getComponents()>
|
||||
<#list components as component>
|
||||
@@ -531,7 +531,7 @@ function getConfigDetails(event) {
|
||||
</div>
|
||||
<#else>
|
||||
<div>
|
||||
<input type="radio" name='${counter}' value='${optionCounter}' <#if option.isSelected() || (!question.isSelected() && optionCounter == 0 && question.isMandatory())>checked</#if>>
|
||||
<input type="radio" name='${counter}' value='${optionCounter}' <#if option.isSelected() || (!question.isSelected() && optionCounter == 0 && question.isMandatory())>checked="checked"</#if> />
|
||||
${option.description}
|
||||
<#if (shownPrice > 0)>+<@ofbizCurrency amount=shownPrice isoCode=price.currencyUsed/> </#if>
|
||||
<#if (shownPrice < 0)>-<@ofbizCurrency amount=(-1*shownPrice) isoCode=price.currencyUsed/> </#if>
|
||||
@@ -576,7 +576,7 @@ function getConfigDetails(event) {
|
||||
<#-- Render virtual compoennts -->
|
||||
<#if option.hasVirtualComponent()>
|
||||
<div >
|
||||
<input type='CHECKBOX' name='${counter}' id="${counter}_${optionCounter}" value='${optionCounter}' onclick="javascript:checkOptionVariants('${counter}_${optionCounter}');">
|
||||
<input type='CHECKBOX' name='${counter}' id="${counter}_${optionCounter}" value='${optionCounter}' onclick="javascript:checkOptionVariants('${counter}_${optionCounter}');" />
|
||||
${option.description} <#if !option.isAvailable()> (*)</#if>
|
||||
<#assign components = option.getComponents()>
|
||||
<#list components as component>
|
||||
@@ -591,7 +591,7 @@ function getConfigDetails(event) {
|
||||
</div>
|
||||
<#else>
|
||||
<div>
|
||||
<input type='CHECKBOX' name='${counter}' value='${optionCounter}' <#if option.isSelected()>checked</#if>>
|
||||
<input type='CHECKBOX' name='${counter}' value='${optionCounter}' <#if option.isSelected()>checked="checked"</#if> />
|
||||
${option.description} +<@ofbizCurrency amount=option.price isoCode=price.currencyUsed/><#if !option.isAvailable()> (*)</#if>
|
||||
</div>
|
||||
</#if>
|
||||
@@ -619,7 +619,7 @@ function getConfigDetails(event) {
|
||||
</#if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2"><hr class='sepbar'></td></tr>
|
||||
<tr><td colspan="2"><hr class='sepbar'/></td></tr>
|
||||
<#if productReviews?has_content>
|
||||
<#list productReviews as productReview>
|
||||
<#assign postedUserLogin = productReview.getRelatedOne("UserLogin")>
|
||||
@@ -655,7 +655,7 @@ function getConfigDetails(event) {
|
||||
</#list>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a href="<@ofbizUrl>reviewProduct?category_id=${categoryId?if_exists}&product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductReviewThisProduct}!</a>
|
||||
<a href="<@ofbizUrl>reviewProduct?category_id=${categoryId?if_exists}&product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductReviewThisProduct}!</a>
|
||||
</td>
|
||||
</tr>
|
||||
<#else>
|
||||
@@ -666,7 +666,7 @@ function getConfigDetails(event) {
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a href="<@ofbizUrl>reviewProduct?category_id=${categoryId?if_exists}&product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductBeTheFirstToReviewThisProduct}</a>
|
||||
<a href="<@ofbizUrl>reviewProduct?category_id=${categoryId?if_exists}&product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductBeTheFirstToReviewThisProduct}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -20,7 +20,7 @@ under the License.
|
||||
<body>
|
||||
<#if requestParameters.detail?has_content>
|
||||
<#--assign detailImage = Static["org.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)-->
|
||||
<img src="${requestParameters.detail}">
|
||||
<img src="${requestParameters.detail}" alt="" />
|
||||
<#else>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!-- //
|
||||
|
||||
@@ -36,7 +36,7 @@ under the License.
|
||||
${uiLabelMap.EcommerceSearchNumber} ${searchOptions_index + 1}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistoryAndSearch?searchHistoryIndex=${searchOptions_index}&clearSearch=N</@ofbizUrl>" class="button">${uiLabelMap.CommonSearch}</a>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistoryAndSearch?searchHistoryIndex=${searchOptions_index}&clearSearch=N</@ofbizUrl>" class="button">${uiLabelMap.CommonSearch}</a>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistory?searchHistoryIndex=${searchOptions_index}</@ofbizUrl>" class="button">${uiLabelMap.CommonRefine}</a>
|
||||
</li>
|
||||
<#assign constraintStrings = searchOptions.searchGetConstraintStrings(false, delegator, locale)>
|
||||
|
||||
@@ -546,7 +546,7 @@ ${virtualJavaScript?if_exists}
|
||||
<label>End Date(yyyy-mm-dd)</label><input type="text" size="10" name="reservEnd"/><a href="javascript:call_cal_notime(document.addform.reservEnd, '${nowTimestamp.toString().substring(0,10)}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" alt="Calendar" alt="" /></a>
|
||||
</div>
|
||||
<div>
|
||||
<#--td nowrap align="right">Number<br />of days</td><td><input type="textt" size="4" name="reservLength"/></td></tr><tr><td> </td><td align="right" nowrap> </td-->
|
||||
<#--td nowrap="nowrap" align="right">Number<br />of days</td><td><input type="textt" size="4" name="reservLength"/></td></tr><tr><td> </td><td align="right" nowrap="nowrap"> </td-->
|
||||
Number of persons<input type="text" size="4" name="reservPersons" value="2"/>
|
||||
Number of rooms<input type="text" size="5" name="quantity" value="1"/>
|
||||
</div>
|
||||
@@ -589,7 +589,7 @@ ${virtualJavaScript?if_exists}
|
||||
</select>
|
||||
|
||||
<#if product.productTypeId?if_exists == "ASSET_USAGE">
|
||||
${uiLabelMap.CommonStartDate} (yyyy-mm-dd)<input type="text" size="10" name="reservStartStr" >Number of days<input type="text" size="4" name="reservLength"> Number of persons<input type="text" size="4" name="reservPersons" value="1">Qty <input type="text" size="5" name="quantity" value="1">
|
||||
${uiLabelMap.CommonStartDate} (yyyy-mm-dd)<input type="text" size="10" name="reservStartStr" />Number of days<input type="text" size="4" name="reservLength" /> Number of persons<input type="text" size="4" name="reservPersons" value="1" />Qty <input type="text" size="5" name="quantity" value="1" />
|
||||
<#else>
|
||||
<input type="text" size="5" name="quantity" value="1" />
|
||||
<input type="hidden" name="reservStartStr" value= "" />
|
||||
|
||||
@@ -24,9 +24,9 @@ under the License.
|
||||
<body class="ecbody">
|
||||
<form name="tellafriend" action="<@ofbizUrl>emailFriend</@ofbizUrl>" method="post">
|
||||
<#if requestParameters.productId?exists>
|
||||
<input type="hidden" name="pageUrl" value="<@ofbizUrl fullPath="true" encode="false" secure="false">/product?product_id=${requestParameters.productId}</@ofbizUrl>">
|
||||
<input type="hidden" name="pageUrl" value="<@ofbizUrl fullPath="true" encode="false" secure="false">/product?product_id=${requestParameters.productId}</@ofbizUrl>" />
|
||||
<#elseif requestParameters.categoryId?exists>
|
||||
<input type="hidden" name="pageUrl" value="<@ofbizUrl fullPath="true" encode="false" secure="false">/category?category_id=${requestParameters.categoryId}</@ofbizUrl>">
|
||||
<input type="hidden" name="pageUrl" value="<@ofbizUrl fullPath="true" encode="false" secure="false">/category?category_id=${requestParameters.categoryId}</@ofbizUrl>" />
|
||||
<#else>
|
||||
<#assign cancel = "Y">
|
||||
</#if>
|
||||
@@ -34,11 +34,11 @@ under the License.
|
||||
<table>
|
||||
<tr>
|
||||
<td>${uiLabelMap.CommonYouremail}:</td>
|
||||
<td><input type="text" name="sendFrom" size="30"></td>
|
||||
<td><input type="text" name="sendFrom" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>${uiLabelMap.CommonEmailTo}:</td>
|
||||
<td><input type="text" name="sendTo" size="30"></td>
|
||||
<td><input type="text" name="sendTo" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">${uiLabelMap.CommonMessage}</td>
|
||||
@@ -50,7 +50,7 @@ under the License.
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<input type="submit" value="${uiLabelMap.CommonSend}">
|
||||
<input type="submit" value="${uiLabelMap.CommonSend}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -42,8 +42,8 @@ under the License.
|
||||
</td>
|
||||
<td align="right" valign="middle">
|
||||
<div class="tabletext">
|
||||
${uiLabelMap.CommonAll} <input type="radio" name="any_or_all" value="all" checked>
|
||||
${uiLabelMap.CommonAny} <input type="radio" name="any_or_all" value="any">
|
||||
${uiLabelMap.CommonAll} <input type="radio" name="any_or_all" value="all" checked="checked" />
|
||||
${uiLabelMap.CommonAny} <input type="radio" name="any_or_all" value="any" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -78,8 +78,8 @@ under the License.
|
||||
</#list>
|
||||
<div class="tabletext">${uiLabelMap.ProductSortedBy}: ${searchSortOrderString}</div>
|
||||
<div class="tabletext">
|
||||
${uiLabelMap.ProductNewSearch}<input type="radio" name="clearSearch" value="Y" checked>
|
||||
${uiLabelMap.CommonRefineSearch}<input type="radio" name="clearSearch" value="N">
|
||||
${uiLabelMap.ProductNewSearch}<input type="radio" name="clearSearch" value="Y" checked="checked" />
|
||||
${uiLabelMap.CommonRefineSearch}<input type="radio" name="clearSearch" value="N" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -31,14 +31,14 @@ under the License.
|
||||
<#if !supplierProduct?exists>
|
||||
<h1>${uiLabelMap.EcommerceAddNewDigitalProduct}</h1>
|
||||
<form method="post" action="<@ofbizUrl>createCustomerDigitalDownloadProduct</@ofbizUrl>" name="editdigitaluploadform" style="margin: 0;">
|
||||
<input type="hidden" name="productStoreId" value="${productStore.productStoreId}">
|
||||
<input type="hidden" name="productStoreId" value="${productStore.productStoreId}" />
|
||||
<#else>
|
||||
<h1>${uiLabelMap.EcommerceUpdateDigitalProduct}</h1>
|
||||
<form method="post" action="<@ofbizUrl>updateCustomerDigitalDownloadProduct</@ofbizUrl>" name="editdigitaluploadform" style="margin: 0;">
|
||||
<input type="hidden" name="productId" value="${parameters.productId}">
|
||||
<input type="hidden" name="currencyUomId" value="${parameters.currencyUomId}">
|
||||
<input type="hidden" name="minimumOrderQuantity" value="${parameters.minimumOrderQuantity}">
|
||||
<input type="hidden" name="availableFromDate" value="${parameters.availableFromDate}">
|
||||
<input type="hidden" name="productId" value="${parameters.productId}" />
|
||||
<input type="hidden" name="currencyUomId" value="${parameters.currencyUomId}" />
|
||||
<input type="hidden" name="minimumOrderQuantity" value="${parameters.minimumOrderQuantity}" />
|
||||
<input type="hidden" name="availableFromDate" value="${parameters.availableFromDate}" />
|
||||
</#if>
|
||||
<a href="<@ofbizUrl>digitalproductlist</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonBackToList}</a>
|
||||
|
||||
@@ -86,10 +86,10 @@ under the License.
|
||||
<div class="tableheadtext">${uiLabelMap.EcommerceDigitalAddFromMyFiles}</div>
|
||||
<div>
|
||||
<form method="post" action="<@ofbizUrl>addCustomerDigitalDownloadProductFile</@ofbizUrl>" name="adddigitaluploadfile" style="margin: 0;">
|
||||
<input type="hidden" name="productId" value="${parameters.productId}">
|
||||
<input type="hidden" name="currencyUomId" value="${parameters.currencyUomId}">
|
||||
<input type="hidden" name="minimumOrderQuantity" value="${parameters.minimumOrderQuantity}">
|
||||
<input type="hidden" name="availableFromDate" value="${parameters.availableFromDate}">
|
||||
<input type="hidden" name="productId" value="${parameters.productId}" />
|
||||
<input type="hidden" name="currencyUomId" value="${parameters.currencyUomId}" />
|
||||
<input type="hidden" name="minimumOrderQuantity" value="${parameters.minimumOrderQuantity}" />
|
||||
<input type="hidden" name="availableFromDate" value="${parameters.availableFromDate}" />
|
||||
<select name="contentId" class="selectBox">
|
||||
<#list ownerContentAndRoleList as ownerContentAndRole>
|
||||
<option value="${ownerContentAndRole.contentId}">${ownerContentAndRole.contentName}</option>
|
||||
|
||||
@@ -27,7 +27,7 @@ under the License.
|
||||
<#else>
|
||||
<h1>${uiLabelMap.PageTitleEditEFTAccount}</h1>
|
||||
<form method="post" action="<@ofbizUrl>updateEftAccount?DONE_PAGE=${donePage}</@ofbizUrl>" name="editeftaccountform" style="margin: 0;">
|
||||
<input type="hidden" name="paymentMethodId" value="${paymentMethodId}">
|
||||
<input type="hidden" name="paymentMethodId" value="${paymentMethodId}" />
|
||||
</#if>
|
||||
<a href="<@ofbizUrl>${donePage}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonCancelDone}</a>
|
||||
<a href="javascript:document.editeftaccountform.submit()" class="buttontext">${uiLabelMap.CommonSave}</a>
|
||||
@@ -37,28 +37,28 @@ under the License.
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingNameOnAccount}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="nameOnAccount" value="${eftAccountData.nameOnAccount?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="nameOnAccount" value="${eftAccountData.nameOnAccount?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingCompanyNameOnAccount}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccountData.companyNameOnAccount?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccountData.companyNameOnAccount?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingBankName}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="bankName" value="${eftAccountData.bankName?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="bankName" value="${eftAccountData.bankName?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingRoutingNumber}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="10" maxlength="30" name="routingNumber" value="${eftAccountData.routingNumber?if_exists}">
|
||||
<input type="text" class="inputBox" size="10" maxlength="30" name="routingNumber" value="${eftAccountData.routingNumber?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -77,14 +77,14 @@ under the License.
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingAccountNumber}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="20" maxlength="40" name="accountNumber" value="${eftAccountData.accountNumber?if_exists}">
|
||||
<input type="text" class="inputBox" size="20" maxlength="40" name="accountNumber" value="${eftAccountData.accountNumber?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonDescription}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${paymentMethodData.description?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${paymentMethodData.description?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -100,7 +100,7 @@ under the License.
|
||||
<#if curPostalAddress?exists>
|
||||
<tr>
|
||||
<td align="right" valign="top" width="1%">
|
||||
<input type="radio" name="contactMechId" value="${curContactMechId}" checked>
|
||||
<input type="radio" name="contactMechId" value="${curContactMechId}" checked="checked" />
|
||||
</td>
|
||||
<td valign="top" width="80%">
|
||||
<div class="tabletext"><b>${uiLabelMap.PartyUseCurrentAddress}:</b></div>
|
||||
@@ -146,7 +146,7 @@ under the License.
|
||||
<#assign partyContactMech = postalAddressInfo.partyContactMech>
|
||||
<tr>
|
||||
<td align="right" valign="top" width="1%">
|
||||
<input type="radio" name="contactMechId" value="${contactMech.contactMechId}">
|
||||
<input type="radio" name="contactMechId" value="${contactMech.contactMechId}" />
|
||||
</td>
|
||||
<td valign="top" width="80%">
|
||||
<#list partyContactMechPurposes as partyContactMechPurpose>
|
||||
|
||||
@@ -27,7 +27,7 @@ under the License.
|
||||
<#else>
|
||||
<h1>${uiLabelMap.AccountingEditGiftCard}</h1>
|
||||
<form method="post" action="<@ofbizUrl>updateGiftCard?DONE_PAGE=${donePage}</@ofbizUrl>" name="editgiftcardform" style="margin: 0;">
|
||||
<input type="hidden" name="paymentMethodId" value="${paymentMethodId}">
|
||||
<input type="hidden" name="paymentMethodId" value="${paymentMethodId}" />
|
||||
</#if>
|
||||
<a href="<@ofbizUrl>${donePage}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonCancelDone}]</a>
|
||||
<a href="javascript:document.editgiftcardform.submit()" class="buttontext">[${uiLabelMap.CommonSave}]</a>
|
||||
@@ -52,14 +52,14 @@ under the License.
|
||||
</#if>
|
||||
</#if>
|
||||
</#if>
|
||||
<input type="text" class="inputBox" size="20" maxlength="60" name="cardNumber" value="${pcardNumberDisplay?if_exists}">
|
||||
<input type="text" class="inputBox" size="20" maxlength="60" name="cardNumber" value="${pcardNumberDisplay?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingPINNumber}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="password" class="inputBox" size="10" maxlength="60" name="pinNumber" value="${giftCardData.pinNumber?if_exists}">
|
||||
<input type="password" class="inputBox" size="10" maxlength="60" name="pinNumber" value="${giftCardData.pinNumber?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -103,7 +103,7 @@ under the License.
|
||||
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonDescription}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${paymentMethodData.description?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${paymentMethodData.description?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -46,19 +46,19 @@ under the License.
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
</#if>
|
||||
<form method="post" action="<@ofbizUrl>querygcbalance</@ofbizUrl>">
|
||||
<input type="hidden" name="currency" value="USD">
|
||||
<input type="hidden" name="paymentConfig" value="${paymentProperties?default("payment.properties")}">
|
||||
<input type="hidden" name="currency" value="USD" />
|
||||
<input type="hidden" name="paymentConfig" value="${paymentProperties?default("payment.properties")}" />
|
||||
<tr>
|
||||
<td><div class="tableheadtext">${uiLabelMap.AccountingCardNumber}</div></td>
|
||||
<td><input type="text" class="inputBox" name="cardNumber" size="20" value="${(requestParameters.cardNumber)?if_exists}"></td>
|
||||
<td><input type="text" class="inputBox" name="cardNumber" size="20" value="${(requestParameters.cardNumber)?if_exists}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tableheadtext">${uiLabelMap.AccountingPINNumber}</div></td>
|
||||
<td><input type="text" class="inputBox" name="pin" size="15" value="${(requestParameters.pin)?if_exists}"></td>
|
||||
<td><input type="text" class="inputBox" name="pin" size="15" value="${(requestParameters.pin)?if_exists}" /></td>
|
||||
</tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center"><input type="submit" class="smallSubmit" value="${uiLabelMap.EcommerceCheckBalance}"></td>
|
||||
<td colspan="2" align="center"><input type="submit" class="smallSubmit" value="${uiLabelMap.EcommerceCheckBalance}" /></td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
@@ -23,9 +23,9 @@ under the License.
|
||||
<br />
|
||||
|
||||
<form name="gclink" method="post" action="<@ofbizUrl>linkgiftcard</@ofbizUrl>">
|
||||
<input type="hidden" name="paymentConfig" value="${paymentProperties?default("payment.properties")}">
|
||||
<input type="hidden" name="paymentConfig" value="${paymentProperties?default("payment.properties")}" />
|
||||
<#if userLogin?has_content>
|
||||
<input type="hidden" name="partyId" value="${userLogin.partyId}">
|
||||
<input type="hidden" name="partyId" value="${userLogin.partyId}" />
|
||||
</#if>
|
||||
<table align="center">
|
||||
<tr>
|
||||
@@ -35,11 +35,11 @@ under the License.
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tabletext">${uiLabelMap.AccountingCardNumber}</div></td>
|
||||
<td><input type="text" class="inputBox" name="physicalCard" size="20"></td>
|
||||
<td><input type="text" class="inputBox" name="physicalCard" size="20" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tabletext">${uiLabelMap.AccountingPINNumber}</div></td>
|
||||
<td><input type="text" class="inputBox" name="physicalPin" size="20"></td>
|
||||
<td><input type="text" class="inputBox" name="physicalPin" size="20" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
@@ -51,17 +51,17 @@ under the License.
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tabletext">${uiLabelMap.AccountingCardNumber}</div></td>
|
||||
<td><input type="text" class="inputBox" name="virtualCard" size="20"></td>
|
||||
<td><input type="text" class="inputBox" name="virtualCard" size="20" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tabletext">${uiLabelMap.AccountingPINNumber}</div></td>
|
||||
<td><input type="text" class="inputBox" name="virtualPin" size="20"></td>
|
||||
<td><input type="text" class="inputBox" name="virtualPin" size="20" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center"><input type="submit" class="smallSubmit" value="${uiLabelMap.EcommerceLinkCards}"></td>
|
||||
<td colspan="2" align="center"><input type="submit" class="smallSubmit" value="${uiLabelMap.EcommerceLinkCards}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -245,9 +245,9 @@ under the License.
|
||||
<div class="tabletext">
|
||||
${uiLabelMap.AccountingCreditCard}:
|
||||
<#if creditCard.companyNameOnCard?has_content>${creditCard.companyNameOnCard} </#if>
|
||||
<#if creditCard.titleOnCard?has_content>${creditCard.titleOnCard} </#if>
|
||||
<#if creditCard.titleOnCard?has_content>${creditCard.titleOnCard} </#if>
|
||||
${creditCard.firstNameOnCard}
|
||||
<#if creditCard.middleNameOnCard?has_content>${creditCard.middleNameOnCard} </#if>
|
||||
<#if creditCard.middleNameOnCard?has_content>${creditCard.middleNameOnCard} </#if>
|
||||
${creditCard.lastNameOnCard}
|
||||
<#if creditCard.suffixOnCard?has_content> ${creditCard.suffixOnCard}</#if>
|
||||
${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
|
||||
|
||||
@@ -44,7 +44,7 @@ under the License.
|
||||
|
||||
<#if dataResourceId?exists>
|
||||
<br />
|
||||
<img src="<@ofbizUrl>img?imgId=${dataResourceId}</@ofbizUrl>" />
|
||||
<img src="<@ofbizUrl>img?imgId=${dataResourceId}</@ofbizUrl>" alt=""/>
|
||||
</#if>
|
||||
<br />
|
||||
</#if>
|
||||
|
||||
@@ -75,11 +75,11 @@ under the License.
|
||||
<#if content?has_content>${content.description?if_exists}</#if>
|
||||
</td>
|
||||
<td width="40px" valign="bottom">
|
||||
<a class="tabButton" href="<@ofbizUrl>showforumarticle?contentId=${thisSubContentId}&nodeTrailCsv=${thisNodeTrailCsv?if_exists}&forumId=${contentIdx?if_exists}</@ofbizUrl>" >${uiLabelMap.CommonView}</a>
|
||||
<a class="tabButton" href="<@ofbizUrl>showforumarticle?contentId=${thisSubContentId}&nodeTrailCsv=${thisNodeTrailCsv?if_exists}&forumId=${contentIdx?if_exists}</@ofbizUrl>" >${uiLabelMap.CommonView}</a>
|
||||
</td>
|
||||
<@checkPermission mode="equals" entityOperation="_UPDATE" subContentId=content.contentId targetOperation="CONTENT_UPDATE" contentPurposeList="ARTICLE">
|
||||
<td width="40px" valign="bottom">
|
||||
<a class="tabButton" style="height:14pt;" href="<@ofbizUrl>editforumarticle?contentIdTo=${content.contentId}&nodeTrailCsv=${contentIdx?if_exists},${content.contentId}</@ofbizUrl>" >${uiLabelMap.CommonEdit}</a>
|
||||
<a class="tabButton" style="height:14pt;" href="<@ofbizUrl>editforumarticle?contentIdTo=${content.contentId}&nodeTrailCsv=${contentIdx?if_exists},${content.contentId}</@ofbizUrl>" >${uiLabelMap.CommonEdit}</a>
|
||||
</td>
|
||||
</@checkPermission>
|
||||
</tr>
|
||||
@@ -102,7 +102,7 @@ under the License.
|
||||
</#if>
|
||||
<@checkPermission mode="equals" entityOperation="_CREATE" subContentId=contentDept statusId="CTNT_PUBLISHED" targetOperation=targOp contentPurposeList="ARTICLE" quickCheckContentId=contentIdx>
|
||||
<tr><td align="right">
|
||||
<a class="tabButton" style="height:14pt;" href="<@ofbizUrl>createforumarticle?forumId=${contentIdx?if_exists}&nodeTrailCsv=${contentIdx?if_exists}</@ofbizUrl>" >${uiLabelMap.ProductNewArticle}</a>
|
||||
<a class="tabButton" style="height:14pt;" href="<@ofbizUrl>createforumarticle?forumId=${contentIdx?if_exists}&nodeTrailCsv=${contentIdx?if_exists}</@ofbizUrl>" >${uiLabelMap.ProductNewArticle}</a>
|
||||
</td></tr>
|
||||
</@checkPermission>
|
||||
<@checkPermission mode="not-equals" entityOperation="_CREATE" subContentId=contentDept statusId="CTNT_PUBLISHED" targetOperation=targOp contentPurposeList="ARTICLE" quickCheckContentId=contentIdx>
|
||||
@@ -136,9 +136,9 @@ ${uiLabelMap.EcommerceLoggedToPost}
|
||||
<td >
|
||||
${indent}
|
||||
<#if content.contentTypeId == "WEB_SITE_PUB_PT" >
|
||||
<a class="tabButton" href="<@ofbizUrl>showforum?forumId=${content.contentId?if_exists}&nodeTrailCsv=${csv}</@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> ${content.contentName?if_exists}
|
||||
<a class="tabButton" href="<@ofbizUrl>showforum?forumId=${content.contentId?if_exists}&nodeTrailCsv=${csv}</@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> ${content.contentName?if_exists}
|
||||
<#else>
|
||||
<a class="tabButton" href="<@ofbizUrl>showforumarticle?contentId=${content.contentId?if_exists}&nodeTrailCsv=${csv}</@ofbizUrl>" >${uiLabelMap.CommonBackTo}to</a> ${content.contentName?if_exists}
|
||||
<a class="tabButton" href="<@ofbizUrl>showforumarticle?contentId=${content.contentId?if_exists}&nodeTrailCsv=${csv}</@ofbizUrl>" >${uiLabelMap.CommonBackTo}to</a> ${content.contentName?if_exists}
|
||||
</#if>
|
||||
<#local indent = indent + " ">
|
||||
[${content.contentId?if_exists}]</td>
|
||||
@@ -177,7 +177,7 @@ ${uiLabelMap.EcommerceLoggedToPost}
|
||||
<tr><td>
|
||||
<#if 0 < listSz?number>
|
||||
<#if 0 < viewIdx?number>
|
||||
<a href="${requestURL}?${queryString}&viewSz=${viewSz}&viewIdx=${viewIdx?number-1}" class="submenutext">${uiLabelMap.CommonPrevious}</a>
|
||||
<a href="${requestURL}?${queryString}&viewSz=${viewSz}&viewIdx=${viewIdx?number-1}" class="submenutext">${uiLabelMap.CommonPrevious}</a>
|
||||
<#else>
|
||||
<span class="submenutextdisabled">${uiLabelMap.CommonPrevious}</span>
|
||||
</#if>
|
||||
@@ -185,7 +185,7 @@ ${uiLabelMap.EcommerceLoggedToPost}
|
||||
<span class="submenutextinfo">${lowIdxShow} - ${highIdx?if_exists} ${uiLabelMap.CommonOf} ${listSz?if_exists}</span>
|
||||
</#if>
|
||||
<#if highIdx?if_exists?number < listSz?if_exists?number>
|
||||
<a href="${requestURL}?${queryString?if_exists}&viewSz=${viewSz?if_exists}&viewIdx=${viewIdx?if_exists?number+1}" class="submenutextright">${uiLabelMap.CommonNext}</a>
|
||||
<a href="${requestURL}?${queryString?if_exists}&viewSz=${viewSz?if_exists}&viewIdx=${viewIdx?if_exists?number+1}" class="submenutextright">${uiLabelMap.CommonNext}</a>
|
||||
<#else>
|
||||
<span class="submenutextrightdisabled">${uiLabelMap.CommonNext}</span>
|
||||
</#if>
|
||||
|
||||
@@ -36,15 +36,15 @@ under the License.
|
||||
<div class="screenlet">
|
||||
|
||||
<div class="boxlink">
|
||||
<a href="<@ofbizUrl>editforuminfo?contentId=${contentId?if_exists}&nodeTrailCsv=${nodeTrailCsv?if_exists}&contentIdTo=${contentIdTo?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
<a href="<@ofbizUrl>editforuminfo?contentId=${contentId?if_exists}&nodeTrailCsv=${nodeTrailCsv?if_exists}&contentIdTo=${contentIdTo?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
</div>
|
||||
<h3>${uiLabelMap.EcommerceContentInformation}</h3>
|
||||
|
||||
<div class="screenlet-body">
|
||||
<table>
|
||||
<tr><td align="right" nowrap><div class='tabletext'><b>${uiLabelMap.ProductContentId}</b></div></td><td> </td><td><div class='tabletext'>${contentId?if_exists}</div></td></tr>
|
||||
<tr><td align="right" nowrap><div class='tabletext'><b>${uiLabelMap.EcommerceContentName}</b></div></td><td> </td><td><div class='tabletext'>${contentName?if_exists}</div></td></tr>
|
||||
<tr><td align="right" nowrap><div class='tabletext'><b>${uiLabelMap.CommonDescription}</b></div></td><td> </td><td><div class='tabletext'>${description?if_exists}<div></td></tr>
|
||||
<tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>${uiLabelMap.ProductContentId}</b></div></td><td> </td><td><div class='tabletext'>${contentId?if_exists}</div></td></tr>
|
||||
<tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>${uiLabelMap.EcommerceContentName}</b></div></td><td> </td><td><div class='tabletext'>${contentName?if_exists}</div></td></tr>
|
||||
<tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>${uiLabelMap.CommonDescription}</b></div></td><td> </td><td><div class='tabletext'>${description?if_exists}<div></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -52,14 +52,14 @@ under the License.
|
||||
<div class="screenlet">
|
||||
|
||||
<div class="boxlink">
|
||||
<a href="<@ofbizUrl>editaddimage?contentIdTo=${contentId?if_exists}&dataResourceId=${txtDataResourceId?if_exists}&mapKey=IMAGE&nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
<a href="<@ofbizUrl>editaddimage?contentIdTo=${contentId?if_exists}&dataResourceId=${txtDataResourceId?if_exists}&mapKey=IMAGE&nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
</div>
|
||||
<h3>${uiLabelMap.EcommerceImageInformation}</h3>
|
||||
|
||||
<div class="screenlet-body">
|
||||
<table>
|
||||
<tr><td align="right" nowrap><div class='tabletext'>${uiLabelMap.EcommerceImage}</div></td><td> </td><td><div class='tabletext'>
|
||||
<img src="<@ofbizUrl>img?imgId=${imgDataResourceId?if_exists}</@ofbizUrl>" />
|
||||
<tr><td align="right" nowrap="nowrap"><div class='tabletext'>${uiLabelMap.EcommerceImage}</div></td><td> </td><td><div class='tabletext'>
|
||||
<img src="<@ofbizUrl>img?imgId=${imgDataResourceId?if_exists}</@ofbizUrl>" alt="" />
|
||||
<div></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -67,7 +67,7 @@ under the License.
|
||||
|
||||
<div class="screenlet">
|
||||
<div class="boxlink">
|
||||
<a href="<@ofbizUrl>editaddforumdata?contentIdTo=${contentId?if_exists}&dataResourceId=${txtDataResourceId?if_exists}&mapKey=SUMMARY&nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
<a href="<@ofbizUrl>editaddforumdata?contentIdTo=${contentId?if_exists}&dataResourceId=${txtDataResourceId?if_exists}&mapKey=SUMMARY&nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
</div>
|
||||
<h3>${uiLabelMap.EcommerceSummaryInformation}</h3>
|
||||
<div class="screenlet-body">
|
||||
@@ -81,12 +81,12 @@ ${summaryData?if_exists}
|
||||
|
||||
<div class="screenlet">
|
||||
<div class="boxlink">
|
||||
<a href="<@ofbizUrl>editaddforumdata?contentIdTo=${contentId?if_exists}&dataResourceId=${txtDataResourceId?if_exists}&mapKey=ARTICLE&nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
<a href="<@ofbizUrl>editaddforumdata?contentIdTo=${contentId?if_exists}&dataResourceId=${txtDataResourceId?if_exists}&mapKey=ARTICLE&nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonUpdate}</a>
|
||||
</div>
|
||||
<h3> ${uiLabelMap.EcommerceArticleInformation}</h3>
|
||||
<div class="screenlet-body">
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing='0'>
|
||||
<tr><td align="right" nowrap><div class='tabletext'><b>Article</b></div></td><td> </td><td><div class='tabletext'>
|
||||
<tr><td align="right" nowrap="nowrap"><div class='tabletext'><b>Article</b></div></td><td> </td><td><div class='tabletext'>
|
||||
${textData?if_exists}
|
||||
<div></td></tr>
|
||||
</table>
|
||||
|
||||
@@ -30,18 +30,18 @@ under the License.
|
||||
<select name="pageSelect" class="selectBox" onchange="window.location=this[this.selectedIndex].value;">
|
||||
<option value="#">${uiLabelMap.CommonPage} ${viewIndex?int+1} ${uiLabelMap.CommonOf} ${viewIndexMax}</option>
|
||||
<#list 1..viewIndexMax as curViewNum>
|
||||
<option value="<@ofbizUrl>showforum?forumId=${parameters.forumId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${curViewNum?int-1}</@ofbizUrl>">${uiLabelMap.CommonGotoPage} ${curViewNum}</option>
|
||||
<option value="<@ofbizUrl>showforum?forumId=${parameters.forumId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${curViewNum?int-1}</@ofbizUrl>">${uiLabelMap.CommonGotoPage} ${curViewNum}</option>
|
||||
</#list>
|
||||
</select>
|
||||
<b>
|
||||
<#if (viewIndex?int >0)>
|
||||
<a href="<@ofbizUrl>showforum?forumId=${parameters.forumId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex?int-1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
|
||||
<a href="<@ofbizUrl>showforum?forumId=${parameters.forumId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex?int-1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
|
||||
</#if>
|
||||
<#if (listSize?int > 0)>
|
||||
<span class="tabletext">${lowIndex} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
|
||||
</#if>
|
||||
<#if highIndex?int < listSize?int>
|
||||
| <a href="<@ofbizUrl>showforum?forumId=${parameters.forumId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex?int+1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
|
||||
| <a href="<@ofbizUrl>showforum?forumId=${parameters.forumId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex?int+1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
|
||||
</#if>
|
||||
</b>
|
||||
</div>
|
||||
|
||||
@@ -28,7 +28,7 @@ under the License.
|
||||
</#if>
|
||||
<div class="tableheadtext">
|
||||
${uiLabelMap.CommonTitle}: ${forumMessage.contentName?if_exists} ${uiLabelMap.CommonBy}:${forumMessage.createdByUserLogin?if_exists} ${uiLabelMap.CommonAt}: ${forumMessage.createdDate?if_exists.toString().substring(0,16)}
|
||||
<a href="ViewForumMessage?forumId=${parameters.forumId}&responseContentId=${forumMessage.contentId}&threadContentId=${threadContentId?if_exists}" class="buttontext">${uiLabelMap.CommonView}</a>
|
||||
<a href="ViewForumMessage?forumId=${parameters.forumId}&responseContentId=${forumMessage.contentId}&threadContentId=${threadContentId?if_exists}" class="buttontext">${uiLabelMap.CommonView}</a>
|
||||
</div>
|
||||
<div class="tableheadtext">
|
||||
${forumMessage.description?if_exists}
|
||||
@@ -39,7 +39,7 @@ under the License.
|
||||
<#if (result.resultData)?exists>
|
||||
<div class="tableheadtext">
|
||||
${uiLabelMap.CommonTitle}: ${result.resultData.content.description?if_exists} ${uiLabelMap.CommonBy}:${result.resultData.content.createdByUserLogin} ${uiLabelMap.CommonAt}: ${result.resultData.content.createdDate.toString().substring(0,16)}
|
||||
<a href="addForumMessage?forumId=${parameters.forumId}&forumMessageIdTo=${result.resultData.content.contentId}&threadView=${parameters.threadView?if_exists}" class="buttontext">${uiLabelMap.PartyReply}</a>
|
||||
<a href="addForumMessage?forumId=${parameters.forumId}&forumMessageIdTo=${result.resultData.content.contentId}&threadView=${parameters.threadView?if_exists}" class="buttontext">${uiLabelMap.PartyReply}</a>
|
||||
</div>
|
||||
<div class="tabletext">
|
||||
<#if result.resultData.electronicText?exists>
|
||||
|
||||
@@ -17,7 +17,7 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<SCRIPT language="javascript">
|
||||
<script type="text/javascript" language="javascript">
|
||||
function submitRows(rowCount) {
|
||||
var rowCountElement = document.createElement("input");
|
||||
rowCountElement.setAttribute("name", "_rowCount");
|
||||
@@ -30,7 +30,7 @@ under the License.
|
||||
|
||||
<table width="100%" border="0" >
|
||||
|
||||
<form name="mostrecent" mode="POST" action="<@ofbizUrl>publishResponse</@ofbizUrl>"/>
|
||||
<form name="mostrecent" mode="post" action="<@ofbizUrl>publishResponse</@ofbizUrl>"/>
|
||||
<#assign row=0/>
|
||||
<#list entityList as content>
|
||||
<@checkPermission entityOperation="_ADMIN" targetOperation="CONTENT_PUBLISH" subContentId=forumId >
|
||||
@@ -43,7 +43,7 @@ under the License.
|
||||
</td>
|
||||
<td class="tabletext">
|
||||
${uiLabelMap.CommonSubmitted}:
|
||||
<input type="radio" name="statusId_o_${row}" value="CTNT_IN_PROGRESS" checked/>
|
||||
<input type="radio" name="statusId_o_${row}" value="CTNT_IN_PROGRESS" checked="checked" />
|
||||
</td>
|
||||
<td class="tabletext">
|
||||
${uiLabelMap.CommonPublish}:
|
||||
|
||||
@@ -20,14 +20,14 @@ under the License.
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
function shipBillAddr() {
|
||||
<#if requestParameters.singleUsePayment?default("N") == "Y">
|
||||
<#assign singleUse = "&singleUsePayment=Y">
|
||||
<#assign singleUse = "&singleUsePayment=Y">
|
||||
<#else>
|
||||
<#assign singleUse = "">
|
||||
</#if>
|
||||
if (document.billsetupform.useShipAddr.checked) {
|
||||
window.location.replace("setBilling?createNew=Y&finalizeMode=payment&useGc=${requestParameters.useGc?if_exists}&paymentMethodType=${paymentMethodType?if_exists}&useShipAddr=Y${singleUse}");
|
||||
window.location.replace("setBilling?createNew=Y&finalizeMode=payment&useGc=${requestParameters.useGc?if_exists}&paymentMethodType=${paymentMethodType?if_exists}&useShipAddr=Y${singleUse}");
|
||||
} else {
|
||||
window.location.replace("setBilling?createNew=Y&finalizeMode=payment&useGc=${requestParameters.useGc?if_exists}&paymentMethodType=${paymentMethodType?if_exists}${singleUse}");
|
||||
window.location.replace("setBilling?createNew=Y&finalizeMode=payment&useGc=${requestParameters.useGc?if_exists}&paymentMethodType=${paymentMethodType?if_exists}${singleUse}");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -49,8 +49,8 @@ function shipBillAddr() {
|
||||
<#if paymentMethodType == "CC">
|
||||
<#if creditCard?has_content && postalAddress?has_content>
|
||||
<form method="post" action="<@ofbizUrl>changeCreditCardAndBillingAddress</@ofbizUrl>" name="billsetupform">
|
||||
<input type="hidden" name="paymentMethodId" value="${creditCard.paymentMethodId?if_exists}">
|
||||
<input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}">
|
||||
<input type="hidden" name="paymentMethodId" value="${creditCard.paymentMethodId?if_exists}" />
|
||||
<input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}" />
|
||||
<#elseif requestParameters.useShipAddr?exists>
|
||||
<form method="post" action="<@ofbizUrl>enterCreditCard</@ofbizUrl>" name="billsetupform">
|
||||
<#else>
|
||||
@@ -60,8 +60,8 @@ function shipBillAddr() {
|
||||
<#if paymentMethodType == "EFT">
|
||||
<#if eftAccount?has_content && postalAddress?has_content>
|
||||
<form method="post" action="<@ofbizUrl>changeEftAccountAndBillingAddress</@ofbizUrl>" name="billsetupform">
|
||||
<input type="hidden" name="paymentMethodId" value="${eftAccount.paymentMethodId?if_exists}">
|
||||
<input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}">
|
||||
<input type="hidden" name="paymentMethodId" value="${eftAccount.paymentMethodId?if_exists}" />
|
||||
<input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}" />
|
||||
<#elseif requestParameters.useShipAddr?exists>
|
||||
<form method="post" action="<@ofbizUrl>enterEftAccount</@ofbizUrl>" name="billsetupform">
|
||||
<#else>
|
||||
@@ -73,24 +73,24 @@ function shipBillAddr() {
|
||||
</#if>
|
||||
|
||||
<#if requestParameters.singleUsePayment?default("N") == "Y">
|
||||
<input type="hidden" name="singleUsePayment" value="Y">
|
||||
<input type="hidden" name="appendPayment" value="Y">
|
||||
<input type="hidden" name="singleUsePayment" value="Y" />
|
||||
<input type="hidden" name="appendPayment" value="Y" />
|
||||
</#if>
|
||||
|
||||
<input type="hidden" name="contactMechTypeId" value="POSTAL_ADDRESS">
|
||||
<input type="hidden" name="partyId" value="${partyId}">
|
||||
<input type="hidden" name="paymentMethodType" value="${paymentMethodType}">
|
||||
<input type="hidden" name="finalizeMode" value="payment">
|
||||
<input type="hidden" name="createNew" value="Y">
|
||||
<input type="hidden" name="contactMechTypeId" value="POSTAL_ADDRESS" />
|
||||
<input type="hidden" name="partyId" value="${partyId}" />
|
||||
<input type="hidden" name="paymentMethodType" value="${paymentMethodType}" />
|
||||
<input type="hidden" name="finalizeMode" value="payment" />
|
||||
<input type="hidden" name="createNew" value="Y" />
|
||||
<#if requestParameters.useShipAddr?exists>
|
||||
<input type="hidden" name="contactMechId" value="${postalFields.contactMechId}">
|
||||
<input type="hidden" name="contactMechId" value="${postalFields.contactMechId}" />
|
||||
</#if>
|
||||
|
||||
<table width="100%" border="0" cellpadding="1" cellspacing="0">
|
||||
<#if cart.getShippingContactMechId()?exists && paymentMethodType != "GC">
|
||||
<tr>
|
||||
<td width="26%" align="right"= valign="top">
|
||||
<input type="checkbox" name="useShipAddr" value="Y" onClick="javascript:shipBillAddr();" <#if requestParameters.useShipAddr?exists>checked</#if>>
|
||||
<input type="checkbox" name="useShipAddr" value="Y" onClick="javascript:shipBillAddr();" <#if requestParameters.useShipAddr?exists>checked</#if> />
|
||||
</td>
|
||||
<td colspan="2" valign="center">
|
||||
<div class="tabletext">${uiLabelMap.FacilityBillingAddressSameShipping}</div>
|
||||
@@ -144,28 +144,28 @@ function shipBillAddr() {
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingNameOnAccount}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="nameOnAccount" value="${eftAccount.nameOnAccount?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="nameOnAccount" value="${eftAccount.nameOnAccount?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingCompanyNameOnAccount}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccount.companyNameOnAccount?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccount.companyNameOnAccount?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingBankName}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="bankName" value="${eftAccount.bankName?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="bankName" value="${eftAccount.bankName?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingRoutingNumber}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="10" maxlength="30" name="routingNumber" value="${eftAccount.routingNumber?if_exists}">
|
||||
<input type="text" class="inputBox" size="10" maxlength="30" name="routingNumber" value="${eftAccount.routingNumber?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -184,14 +184,14 @@ function shipBillAddr() {
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingAccountNumber}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="20" maxlength="40" name="accountNumber" value="${eftAccount.accountNumber?if_exists}">
|
||||
<input type="text" class="inputBox" size="20" maxlength="40" name="accountNumber" value="${eftAccount.accountNumber?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.CommonDescription}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${eftAccount.description?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${eftAccount.description?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
</#if>
|
||||
@@ -199,7 +199,7 @@ function shipBillAddr() {
|
||||
<#-- gift card fields -->
|
||||
<#if requestParameters.useGc?default("") == "GC" || paymentMethodType == "GC">
|
||||
<#assign giftCard = requestParameters>
|
||||
<input type="hidden" name="addGiftCard" value="Y">
|
||||
<input type="hidden" name="addGiftCard" value="Y" />
|
||||
<#if paymentMethodType != "GC">
|
||||
<tr>
|
||||
<td colspan="3"><hr /></td>
|
||||
@@ -214,21 +214,21 @@ function shipBillAddr() {
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingGiftCardNumber}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="20" maxlength="60" name="giftCardNumber" value="${giftCard.cardNumber?if_exists}">
|
||||
<input type="text" class="inputBox" size="20" maxlength="60" name="giftCardNumber" value="${giftCard.cardNumber?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingPINNumber}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="10" maxlength="60" name="giftCardPin" value="${giftCard.pinNumber?if_exists}">
|
||||
<input type="text" class="inputBox" size="10" maxlength="60" name="giftCardPin" value="${giftCard.pinNumber?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.CommonDescription}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${giftCard.description?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="60" name="description" value="${giftCard.description?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
<#if paymentMethodType != "GC">
|
||||
@@ -236,7 +236,7 @@ function shipBillAddr() {
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingAmountToUse}</div></td>
|
||||
<td width="5"> </td>
|
||||
<td width="74%">
|
||||
<input type="text" class="inputBox" size="5" maxlength="10" name="giftCardAmount" value="${giftCard.pinNumber?if_exists}">
|
||||
<input type="text" class="inputBox" size="5" maxlength="10" name="giftCardAmount" value="${giftCard.pinNumber?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
</#if>
|
||||
@@ -244,46 +244,46 @@ function shipBillAddr() {
|
||||
|
||||
<tr>
|
||||
<td align="center" colspan="3">
|
||||
<input type="submit" class="smallsubmit" value="Continue">
|
||||
<input type="submit" class="smallsubmit" value="Continue" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<#else>
|
||||
<#-- initial screen show a list of options -->
|
||||
<form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="billsetupform">
|
||||
<input type="hidden" name="finalizeMode" value="payment">
|
||||
<input type="hidden" name="createNew" value="Y">
|
||||
<input type="hidden" name="finalizeMode" value="payment" />
|
||||
<input type="hidden" name="createNew" value="Y" />
|
||||
<table width="100%" border="0" cellpadding="1" cellspacing="0">
|
||||
<#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists>
|
||||
<tr>
|
||||
<td width='5%' nowrap><input type="checkbox" name="useGc" value="GC" <#if paymentMethodType?exists && paymentMethodType == "GC">checked</#if></td>
|
||||
<td width='95%' nowrap><div class="tabletext">${uiLabelMap.AccountingCheckGiftCard}</div></td>
|
||||
<td width='5%' nowrap="nowrap"><input type="checkbox" name="useGc" value="GC" <#if paymentMethodType?exists && paymentMethodType == "GC">checked="checked"</#if> /></td>
|
||||
<td width='95%' nowrap="nowrap"><div class="tabletext">${uiLabelMap.AccountingCheckGiftCard}</div></td>
|
||||
</tr>
|
||||
<tr><td colspan="2"><hr /></td></tr>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.EXT_OFFLINE?exists>
|
||||
<tr>
|
||||
<td width='5%' nowrap><input type="radio" name="paymentMethodType" value="offline" <#if paymentMethodType?exists && paymentMethodType == "offline">checked</#if></td>
|
||||
<td width='95%'nowrap><div class="tabletext">${uiLabelMap.OrderPaymentOfflineCheckMoney}</div></td>
|
||||
<td width='5%' nowrap="nowrap"><input type="radio" name="paymentMethodType" value="offline" <#if paymentMethodType?exists && paymentMethodType == "offline">checked="checked"</#if> /></td>
|
||||
<td width='95%'nowrap="nowrap"><div class="tabletext">${uiLabelMap.OrderPaymentOfflineCheckMoney}</div></td>
|
||||
</tr>
|
||||
<tr><td colspan="2"><hr /></td></tr>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists>
|
||||
<tr>
|
||||
<td width='5%' nowrap><input type="radio" name="paymentMethodType" value="CC" <#if paymentMethodType?exists && paymentMethodType == "CC">checked</#if></td>
|
||||
<td width='95%' nowrap><div class="tabletext">${uiLabelMap.AccountingVisaMastercardAmexDiscover}</div></td>
|
||||
<td width='5%' nowrap="nowrap"><input type="radio" name="paymentMethodType" value="CC" <#if paymentMethodType?exists && paymentMethodType == "CC">checked="checked"</#if> /></td>
|
||||
<td width='95%' nowrap="nowrap"><div class="tabletext">${uiLabelMap.AccountingVisaMastercardAmexDiscover}</div></td>
|
||||
</tr>
|
||||
<tr><td colspan="2"><hr /></td></tr>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT?exists>
|
||||
<tr>
|
||||
<td width='5%' nowrap><input type="radio" name="paymentMethodType" value="EFT" <#if paymentMethodType?exists && paymentMethodType == "EFT">checked</#if></td>
|
||||
<td width='95%' nowrap><div class="tabletext">${uiLabelMap.AccountingAHCElectronicCheck}</div></td>
|
||||
<td width='5%' nowrap="nowrap"><input type="radio" name="paymentMethodType" value="EFT" <#if paymentMethodType?exists && paymentMethodType == "EFT">checked="checked"</#if> /></td>
|
||||
<td width='95%' nowrap="nowrap"><div class="tabletext">${uiLabelMap.AccountingAHCElectronicCheck}</div></td>
|
||||
</tr>
|
||||
</#if>
|
||||
<tr>
|
||||
<td align="center" colspan="2">
|
||||
<input type="submit" class="smallsubmit" value="${uiLabelMap.CommonContinue}">
|
||||
<input type="submit" class="smallsubmit" value="${uiLabelMap.CommonContinue}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -36,7 +36,7 @@ function submitForm(form, mode, value) {
|
||||
form.submit();
|
||||
} else if (mode == "EC") {
|
||||
// edit credit card
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcreditcard?DONE_PAGE=checkoutpayment&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcreditcard?DONE_PAGE=checkoutpayment&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.submit();
|
||||
} else if (mode == "GC") {
|
||||
// edit gift card
|
||||
@@ -48,11 +48,11 @@ function submitForm(form, mode, value) {
|
||||
form.submit();
|
||||
} else if (mode == "EE") {
|
||||
// edit eft account
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editeftaccount?DONE_PAGE=checkoutpayment&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editeftaccount?DONE_PAGE=checkoutpayment&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.submit();
|
||||
}else if(mode = "EG")
|
||||
//edit gift card
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editgiftcard?DONE_PAGE=checkoutpayment&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editgiftcard?DONE_PAGE=checkoutpayment&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.submit();
|
||||
}
|
||||
//]]>
|
||||
|
||||
@@ -47,11 +47,11 @@ under the License.
|
||||
|
||||
</td>
|
||||
<td align="right">
|
||||
<form type="POST" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}">
|
||||
<form type="post" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}">
|
||||
<#if (requestParameters.checkoutpage)?has_content>
|
||||
<input type="hidden" name="checkoutpage" value="${requestParameters.checkoutpage}">
|
||||
<input type="hidden" name="checkoutpage" value="${requestParameters.checkoutpage}" />
|
||||
</#if>
|
||||
<input type="button" name="processButton" value="${uiLabelMap.OrderSubmitOrder}" onClick="processOrder();" class="mediumSubmit">
|
||||
<input type="button" name="processButton" value="${uiLabelMap.OrderSubmitOrder}" onClick="processOrder();" class="mediumSubmit" />
|
||||
</form>
|
||||
<#-- doesn't work with Safari, seems to work with IE, Mozilla <a href="#" onclick="processOrder();" class="buttontextbig">[${uiLabelMap.OrderSubmitOrder}] </a> -->
|
||||
</td>
|
||||
|
||||
@@ -30,11 +30,11 @@ function submitForm(form, mode, value) {
|
||||
form.submit();
|
||||
} else if (mode == "NA") {
|
||||
// new address
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION&DONE_PAGE=checkoutoptions</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION&DONE_PAGE=checkoutoptions</@ofbizUrl>";
|
||||
form.submit();
|
||||
} else if (mode == "EA") {
|
||||
// edit address
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?DONE_PAGE=checkoutshippingaddress&contactMechId="+value+"</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?DONE_PAGE=checkoutshippingaddress&contactMechId="+value+"</@ofbizUrl>";
|
||||
form.submit();
|
||||
} else if (mode == "NC") {
|
||||
// new credit card
|
||||
@@ -42,7 +42,7 @@ function submitForm(form, mode, value) {
|
||||
form.submit();
|
||||
} else if (mode == "EC") {
|
||||
// edit credit card
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcreditcard?DONE_PAGE=checkoutoptions&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editcreditcard?DONE_PAGE=checkoutoptions&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.submit();
|
||||
} else if (mode == "NE") {
|
||||
// new eft account
|
||||
@@ -50,7 +50,7 @@ function submitForm(form, mode, value) {
|
||||
form.submit();
|
||||
} else if (mode == "EE") {
|
||||
// edit eft account
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editeftaccount?DONE_PAGE=checkoutoptions&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateCheckoutOptions/editeftaccount?DONE_PAGE=checkoutoptions&paymentMethodId="+value+"</@ofbizUrl>";
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
@@ -71,7 +71,7 @@ function submitForm(form, mode, value) {
|
||||
<#assign shippingMethod = carrierShipmentMethod.shipmentMethodTypeId + "@" + carrierShipmentMethod.partyId>
|
||||
<tr>
|
||||
<td width="1%" valign="top" >
|
||||
<input type="radio" name="shipping_method" value="${shippingMethod}" <#if shippingMethod == chosenShippingMethod?default("N@A")>checked</#if>/>
|
||||
<input type="radio" name="shipping_method" value="${shippingMethod}" <#if shippingMethod == chosenShippingMethod?default("N@A")>checked="checked"</#if> />
|
||||
</td>
|
||||
<td valign="top">
|
||||
<div class="tabletext">
|
||||
@@ -87,7 +87,7 @@ function submitForm(form, mode, value) {
|
||||
<#if !carrierShipmentMethodList?exists || carrierShipmentMethodList?size == 0>
|
||||
<tr>
|
||||
<td width="1%" valign="top">
|
||||
<input type="radio" name="shipping_method" value="Default" checked>
|
||||
<input type="radio" name="shipping_method" value="Default" checked="checked" />
|
||||
</td>
|
||||
<td valign="top">
|
||||
<div class="tabletext">${uiLabelMap.OrderUseDefault}.</div>
|
||||
@@ -102,7 +102,7 @@ function submitForm(form, mode, value) {
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="radio" <#if "Y" != shoppingCart.getMaySplit()?default("N")>checked</#if> name="may_split" value="false"/>
|
||||
<input type="radio" <#if "Y" != shoppingCart.getMaySplit()?default("N")>checked="checked"</#if> name="may_split" value="false" />
|
||||
</td>
|
||||
<td valign="top">
|
||||
<div class="tabletext">${uiLabelMap.OrderPleaseWaitUntilBeforeShipping}.</div>
|
||||
@@ -110,7 +110,7 @@ function submitForm(form, mode, value) {
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input <#if "Y" == shoppingCart.getMaySplit()?default("N")>checked</#if> type="radio" name="may_split" value="true"/>
|
||||
<input <#if "Y" == shoppingCart.getMaySplit()?default("N")>checked="checked"</#if> type="radio" name="may_split" value="true" />
|
||||
</td>
|
||||
<td valign="top">
|
||||
<div class="tabletext">${uiLabelMap.OrderPleaseShipItemsBecomeAvailable}.</div>
|
||||
@@ -143,8 +143,8 @@ function submitForm(form, mode, value) {
|
||||
<td colspan="2">
|
||||
<div>
|
||||
<h2>${uiLabelMap.OrderIsThisGift}</h2>
|
||||
<input type="radio" <#if "Y" == shoppingCart.getIsGift()?default("N")>checked</#if> name="is_gift" value="true"/><span class="tabletext">${uiLabelMap.CommonYes}</span>
|
||||
<input type="radio" <#if "Y" != shoppingCart.getIsGift()?default("N")>checked</#if> name="is_gift" value="false"/><span class="tabletext">${uiLabelMap.CommonNo}</span>
|
||||
<input type="radio" <#if "Y" == shoppingCart.getIsGift()?default("N")>checked="checked"</#if> name="is_gift" value="true" /><span class="tabletext">${uiLabelMap.CommonYes}</span>
|
||||
<input type="radio" <#if "Y" != shoppingCart.getIsGift()?default("N")>checked="checked"</#if> name="is_gift" value="false" /><span class="tabletext">${uiLabelMap.CommonNo}</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -39,19 +39,19 @@ under the License.
|
||||
</span>
|
||||
<span>
|
||||
<lable for="firstName">${uiLabelMap.PartyFirstName}</label>
|
||||
<input type="text" name="firstName" value="${parameters.firstName?if_exists}"> *
|
||||
<input type="text" name="firstName" value="${parameters.firstName?if_exists}" /> *
|
||||
</span>
|
||||
<span>
|
||||
<lable for="middleName">${uiLabelMap.PartyMiddleInitial}</label>
|
||||
<input type="text" name="middleName" value="${parameters.middleName?if_exists}">
|
||||
<input type="text" name="middleName" value="${parameters.middleName?if_exists}" />
|
||||
</span>
|
||||
<span>
|
||||
<lable for="lastName">${uiLabelMap.PartyLastName}</label>
|
||||
<input type="text" name="lastName" value="${parameters.lastName?if_exists}"> *
|
||||
<input type="text" name="lastName" value="${parameters.lastName?if_exists}" /> *
|
||||
</span>
|
||||
<span>
|
||||
<lable for="suffix">${uiLabelMap.PartySuffix}</label>
|
||||
<input type="text" class='inputBox' name="suffix" value="${parameters.suffix?if_exists}">
|
||||
<input type="text" class='inputBox' name="suffix" value="${parameters.suffix?if_exists}" />
|
||||
</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
@@ -69,10 +69,10 @@ under the License.
|
||||
<tr>
|
||||
<th scope="row">${uiLabelMap.PartyHomePhone}</th>
|
||||
<input type="hidden" name="homePhoneContactMechId" value="${parameters.homePhoneContactMechId?if_exists}"/>
|
||||
<td><input type="text" name="homeCountryCode" value="${parameters.homeCountryCode?if_exists}"></td>
|
||||
<td><input type="text" name="homeAreaCode" value="${parameters.homeAreaCode?if_exists}"></td>
|
||||
<td><input type="text" name="homeContactNumber" value="${parameters.homeContactNumber?if_exists}"></td>
|
||||
<td><input type="text" name="homeExt" value="${parameters.homeExt?if_exists}"></td>
|
||||
<td><input type="text" name="homeCountryCode" value="${parameters.homeCountryCode?if_exists}" /></td>
|
||||
<td><input type="text" name="homeAreaCode" value="${parameters.homeAreaCode?if_exists}" /></td>
|
||||
<td><input type="text" name="homeContactNumber" value="${parameters.homeContactNumber?if_exists}" /></td>
|
||||
<td><input type="text" name="homeExt" value="${parameters.homeExt?if_exists}" /></td>
|
||||
<td>
|
||||
<select name="homeSol">
|
||||
<#if (((parameters.homeSol)!"") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if>
|
||||
@@ -86,10 +86,10 @@ under the License.
|
||||
<tr>
|
||||
<th scope="row">${uiLabelMap.PartyBusinessPhone}</th>
|
||||
<input type="hidden" name="workPhoneContactMechId" value="${parameters.workPhoneContactMechId?if_exists}"/>
|
||||
<td><input type="text" name="workCountryCode" value="${parameters.workCountryCode?if_exists}"></td>
|
||||
<td><input type="text" name="workAreaCode" value="${parameters.workAreaCode?if_exists}"></td>
|
||||
<td><input type="text" name="workContactNumber" value="${parameters.workContactNumber?if_exists}"></td>
|
||||
<td><input type="text" name="workExt" value="${parameters.workExt?if_exists}"></td>
|
||||
<td><input type="text" name="workCountryCode" value="${parameters.workCountryCode?if_exists}" /></td>
|
||||
<td><input type="text" name="workAreaCode" value="${parameters.workAreaCode?if_exists}" /></td>
|
||||
<td><input type="text" name="workContactNumber" value="${parameters.workContactNumber?if_exists}" /></td>
|
||||
<td><input type="text" name="workExt" value="${parameters.workExt?if_exists}" /></td>
|
||||
<td>
|
||||
<select name="workSol">
|
||||
<#if (((parameters.workSol)!"") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if>
|
||||
|
||||
@@ -25,7 +25,7 @@ under the License.
|
||||
<#assign numColumns = 8>
|
||||
<#if maySelectItems?default("N") == "Y" && roleTypeId?if_exists == "PLACING_CUSTOMER">
|
||||
<#assign numColumns = 11>
|
||||
<a href="javascript:document.addCommonToCartForm.add_all.value='true';document.addCommonToCartForm.submit()" class="submenutext">${uiLabelMap.OrderAddAllToCart}</a><a href="javascript:document.addCommonToCartForm.add_all.value='false';document.addCommonToCartForm.submit()" class="submenutext">${uiLabelMap.OrderAddCheckedToCart}</a><a href="<@ofbizUrl>createShoppingListFromOrder?orderId=${orderHeader.orderId}&frequency=6&intervalNumber=1&shoppingListTypeId=SLT_AUTO_REODR</@ofbizUrl>" class="submenutextright">${uiLabelMap.OrderSendMeThisEveryMonth}</a>
|
||||
<a href="javascript:document.addCommonToCartForm.add_all.value='true';document.addCommonToCartForm.submit()" class="submenutext">${uiLabelMap.OrderAddAllToCart}</a><a href="javascript:document.addCommonToCartForm.add_all.value='false';document.addCommonToCartForm.submit()" class="submenutext">${uiLabelMap.OrderAddCheckedToCart}</a><a href="<@ofbizUrl>createShoppingListFromOrder?orderId=${orderHeader.orderId}&frequency=6&intervalNumber=1&shoppingListTypeId=SLT_AUTO_REODR</@ofbizUrl>" class="submenutextright">${uiLabelMap.OrderSendMeThisEveryMonth}</a>
|
||||
</#if>
|
||||
${uiLabelMap.OrderOrderItems}
|
||||
</h3>
|
||||
|
||||
@@ -18,8 +18,8 @@ under the License.
|
||||
-->
|
||||
<#if orderHeader?has_content>
|
||||
<form name="addCommonToCartForm" action="<@ofbizUrl>addordertocart/orderstatus?orderId=${orderHeader.orderId}</@ofbizUrl>" method="post">
|
||||
<input type="hidden" name="add_all" value="false">
|
||||
<input type="hidden" name="orderId" value="${orderHeader.orderId}">
|
||||
<input type="hidden" name="add_all" value="false" />
|
||||
<input type="hidden" name="orderId" value="${orderHeader.orderId}" />
|
||||
${screens.render("component://ecommerce/widget/OrderScreens.xml#orderheader")}
|
||||
<br />
|
||||
${screens.render("component://ecommerce/widget/OrderScreens.xml#orderitems")}
|
||||
|
||||
@@ -22,14 +22,14 @@ under the License.
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
function shipBillAddr() {
|
||||
<#if requestParameters.singleUsePayment?default("N") == "Y">
|
||||
<#assign singleUse = "&singleUsePayment=Y">
|
||||
<#assign singleUse = "&singleUsePayment=Y">
|
||||
<#else>
|
||||
<#assign singleUse = "">
|
||||
</#if>
|
||||
if (document.billsetupform.useShipAddr.checked) {
|
||||
window.location.replace("setPaymentInformation?createNew=Y&addGiftCard=${requestParameters.addGiftCard?if_exists}&paymentMethodTypeId=${paymentMethodTypeId?if_exists}&useShipAddr=Y${singleUse}");
|
||||
window.location.replace("setPaymentInformation?createNew=Y&addGiftCard=${requestParameters.addGiftCard?if_exists}&paymentMethodTypeId=${paymentMethodTypeId?if_exists}&useShipAddr=Y${singleUse}");
|
||||
} else {
|
||||
window.location.replace("setPaymentInformation?createNew=Y&addGiftCard=${requestParameters.addGiftCard?if_exists}&paymentMethodTypeId=${paymentMethodTypeId?if_exists}${singleUse}");
|
||||
window.location.replace("setPaymentInformation?createNew=Y&addGiftCard=${requestParameters.addGiftCard?if_exists}&paymentMethodTypeId=${paymentMethodTypeId?if_exists}${singleUse}");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -24,31 +24,31 @@ under the License.
|
||||
<fieldset>
|
||||
<#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists>
|
||||
<div>
|
||||
<input type="checkbox" name="addGiftCard" value="Y" <#if addGiftCard?exists && addGiftCard == "Y">checked</#if>/>
|
||||
<input type="checkbox" name="addGiftCard" value="Y" <#if addGiftCard?exists && addGiftCard == "Y">checked="checked"</#if> />
|
||||
<label for="addGiftCard">${uiLabelMap.AccountingCheckGiftCard}</label>
|
||||
</div>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.EXT_OFFLINE?exists>
|
||||
<div>
|
||||
<input type="radio" id="paymentMethodTypeId_EXT_OFFLINE" name="paymentMethodTypeId" value="EXT_OFFLINE" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "EXT_OFFLINE">checked</#if>/>
|
||||
<input type="radio" id="paymentMethodTypeId_EXT_OFFLINE" name="paymentMethodTypeId" value="EXT_OFFLINE" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "EXT_OFFLINE">checked="checked"</#if> />
|
||||
<label for="paymentMethodTypeId_EXT_OFFLINE">${uiLabelMap.OrderPaymentOfflineCheckMoney}</label>
|
||||
</div>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists>
|
||||
<div>
|
||||
<input type="radio" id="paymentMethodTypeId_CREDIT_CARD" name="paymentMethodTypeId" value="CREDIT_CARD" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "CREDIT_CARD">checked</#if>/>
|
||||
<input type="radio" id="paymentMethodTypeId_CREDIT_CARD" name="paymentMethodTypeId" value="CREDIT_CARD" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "CREDIT_CARD">checked="checked"</#if> />
|
||||
<label for="paymentMethodTypeId_CREDIT_CARD">${uiLabelMap.AccountingVisaMastercardAmexDiscover}</label>
|
||||
</div>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT?exists>
|
||||
<div>
|
||||
<input type="radio" id="paymentMethodTypeId_EFT_ACCOUNT" name="paymentMethodTypeId" value="EFT_ACCOUNT" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "EFT_ACCOUNT">checked</#if>/>
|
||||
<input type="radio" id="paymentMethodTypeId_EFT_ACCOUNT" name="paymentMethodTypeId" value="EFT_ACCOUNT" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "EFT_ACCOUNT">checked="checked"</#if> />
|
||||
<label for="paymentMethodTypeId_EFT_ACCOUNT" class="tabletext">${uiLabelMap.AccountingAHCElectronicCheck}</label>
|
||||
</div>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.EXT_PAYPAL?exists>
|
||||
<div>
|
||||
<input type="radio" id="paymentMethodTypeId_EXT_PAYPAL" name="paymentMethodTypeId" value="EXT_PAYPAL" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "EXT_PAYPAL">checked</#if>/>
|
||||
<input type="radio" id="paymentMethodTypeId_EXT_PAYPAL" name="paymentMethodTypeId" value="EXT_PAYPAL" <#if paymentMethodTypeId?exists && paymentMethodTypeId == "EXT_PAYPAL">checked="checked"</#if> />
|
||||
<label for="paymentMethodTypeId_EXT_PAYPAL" class="tabletext">${uiLabelMap.AccountingPayWithPayPal}</label>
|
||||
</div>
|
||||
</#if>
|
||||
|
||||
@@ -52,7 +52,7 @@ under the License.
|
||||
${screens.render("component://ecommerce/widget/OrderScreens.xml#quickAnonOrderHeader")}
|
||||
<br />
|
||||
<div id="orderItemsSection">${screens.render("component://ecommerce/widget/OrderScreens.xml#orderitems")}</div>
|
||||
<form type="POST" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}">
|
||||
<form type="post" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}">
|
||||
<table border="0" cellpadding="1" width="100%">
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
@@ -60,9 +60,9 @@ under the License.
|
||||
</td>
|
||||
<td align="right">
|
||||
<#if (requestParameters.checkoutpage)?has_content>
|
||||
<input type="hidden" name="checkoutpage" value="${requestParameters.checkoutpage}">
|
||||
<input type="hidden" name="checkoutpage" value="${requestParameters.checkoutpage}" />
|
||||
</#if>
|
||||
<input type="button" id="submitOrderReview" name="processButton" value="${uiLabelMap.OrderSubmitOrder}" onClick="processOrder();" class="mediumSubmit">
|
||||
<input type="button" id="submitOrderReview" name="processButton" value="${uiLabelMap.OrderSubmitOrder}" onClick="processOrder();" class="mediumSubmit" />
|
||||
<#-- doesn't work with Safari, seems to work with IE, Mozilla <a href="#" onclick="processOrder();" class="buttontextbig">[${uiLabelMap.OrderSubmitOrder}] </a> -->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -167,14 +167,14 @@ under the License.
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<@fieldErrors fieldName="shipToAddress1"/>
|
||||
<input type="text" class="inputBox required" size="30" maxlength="30" id="shipToAddress1" name="shipToAddress1" value="${parameters.shipToAddress1?if_exists}">
|
||||
<input type="text" class="inputBox required" size="30" maxlength="30" id="shipToAddress1" name="shipToAddress1" value="${parameters.shipToAddress1?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.PartyAddressLine2}</div></td>
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<input type="text" class="inputBox" size="30" maxlength="30" id="shipToAddress2" name="shipToAddress2" value="${parameters.shipToAddress2?if_exists}">
|
||||
<input type="text" class="inputBox" size="30" maxlength="30" id="shipToAddress2" name="shipToAddress2" value="${parameters.shipToAddress2?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -182,7 +182,7 @@ under the License.
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<@fieldErrors fieldName="shipToCity"/>
|
||||
<input type="text" class="inputBox required" size="30" maxlength="30" id="shipToCity" name="shipToCity" value="${parameters.shipToCity?if_exists}">
|
||||
<input type="text" class="inputBox required" size="30" maxlength="30" id="shipToCity" name="shipToCity" value="${parameters.shipToCity?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -206,7 +206,7 @@ under the License.
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<@fieldErrors fieldName="shipToPostalCode"/>
|
||||
<input type="text" class="inputBox required" size="12" maxlength="10" id="shipToPostalCode" name="shipToPostalCode" value="${parameters.shipToPostalCode?if_exists}">
|
||||
<input type="text" class="inputBox required" size="12" maxlength="10" id="shipToPostalCode" name="shipToPostalCode" value="${parameters.shipToPostalCode?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -262,14 +262,14 @@ under the License.
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<@fieldErrors fieldName="billToAddress1"/>
|
||||
<input type="text" class="inputBox required" id="billToAddress1" size="30" maxlength="30" name="billToAddress1" value="${parameters.billToAddress1?if_exists}">
|
||||
<input type="text" class="inputBox required" id="billToAddress1" size="30" maxlength="30" name="billToAddress1" value="${parameters.billToAddress1?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.PartyAddressLine2}</div></td>
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<input type="text" class="inputBox" id="billToAddress2" size="30" maxlength="30" name="billToAddress2" value="${parameters.billToAddress2?if_exists}">
|
||||
<input type="text" class="inputBox" id="billToAddress2" size="30" maxlength="30" name="billToAddress2" value="${parameters.billToAddress2?if_exists}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -277,7 +277,7 @@ under the License.
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<@fieldErrors fieldName="billToCity"/>
|
||||
<input type="text" class="inputBox required" id="billToCity" size="30" maxlength="30" name="billToCity" value="${parameters.billToCity?if_exists}">
|
||||
<input type="text" class="inputBox required" id="billToCity" size="30" maxlength="30" name="billToCity" value="${parameters.billToCity?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -301,7 +301,7 @@ under the License.
|
||||
<td width="2%"> </td>
|
||||
<td width="72%">
|
||||
<@fieldErrors fieldName="billToPostalCode"/>
|
||||
<input type="text" class="inputBox required" size="12" maxlength="10" id="billToPostalCode" name="billToPostalCode" value="${parameters.billToPostalCode?if_exists}">
|
||||
<input type="text" class="inputBox required" size="12" maxlength="10" id="billToPostalCode" name="billToPostalCode" value="${parameters.billToPostalCode?if_exists}" />
|
||||
*</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -129,26 +129,26 @@ function getPaymentInformation() {
|
||||
<select name="paymentMethodTypeOptionList" class="selectBox" onChange="javascript:getPaymentInformation();">
|
||||
<option value="none">Select One</option>
|
||||
<#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists>
|
||||
<option value="CREDIT_CARD" <#if (parameters.paymentMethodTypeId?default("") == "CREDIT_CARD")> selected</#if>>${uiLabelMap.AccountingVisaMastercardAmexDiscover}</option>
|
||||
<option value="CREDIT_CARD" <#if (parameters.paymentMethodTypeId?default("") == "CREDIT_CARD")> selected="selected"</#if>>${uiLabelMap.AccountingVisaMastercardAmexDiscover}</option>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT?exists>
|
||||
<option value="EFT_ACCOUNT" <#if (parameters.paymentMethodTypeId?default("") == "EFT_ACCOUNT")> selected</#if>>${uiLabelMap.AccountingAHCElectronicCheck}</option>
|
||||
<option value="EFT_ACCOUNT" <#if (parameters.paymentMethodTypeId?default("") == "EFT_ACCOUNT")> selected="selected"</#if>>${uiLabelMap.AccountingAHCElectronicCheck}</option>
|
||||
</#if>
|
||||
<#if productStorePaymentMethodTypeIdMap.EXT_OFFLINE?exists>
|
||||
<option value="EXT_OFFLINE" <#if (parameters.paymentMethodTypeId?default("") == "EXT_OFFLINE")> selected</#if>>${uiLabelMap.OrderPaymentOfflineCheckMoney}</option>
|
||||
<option value="EXT_OFFLINE" <#if (parameters.paymentMethodTypeId?default("") == "EXT_OFFLINE")> selected="selected"</#if>>${uiLabelMap.OrderPaymentOfflineCheckMoney}</option>
|
||||
</#if>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td nowrap colspan="3"><div id="paymentInfoSection"></div></td></tr>
|
||||
<tr><td nowrap="nowrap" colspan="3"><div id="paymentInfoSection"></div></td></tr>
|
||||
<tr><td colspan="3"><hr /></td></tr>
|
||||
<#-- gift card fields -->
|
||||
<#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists>
|
||||
<tr>
|
||||
<td width='26%' nowrap align="right">
|
||||
<td width='26%' nowrap="nowrap" align="right">
|
||||
<input type="checkbox" id="addGiftCard" name="addGiftCard" value="Y" onClick="javascript:getGCInfo();"/>
|
||||
</td>
|
||||
<td colspan="2" nowrap><div class="tabletext">${uiLabelMap.AccountingCheckGiftCard}</div></td>
|
||||
<td colspan="2" nowrap="nowrap"><div class="tabletext">${uiLabelMap.AccountingCheckGiftCard}</div></td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><div id="giftCardSection"></div></td></tr>
|
||||
</#if>
|
||||
|
||||
@@ -121,10 +121,10 @@ under the License.
|
||||
<#list shippingContactMechList as shippingContactMech>
|
||||
<#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress")>
|
||||
<tr>
|
||||
<td align="right" width="1%" valign="top" nowrap>
|
||||
<td align="right" width="1%" valign="top" nowrap="nowrap">
|
||||
<input type="radio" name="originContactMechId" value="${shippingAddress.contactMechId}"/>
|
||||
</td>
|
||||
<td width="99%" valign="top" nowrap>
|
||||
<td width="99%" valign="top" nowrap="nowrap">
|
||||
<div class="tabletext">
|
||||
<#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b> ${shippingAddress.toName}<br /></#if>
|
||||
<#if shippingAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${shippingAddress.attnName}<br /></#if>
|
||||
@@ -134,7 +134,7 @@ under the License.
|
||||
<#if shippingAddress.stateProvinceGeoId?has_content><br />${shippingAddress.stateProvinceGeoId}</#if>
|
||||
<#if shippingAddress.postalCode?has_content><br />${shippingAddress.postalCode}</#if>
|
||||
<#if shippingAddress.countryGeoId?has_content><br />${shippingAddress.countryGeoId}</#if>
|
||||
<a href="<@ofbizUrl>editcontactmech?DONE_PAGE=checkoutoptions&contactMechId=${shippingAddress.contactMechId}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonUpdate}]</a>
|
||||
<a href="<@ofbizUrl>editcontactmech?DONE_PAGE=checkoutoptions&contactMechId=${shippingAddress.contactMechId}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonUpdate}]</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -29,7 +29,7 @@ function submitForm(form, mode, value) {
|
||||
form.submit();
|
||||
} else if (mode == "NA") {
|
||||
// new address
|
||||
form.action="<@ofbizUrl>updateShippingOptions/editcontactmech?DONE_PAGE=splitship&preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION</@ofbizUrl>";
|
||||
form.action="<@ofbizUrl>updateShippingOptions/editcontactmech?DONE_PAGE=splitship&preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION</@ofbizUrl>";
|
||||
form.submit();
|
||||
} else if (mode == "SV") {
|
||||
// save option; return to current screen
|
||||
|
||||
@@ -20,7 +20,7 @@ under the License.
|
||||
<div>
|
||||
<#if quote?exists>
|
||||
<#if quote.statusId == "QUO_APPROVED">
|
||||
<a href="<@ofbizUrl>loadCartFromQuote?quoteId=${quote.quoteId}&finalizeMode=init</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateOrder}</a>
|
||||
<a href="<@ofbizUrl>loadCartFromQuote?quoteId=${quote.quoteId}&finalizeMode=init</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateOrder}</a>
|
||||
<#else/>
|
||||
<span class="buttontextdisabled">${uiLabelMap.OrderCreateOrder}</span>
|
||||
</#if>
|
||||
|
||||
@@ -17,7 +17,7 @@ specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
<!-- function to add extra info for Timestamp format -->
|
||||
function TimestampSubmit(obj) {
|
||||
if (obj.elements["reservStartStr"].value.length == 10) {
|
||||
@@ -81,11 +81,11 @@ under the License.
|
||||
<table border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><div class="tableheadtext">${uiLabelMap.EcommerceListName}</div></td>
|
||||
<td><input type="text" class="inputBox" size="25" name="listName" value="${shoppingList.listName}">
|
||||
<td><input type="text" class="inputBox" size="25" name="listName" value="${shoppingList.listName}" />
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tableheadtext">${uiLabelMap.CommonDescription}</div></td>
|
||||
<td><input type="text" class="inputBox" size="70" name="description" value="${shoppingList.description?if_exists}">
|
||||
<td><input type="text" class="inputBox" size="70" name="description" value="${shoppingList.description?if_exists}" />
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tableheadtext">${uiLabelMap.OrderListType}</div></td>
|
||||
@@ -197,14 +197,14 @@ under the License.
|
||||
<td> </td>
|
||||
<td><div class="tableheadtext">${uiLabelMap.CommonStartDate}</div></td>
|
||||
<td>
|
||||
<input type="text" class="textBox" name="startDateTime" size="22" value="${(recurrenceInfo.startDateTime)?if_exists}">
|
||||
<a href="javascript:call_cal(document.reorderinfo.startDateTime, '${nowTimestamp.toString()}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar"></a>
|
||||
<input type="text" class="textBox" name="startDateTime" size="22" value="${(recurrenceInfo.startDateTime)?if_exists}" />
|
||||
<a href="javascript:call_cal(document.reorderinfo.startDateTime, '${nowTimestamp.toString()}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar" /></a>
|
||||
</td>
|
||||
<td> </td>
|
||||
<td><div class="tableheadtext">${uiLabelMap.CommonEndDate}</div></td>
|
||||
<td>
|
||||
<input type="text" class="textBox" name="endDateTime" size="22" value="${(recurrenceRule.untilDateTime)?if_exists}">
|
||||
<a href="javascript:call_cal(document.reorderinfo.endDateTime, '${nowTimestamp.toString()}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar"></a>
|
||||
<input type="text" class="textBox" name="endDateTime" size="22" value="${(recurrenceRule.untilDateTime)?if_exists}" />
|
||||
<a href="javascript:call_cal(document.reorderinfo.endDateTime, '${nowTimestamp.toString()}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar" /></a>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
@@ -276,7 +276,7 @@ under the License.
|
||||
<td align="right" colspan="9">
|
||||
<div class="tabletext">
|
||||
<a href="javascript:document.reorderinfo.submit();" class="buttontext">${uiLabelMap.CommonSave}</a>
|
||||
<a href="<@ofbizUrl>editcontactmech?preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION&DONE_PAGE=editShoppingList</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyAddNewAddress}</a>
|
||||
<a href="<@ofbizUrl>editcontactmech?preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION&DONE_PAGE=editShoppingList</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyAddNewAddress}</a>
|
||||
<a href="<@ofbizUrl>editcreditcard?DONE_PAGE=editShoppingList</@ofbizUrl>" class="buttontext">${uiLabelMap.EcommerceNewCreditCard}</a>
|
||||
<a href="<@ofbizUrl>editeftaccount?DONE_PAGE=editShoppingList</@ofbizUrl>" class="buttontext">${uiLabelMap.EcommerceNewEFTAccount}</a>
|
||||
</div>
|
||||
@@ -323,7 +323,7 @@ under the License.
|
||||
<div class="screenlet">
|
||||
<div class="screenlet-title-bar">
|
||||
<div class="boxlink">
|
||||
<a href="<@ofbizUrl>addListToCart?shoppingListId=${shoppingList.shoppingListId}&includeChild=yes</@ofbizUrl>" class="submenutextright">${uiLabelMap.EcommerceAddChildListsToCart}</a>
|
||||
<a href="<@ofbizUrl>addListToCart?shoppingListId=${shoppingList.shoppingListId}&includeChild=yes</@ofbizUrl>" class="submenutextright">${uiLabelMap.EcommerceAddChildListsToCart}</a>
|
||||
</div>
|
||||
<div class="h3"> ${uiLabelMap.EcommerceChildShoppingList} - ${shoppingList.listName}</div>
|
||||
</div>
|
||||
@@ -339,10 +339,10 @@ under the License.
|
||||
<#assign childShoppingList = childShoppingListData.childShoppingList/>
|
||||
<#assign totalPrice = childShoppingListData.totalPrice/>
|
||||
<tr>
|
||||
<td nowrap>
|
||||
<td nowrap="nowrap">
|
||||
<a href="<@ofbizUrl>editShoppingList?shoppingListId=${childShoppingList.shoppingListId}</@ofbizUrl>" class="buttontext">${childShoppingList.listName?default(childShoppingList.shoppingListId)}</a>
|
||||
</td>
|
||||
<td nowrap align="right">
|
||||
<td nowrap="nowrap" align="right">
|
||||
<div class="tabletext"><@ofbizCurrency amount=totalPrice isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td align="right">
|
||||
@@ -355,7 +355,7 @@ under the License.
|
||||
<tr><td colspan="6"><hr /></td></tr>
|
||||
<tr>
|
||||
<td><div class="tabletext"> </div></td>
|
||||
<td nowrap align="right">
|
||||
<td nowrap="nowrap" align="right">
|
||||
<div class="tableheadtext"><@ofbizCurrency amount=shoppingListChildTotal isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td><div class="tabletext"> </div></td>
|
||||
@@ -377,8 +377,8 @@ under the License.
|
||||
<table width="100%" cellspacing="0" cellpadding="1" border="0">
|
||||
<tr>
|
||||
<td><div class="tabletext"><b>${uiLabelMap.OrderProduct}</b></div></td>
|
||||
<td><table><tr><td class="tabletext" nowrap align="center"><b>- ${uiLabelMap.EcommerceStartdate} -</b></td><td class="tabletext" nowrap><b>- ${uiLabelMap.EcommerceNbrOfDays} -</b></td></tr><tr><td class="tabletext" nowrap><b>- ${uiLabelMap.EcommerceNbrOfPersons} -</b></td><td class="tabletext" nowrap align="center"><b>- ${uiLabelMap.CommonQuantity} -</b></td></tr></table></td>
|
||||
<#-- <TD NOWRAP align="center"><div class="tabletext"><b>Purchased</b></div></TD> -->
|
||||
<td><table><tr><td class="tabletext" nowrap="nowrap" align="center"><b>- ${uiLabelMap.EcommerceStartdate} -</b></td><td class="tabletext" nowrap="nowrap"><b>- ${uiLabelMap.EcommerceNbrOfDays} -</b></td></tr><tr><td class="tabletext" nowrap="nowrap"><b>- ${uiLabelMap.EcommerceNbrOfPersons} -</b></td><td class="tabletext" nowrap="nowrap" align="center"><b>- ${uiLabelMap.CommonQuantity} -</b></td></tr></table></td>
|
||||
<#-- <td nowrap="nowrap" align="center"><div class="tabletext"><b>Purchased</b></div></td> -->
|
||||
<td align="right"><div class="tabletext"><b>${uiLabelMap.EcommercePrice}</b></div></td>
|
||||
<td align="right"><div class="tabletext"><b>${uiLabelMap.OrderTotal}</b></div></td>
|
||||
<td> </td>
|
||||
@@ -399,13 +399,13 @@ under the License.
|
||||
${productContentWrapper.get("PRODUCT_NAME")?default("No Name")}</a> : ${productContentWrapper.get("DESCRIPTION")?if_exists}
|
||||
</div>
|
||||
</td>
|
||||
<td nowrap align="center">
|
||||
<td nowrap="nowrap" align="center">
|
||||
<form method="post" action="<@ofbizUrl>updateShoppingListItem</@ofbizUrl>" name="listform_${shoppingListItem.shoppingListItemSeqId}" style="margin: 0;">
|
||||
<input type="hidden" name="shoppingListId" value="${shoppingListItem.shoppingListId}"/>
|
||||
<input type="hidden" name="shoppingListItemSeqId" value="${shoppingListItem.shoppingListItemSeqId}"/>
|
||||
<input type="hidden" name="reservStart"/>
|
||||
<div class="tabletext">
|
||||
<#if product.productTypeId == "ASSET_USAGE"><table border="0" width="100%"><tr><td width="1%"> </td><td><input type="text" class="inputBox" size="10" name="reservStartStr" value=${shoppingListItem.reservStart?if_exists}/></td><td><input type="text" class="inputBox" size="2" name="reservLength" value=${shoppingListItem.reservLength?if_exists}/></td></tr><tr><td> </td><td><input type="text" class="inputBox" size="3" name="reservPersons" value=${shoppingListItem.reservPersons?if_exists}/></td><td class="tabletext"><#else>
|
||||
<#if product.productTypeId == "ASSET_USAGE"><table border="0" width="100%"><tr><td width="1%"> </td><td><input type="text" class="inputBox" size="10" name="reservStartStr" value="${shoppingListItem.reservStart?if_exists}"/></td><td><input type="text" class="inputBox" size="2" name="reservLength" value="${shoppingListItem.reservLength?if_exists}"/></td></tr><tr><td> </td><td><input type="text" class="inputBox" size="3" name="reservPersons" value="${shoppingListItem.reservPersons?if_exists}"/></td><td class="tabletext"><#else>
|
||||
<table width="100%"><tr><td width="62%" align="center">--</td><td align="center">--</td></tr><tr><td align="center">--</td><td class="tabletext"><input type="hidden" name="reservStartStr" value=""/>
|
||||
</#if>
|
||||
<input size="6" class="inputBox" type="text" name="quantity" value="${shoppingListItem.quantity?string.number}"/>
|
||||
@@ -414,19 +414,19 @@ under the License.
|
||||
</form>
|
||||
</td>
|
||||
<#--
|
||||
<td nowrap align="center">
|
||||
<td nowrap="nowrap" align="center">
|
||||
<div class="tabletext">${shoppingListItem.quantityPurchased?default(0)?string.number}</div>
|
||||
</td>
|
||||
-->
|
||||
<td nowrap align="right">
|
||||
<td nowrap="nowrap" align="right">
|
||||
<div class="tabletext"><@ofbizCurrency amount=unitPrice isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td nowrap align="right">
|
||||
<td nowrap="nowrap" align="right">
|
||||
<div class="tabletext"><@ofbizCurrency amount=totalPrice isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="javascript:TimestampSubmit(listform_${shoppingListItem.shoppingListItemSeqId});" class="buttontext">${uiLabelMap.CommonUpdate}</a>
|
||||
<a href="<@ofbizUrl>removeFromShoppingList?shoppingListId=${shoppingListItem.shoppingListId}&shoppingListItemSeqId=${shoppingListItem.shoppingListItemSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRemove}</a>
|
||||
<a href="<@ofbizUrl>removeFromShoppingList?shoppingListId=${shoppingListItem.shoppingListId}&shoppingListItemSeqId=${shoppingListItem.shoppingListItemSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRemove}</a>
|
||||
<#if isVirtual && productVariantAssocs?has_content>
|
||||
<#assign replaceItemAction = "/replaceShoppingListItem/" + requestAttributes._CURRENT_VIEW_?if_exists>
|
||||
<#assign addToCartAction = "/additem/" + requestAttributes._CURRENT_VIEW_?if_exists>
|
||||
@@ -450,7 +450,7 @@ under the License.
|
||||
<a href="javascript:document.listreplform_${shoppingListItem.shoppingListItemSeqId}.action='<@ofbizUrl>${addToCartAction}</@ofbizUrl>';document.listreplform_${shoppingListItem.shoppingListItemSeqId}.submit();" class="buttontext">${uiLabelMap.CommonAdd} ${shoppingListItem.quantity?string} ${uiLabelMap.EcommerceVariationToCart}</a>
|
||||
</form>
|
||||
<#else>
|
||||
<a href="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if>?shoppingListId=${shoppingListItem.shoppingListId}&shoppingListItemSeqId=${shoppingListItem.shoppingListItemSeqId}&quantity=${shoppingListItem.quantity}&reservStart=${shoppingListItem.reservStart?if_exists}&reservPersons=${shoppingListItem.reservPersons?if_exists}&reservLength=${shoppingListItem.reservLength?if_exists}&configId=${shoppingListItem.configId?if_exists}&add_product_id=${shoppingListItem.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonAdd} ${shoppingListItem.quantity?string} ${uiLabelMap.OrderToCart}</a>
|
||||
<a href="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if>?shoppingListId=${shoppingListItem.shoppingListId}&shoppingListItemSeqId=${shoppingListItem.shoppingListItemSeqId}&quantity=${shoppingListItem.quantity}&reservStart=${shoppingListItem.reservStart?if_exists}&reservPersons=${shoppingListItem.reservPersons?if_exists}&reservLength=${shoppingListItem.reservLength?if_exists}&configId=${shoppingListItem.configId?if_exists}&add_product_id=${shoppingListItem.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonAdd} ${shoppingListItem.quantity?string} ${uiLabelMap.OrderToCart}</a>
|
||||
</#if>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -461,7 +461,7 @@ under the License.
|
||||
<td><div class="tabletext"> </div></td>
|
||||
<#--<td><div class="tabletext"> </div></td>-->
|
||||
<td><div class="tabletext"> </div></td>
|
||||
<td nowrap align="right">
|
||||
<td nowrap="nowrap" align="right">
|
||||
<div class="tableheadtext"><@ofbizCurrency amount=shoppingListItemTotal isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td><div class="tabletext"> </div></td>
|
||||
@@ -480,28 +480,28 @@ under the License.
|
||||
<div class="screenlet-body">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
||||
<tr>
|
||||
<td width="5%" NOWRAP>
|
||||
<td width="5%" nowrap="nowrap">
|
||||
<div class="tabletext">${uiLabelMap.EcommerceChildListTotalPrice}</div>
|
||||
</td>
|
||||
<td align="right" width="5%" NOWRAP>
|
||||
<td align="right" width="5%" nowrap="nowrap">
|
||||
<div class="tabletext"><@ofbizCurrency amount=shoppingListChildTotal isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td width="90%"><div class="tabletext"> </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP>
|
||||
<td nowrap="nowrap">
|
||||
<div class="tabletext">${uiLabelMap.EcommerceListItemsTotalPrice} </div>
|
||||
</td>
|
||||
<td align="right" NOWRAP>
|
||||
<td align="right" nowrap="nowrap">
|
||||
<div class="tabletext"><@ofbizCurrency amount=shoppingListItemTotal isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td><div class="tabletext"> </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP>
|
||||
<td nowrap="nowrap">
|
||||
<div class="tableheadtext">${uiLabelMap.OrderGrandTotal}</div>
|
||||
</td>
|
||||
<td align="right" NOWRAP>
|
||||
<td align="right" nowrap="nowrap">
|
||||
<div class="tableheadtext"><@ofbizCurrency amount=shoppingListTotalPrice isoCode=currencyUomId/></div>
|
||||
</td>
|
||||
<td><div class="tabletext"> </div></td>
|
||||
@@ -518,8 +518,8 @@ under the License.
|
||||
<form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
|
||||
<input type="hidden" name="shoppingListId" value="${shoppingList.shoppingListId}"/>
|
||||
<input type="text" class="inputBox" name="productId" value="${requestParameters.add_product_id?if_exists}"/>
|
||||
<#if reservStart?exists></td><td class="tabletext">${uiLabelMap.EcommerceStartDate}</td><td><input type="text" class="inputBox" size="10" name="reservStart" value=${requestParameters.reservStart?default("")}></td><td class="tabletext"> ${uiLabelMap.EcommerceLength}:</td><td><input type="text" class="inputBox" size="2" name="reservLength" value=${requestParameters.reservLength?default("")}></td></tr><tr><td> </td><td> </td><td class="tabletext">${uiLabelMap.OrderNbrPersons}:</td><td><input type="text" class="inputBox" size="3" name="reservPersons" value=${requestParameters.reservPersons?default("1")}></td><td class="tabletext" nowrap></#if> ${uiLabelMap.CommonQuantity} :</td><td><input type="text" class="inputBox" size="5" name="quantity" value="${requestParameters.quantity?default("1")}"></td><td>
|
||||
<!-- <input type="text" class="inputBox" size="5" name="quantity" value="${requestParameters.quantity?default("1")}">-->
|
||||
<#if reservStart?exists></td><td class="tabletext">${uiLabelMap.EcommerceStartDate}</td><td><input type="text" class="inputBox" size="10" name="reservStart" value="${requestParameters.reservStart?default("")}" /></td><td class="tabletext"> ${uiLabelMap.EcommerceLength}:</td><td><input type="text" class="inputBox" size="2" name="reservLength" value="${requestParameters.reservLength?default("")}" /></td></tr><tr><td> </td><td> </td><td class="tabletext">${uiLabelMap.OrderNbrPersons}:</td><td><input type="text" class="inputBox" size="3" name="reservPersons" value="${requestParameters.reservPersons?default("1")}" /></td><td class="tabletext" nowrap="nowrap"></#if> ${uiLabelMap.CommonQuantity} :</td><td><input type="text" class="inputBox" size="5" name="quantity" value="${requestParameters.quantity?default("1")}" /></td><td>
|
||||
<!-- <input type="text" class="inputBox" size="5" name="quantity" value="${requestParameters.quantity?default("1")}" />-->
|
||||
<input type="submit" class="smallSubmit" value="${uiLabelMap.OrderAddToShoppingList}"/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user