Removed deprecated CSS styles from back office applications.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676212 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2008-07-12 18:41:44 +00:00
parent 503c079510
commit 75191fa776
73 changed files with 508 additions and 508 deletions
@@ -497,8 +497,8 @@ under the License.
<field-map env-name="agreementId" field-name="agreementId" />
</entity-and>
</actions>
<field name="agreementItemSeqId" widget-style="tabletext"><display/></field>
<field name="workEffortId" widget-style="tabletext"><display/></field>
<field name="agreementItemSeqId"><display/></field>
<field name="workEffortId"><display/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteAgreementWorkEffortAppl?agreementId=${agreementId}&amp;agreementItemSeqId=${agreementItemSeqId}&amp;workEffortId=${workEffortId}"/>
</field>
@@ -75,11 +75,11 @@
</entity-options>
</drop-down>
</field>
<field name="partyIdFrom" use-when="employment!=null" title="${uiLabelMap.HumanResPartyIdFrom}" widget-style="tabletext" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="partyIdFrom" use-when="employment!=null" title="${uiLabelMap.HumanResPartyIdFrom}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="partyIdTo" use-when="employment==null" title="${uiLabelMap.HumanResPartyIdTo}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
<field name="partyIdTo" use-when="employment!=null" title="${uiLabelMap.HumanResPartyIdTo}" widget-style="tabletext" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="partyIdTo" use-when="employment!=null" title="${uiLabelMap.HumanResPartyIdTo}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="fromDate" use-when="employment==null" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonRequired}"><date-time/></field>
<field name="fromDate" use-when="employment!=null" title="${uiLabelMap.CommonDate}" widget-style="tabletext" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="fromDate" use-when="employment!=null" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="terminationReasonId" use-when="employment!=null" title="${uiLabelMap.HumanResTerminationReasonId}"><lookup target-form-name="LookupTerminationReason"/></field>
<field name="terminationTypeId" use-when="employment!=null" title="${uiLabelMap.HumanResTerminationTypeId}">
<drop-down allow-empty="true" no-current-selected-key="------">
@@ -53,7 +53,7 @@ under the License.
<form name="EditPartyResume" type="single" target="createPartyResume" title="" default-map-name="partyResume"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="partyResume != null" target="updatePartyResume"/>
<field name="resumeId" use-when="resumeId!=null" title="${uiLabelMap.HumanResResumeId}" widget-style="tabletext" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="resumeId" use-when="resumeId!=null" title="${uiLabelMap.HumanResResumeId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="resumeId" use-when="resumeId==null" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field>
<field name="contentId"><lookup target-form-name="LookupContent"/></field>
<field name="partyId" use-when="partyResume!=null&amp;&amp;partyId!=null" title="${uiLabelMap.FormFieldTitle_partyId}"><hidden/></field>
@@ -44,7 +44,7 @@
header-row-style="header-row" default-table-style="basic-table" default-map-name="payGrade">
<alt-target use-when="payGradeId==null" target="createPayGrade"/>
<auto-fields-service default-field-type="edit" service-name="createPayGrade"/>
<field use-when="payGrade!=null" name="payGradeId" widget-style="tabletext" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="payGrade!=null" name="payGradeId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="payGrade==null" name="payGradeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field>
<field name="payGradeName"><text/></field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="button"/></field>
@@ -51,9 +51,9 @@ under the License.
<alt-target use-when="perfReview==null" target="createPerfReview"/>
<auto-fields-service service-name="updatePerfReview" map-name="perfReview"/>
<field name="perfReviewId" use-when="perfReview==null" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPerfReview"/></field>
<field name="perfReviewId" use-when="perfReview!=null" widget-style="tabletext" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="perfReviewId" use-when="perfReview!=null" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="employeePartyId" use-when="perfReview==null" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field>
<field name="employeePartyId" use-when="perfReview!=null" widget-style="tabletext" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="employeePartyId" use-when="perfReview!=null" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="employeeRoleTypeId"><hidden value="EMPLOYEE"/></field>
<field name="managerPartyId"><lookup target-form-name="LookupPartyName"/></field>
<field name="managerRoleTypeId">
@@ -59,7 +59,7 @@ under the License.
<set field="insideEmployee" from-field="parameters.insideEmployee"/>
</actions>
<alt-target use-when="insideEmployee != null" target="createPersonTrainingExt"/>
<field use-when="party!=null" name="partyId" widget-style="tabletext"><hidden/></field>
<field use-when="party!=null" name="partyId"><hidden/></field>
<field use-when="party==null" name="partyId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field>
<field name="trainingClassTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required">
<drop-down allow-empty="false">
@@ -65,16 +65,16 @@ under the License.
<input type="hidden" name="fromGroupIndex_o_${rowCount}" value="${shipGroupIndex}"/>
<tr>
<td>
<div class="tabletext">[${shoppingCartItem.getProductId()}] ${shoppingCartItem.getName()?if_exists}: ${shoppingCartItem.getDescription()?if_exists}</div>
<div>[${shoppingCartItem.getProductId()}] ${shoppingCartItem.getName()?if_exists}: ${shoppingCartItem.getDescription()?if_exists}</div>
</td>
<td>
<div class="tabletext">${shipGroupItemQuantity}</div>
<div>${shipGroupItemQuantity}</div>
</td>
<td>
<div class="tabletext"><input type="text" name="quantity_o_${rowCount}" value="${shipGroupItemQuantity}"/></div>
<div><input type="text" name="quantity_o_${rowCount}" value="${shipGroupItemQuantity}"/></div>
</td>
<td>
<div class="tabletext">
<div>
<select name="toGroupIndex_o_${rowCount}">
<option value="${shipGroupIndex}">---</option>
<#list 0..(shoppingCart.getShipGroupSize() - 1) as groupIdx>
@@ -34,9 +34,9 @@ under the License.
</tr>
<#list additionalPartyRoleMap[role] as party>
<tr>
<td><div class="tabletext">${party}</div></td>
<td><div>${party}</div></td>
<td>
<div class="tabletext">
<div>
<#if partyData[party].type == "person">
${partyData[party].firstName?if_exists}
<#else>
@@ -45,7 +45,7 @@ under the License.
</div>
</td>
<td>
<div class="tabletext">
<div>
<#if partyData[party].type == "person">
${partyData[party].lastName?if_exists}
</#if>
@@ -52,7 +52,7 @@ under the License.
</td>
<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td width="100%">
<div class="tabletext">
<div>
<#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonToName}:</b>&nbsp;${shippingAddress.toName}<br/></#if>
<#if shippingAddress.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b>&nbsp;${shippingAddress.attnName}<br/></#if>
<#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if>
@@ -58,7 +58,7 @@ function makeExpDate() {
</select>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.FormFieldTitle_billingAccountId}</span>
<span>${uiLabelMap.FormFieldTitle_billingAccountId}</span>
</td>
<td>&nbsp;</td>
</tr>
@@ -78,7 +78,7 @@ function makeExpDate() {
<input type="radio" name="checkOutPaymentId" value="EXT_OFFLINE" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_OFFLINE">checked="checked"</#if>/>
</td>
<td colspan="2" width="50%">
<span class="tabletext">${uiLabelMap.OrderPaymentOfflineCheckMoney}</span>
<span>${uiLabelMap.OrderPaymentOfflineCheckMoney}</span>
</td>
</tr>
<tr><td colspan="3"><hr/></td></tr>
@@ -87,7 +87,7 @@ function makeExpDate() {
<input type="radio" name="checkOutPaymentId" value="EXT_COD" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_COD">checked="checked"</#if>/>
</td>
<td colspan="2" width="50%">
<span class="tabletext">${uiLabelMap.OrderCOD}</span>
<span>${uiLabelMap.OrderCOD}</span>
</td>
</tr>
<tr><td colspan="3"><hr/></td></tr>
@@ -100,7 +100,7 @@ function makeExpDate() {
<input type="radio" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if checkOutPaymentId?exists && paymentMethod.paymentMethodId == checkOutPaymentId>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">
<span>
CC:&nbsp;${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
<#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>
&nbsp;${uiLabelMap.OrderCardSecurityCode}&nbsp;<input type="text" size="5" maxlength="10" name="securityCode_${paymentMethod.paymentMethodId}" value=""/>
@@ -115,7 +115,7 @@ function makeExpDate() {
<input type="radio" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if checkOutPaymentId?exists && paymentMethod.paymentMethodId == checkOutPaymentId>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">
<span>
EFT:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}
<#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>
</span>
@@ -126,7 +126,7 @@ function makeExpDate() {
</#if>
</#list>
<#else>
<div class="tabletext"><b>${uiLabelMap.AccountingNoPaymentMethods}</b></div>
<div><b>${uiLabelMap.AccountingNoPaymentMethods}</b></div>
</#if>
</table>
</form>
@@ -171,7 +171,7 @@ function makeExpDate() {
<input type="checkbox" name="useShipAddr" value="Y" onClick="javascript:shipBillAddr();" <#if requestParameters.useShipAddr?exists>checked="checked"</#if>/>
</td>
<td colspan="2" align="left" valign="center">
<div class="tabletext">${uiLabelMap.FacilityBillingAddressSameShipping}</div>
<div>${uiLabelMap.FacilityBillingAddressSameShipping}</div>
</td>
</tr>
<tr>
@@ -192,42 +192,42 @@ function makeExpDate() {
<#-- generic address information -->
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonToName}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonToName}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="toName" value="${toName}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonAttentionName}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAttentionName}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="attnName" value="${postalFields.attnName?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonAddressLine} 1</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 1</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="30" name="address1" value="${postalFields.address1?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonAddressLine} 2</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 2</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="30" name="address2" value="${postalFields.address2?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonCity}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonCity}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="30" name="city" value="${postalFields.city?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonStateProvince}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonStateProvince}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="stateProvinceGeoId" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>>
@@ -241,14 +241,14 @@ function makeExpDate() {
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonZipPostalCode}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonZipPostalCode}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="12" maxlength="10" name="postalCode" value="${postalFields.postalCode?if_exists}" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonCountry}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonCountry}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="countryGeoId" <#if requestParameters.useShipAddr?exists>disabled="disabled"</#if>>
@@ -272,14 +272,14 @@ function makeExpDate() {
</tr>
<tr>
<td width="26%" align="right" valign="middle"><div class="tabletext">${uiLabelMap.AccountingCompanyNameCard}</div></td>
<td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingCompanyNameCard}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" class='inputBox' size="30" maxlength="60" name="companyNameOnCard" value="${creditCard.companyNameOnCard?if_exists}"/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="middle"><div class="tabletext">${uiLabelMap.AccountingPrefixCard}</div></td>
<td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingPrefixCard}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="titleOnCard">
@@ -292,28 +292,28 @@ function makeExpDate() {
</td>
</tr>
<tr>
<td width="26%" align="right" valign="middle"><div class="tabletext">${uiLabelMap.AccountingFirstNameCard}</div></td>
<td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingFirstNameCard}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="20" maxlength="60" name="firstNameOnCard" value="${(creditCard.firstNameOnCard)?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="middle"><div class="tabletext">${uiLabelMap.AccountingMiddleNameCard}</div></td>
<td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingMiddleNameCard}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="15" maxlength="60" name="middleNameOnCard" value="${(creditCard.middleNameOnCard)?if_exists}"/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="middle"><div class="tabletext">${uiLabelMap.AccountingLastNameCard}</div></td>
<td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingLastNameCard}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="20" maxlength="60" name="lastNameOnCard" value="${(creditCard.lastNameOnCard)?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="middle"><div class="tabletext">${uiLabelMap.AccountingSuffixCard}</div></td>
<td width="26%" align="right" valign="middle"><div>${uiLabelMap.AccountingSuffixCard}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="suffixOnCard">
@@ -330,7 +330,7 @@ function makeExpDate() {
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingCardType}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingCardType}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="cardType">
@@ -349,21 +349,21 @@ function makeExpDate() {
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingCardNumber}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingCardNumber}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber?if_exists}"/>
*</td>
</tr>
<#--<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.OrderCardSecurityCode}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.OrderCardSecurityCode}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="5" maxlength="10" name="cardSecurityCode" value=""/>
</td>
</tr>-->
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingExpirationDate}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingExpirationDate}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<#assign expMonth = "">
@@ -409,7 +409,7 @@ function makeExpDate() {
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonDescription}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonDescription}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="20" maxlength="30" name="description" value="${creditCard.description?if_exists}"/>
@@ -426,35 +426,35 @@ function makeExpDate() {
<td colspan="3"><hr/></td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingNameAccount}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingNameAccount}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="nameOnAccount" value="${eftAccount.nameOnAccount?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingCompanyNameAccount}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingCompanyNameAccount}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="companyNameOnAccount" value="${eftAccount.companyNameOnAccount?if_exists}"/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingBankName}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingBankName}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="bankName" value="${eftAccount.bankName?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingRoutingNumber}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingRoutingNumber}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="10" maxlength="30" name="routingNumber" value="${eftAccount.routingNumber?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingAccountType}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingAccountType}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="accountType">
@@ -466,14 +466,14 @@ function makeExpDate() {
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.AccountingAccountNumber}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.AccountingAccountNumber}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="20" maxlength="40" name="accountNumber" value="${eftAccount.accountNumber?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonDescription}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonDescription}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="description" value="${eftAccount.description?if_exists}"/>
@@ -503,23 +503,23 @@ function makeExpDate() {
<#if !requestParameters.createNew?exists>
<tr>
<td width='1%' nowrap><input type="radio" name="paymentMethodTypeAndId" value="EXT_OFFLINE" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_OFFLINE">checked="checked"</#if> onchange="setCheckoutPaymentId(this.value)" onClick="setCheckoutPaymentId(this.value)"/></td>
<td width='50%'nowrap><div class="tabletext">${uiLabelMap.OrderPaymentOfflineCheckMoney}</div></td>
<td width='50%'nowrap><div>${uiLabelMap.OrderPaymentOfflineCheckMoney}</div></td>
</tr>
<tr><td colspan="2"><hr/></td></tr>
<tr>
<td width="1%" nowrap><input type="radio" name="paymentMethodTypeAndId" value="EXT_COD" <#if checkOutPaymentId?exists && checkOutPaymentId == "EXT_COD">checked="checked"</#if> onchange="setCheckoutPaymentId(this.value)" onClick="setCheckoutPaymentId(this.value)"/></td>
<td width="50%"nowrap><div class="tabletext">${uiLabelMap.OrderCOD}</div></td>
<td width="50%"nowrap><div>${uiLabelMap.OrderCOD}</div></td>
</tr>
<tr><td colspan="2"><hr/></td></tr>
</#if>
<tr>
<td width='1%' nowrap><input type="radio" name="paymentMethodTypeAndId" value="CC" onchange="setCheckoutPaymentId(this.value)" onClick="setCheckoutPaymentId(this.value)"/>
<td width='50%' nowrap><div class="tabletext">${uiLabelMap.AccountingVisaMastercardAmexDiscover}</div></td>
<td width='50%' nowrap><div>${uiLabelMap.AccountingVisaMastercardAmexDiscover}</div></td>
</tr>
<tr><td colspan="2"><hr/></td></tr>
<tr>
<td width='1%' nowrap><input type="radio" name="paymentMethodTypeAndId" value="EFT" onchange="setCheckoutPaymentId(this.value)" onClick="setCheckoutPaymentId(this.value)"/>
<td width='50%' nowrap><div class="tabletext">${uiLabelMap.AccountingAHCElectronicCheck}</div></td>
<td width='50%' nowrap><div>${uiLabelMap.AccountingAHCElectronicCheck}</div></td>
</tr>
</table>
</form>
@@ -39,7 +39,7 @@ under the License.
<table border="0">
<tr>
<td>
<div class="tabletext">
<div>
<select name='shoppingListId'>
<#list shoppingLists as shoppingList>
<option value='${shoppingList.shoppingListId}'>${shoppingList.getString("listName")}</option>
@@ -23,7 +23,7 @@ under the License.
<div class="boxhead">&nbsp;${uiLabelMap.OrderManualPromotions}</div>
</div>
<div class="screenlet-body">
<div class="tabletext">
<div>
<form method="post" action="<@ofbizUrl>doManualPromotions</@ofbizUrl>" name="domanualpromotions" style="margin: 0;">
<!-- to enter more than two manual promotions, just add a new select box with name="productPromoId_n" -->
<select name="productPromoId_1">
@@ -35,13 +35,13 @@ under the License.
</#if>
<table width="100%" cellpadding="0" cellspacing="2">
<tr>
<td valign="bottom"><div class="tabletext"><b>${uiLabelMap.OrderQty}</b></div></td>
<td valign="bottom"><div class="tabletext"><b>${uiLabelMap.OrderItem}</b></div></td>
<td valign="bottom" align="right"><div class="tabletext"><b>${uiLabelMap.CommonSubtotal}</b></div></td>
<td valign="bottom"><div><b>${uiLabelMap.OrderQty}</b></div></td>
<td valign="bottom"><div><b>${uiLabelMap.OrderItem}</b></div></td>
<td valign="bottom" align="right"><div><b>${uiLabelMap.CommonSubtotal}</b></div></td>
</tr>
<#list shoppingCart.items() as cartLine>
<tr>
<td valign="top"><div class="tabletext">${cartLine.getQuantity()?string.number}</div></td>
<td valign="top"><div>${cartLine.getQuantity()?string.number}</div></td>
<td valign="top">
<#if cartLine.getProductId()?exists>
<#if cartLine.getParentProductId()?exists>
@@ -50,18 +50,18 @@ under the License.
<div><a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>" class="linktext">${cartLine.getName()}</a></div>
</#if>
<#else>
<div class="tabletext"><b>${cartLine.getItemTypeDescription()?if_exists}</b></div>
<div><b>${cartLine.getItemTypeDescription()?if_exists}</b></div>
</#if>
</td>
<td align="right" valign="top"><div class="tabletext"><@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=shoppingCart.getCurrency()/></div></td>
<td align="right" valign="top"><div><@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=shoppingCart.getCurrency()/></div></td>
</tr>
<#if cartLine.getReservStart()?exists>
<tr><td>&nbsp;</td><td colspan="2"><div class="tabletext">(${cartLine.getReservStart()?string("yyyy-MM-dd")}, ${cartLine.getReservLength()} <#if cartLine.getReservLength() == 1>${uiLabelMap.CommonDay}<#else/>${uiLabelMap.CommonDays}</#if>)</div></td></tr>
<tr><td>&nbsp;</td><td colspan="2"><div>(${cartLine.getReservStart()?string("yyyy-MM-dd")}, ${cartLine.getReservLength()} <#if cartLine.getReservLength() == 1>${uiLabelMap.CommonDay}<#else/>${uiLabelMap.CommonDays}</#if>)</div></td></tr>
</#if>
</#list>
<tr>
<td colspan="3" align="right">
<div class="tabletext"><b>${uiLabelMap.OrderTotal}: <@ofbizCurrency amount=shoppingCart.getGrandTotal() isoCode=shoppingCart.getCurrency()/></b></div>
<div><b>${uiLabelMap.OrderTotal}: <@ofbizCurrency amount=shoppingCart.getGrandTotal() isoCode=shoppingCart.getCurrency()/></b></div>
</td>
</tr>
</table>
@@ -71,7 +71,7 @@ under the License.
<div style="margin-top: 4px;"><a href="<@ofbizUrl>checkoutoptions</@ofbizUrl>" class="buttontext">${uiLabelMap.EcommerceOnePageCheckout}</a></div>
</#if>
<#else>
<div class="tabletext">${uiLabelMap.OrderShoppingCartEmpty}</div>
<div>${uiLabelMap.OrderShoppingCartEmpty}</div>
</#if>
</div>
</div>
@@ -23,7 +23,7 @@ under the License.
<div class="boxhead">&nbsp;${uiLabelMap.OrderPromotionCouponCodes}</div>
</div>
<div class="screenlet-body">
<div class="tabletext">
<div>
<form method="post" action="<@ofbizUrl>addpromocode<#if requestAttributes._CURRENT_VIEW_?has_content>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addpromocodeform" style="margin: 0;">
<input type="text" size="15" name="productPromoCodeId" value="">
<input type="submit" class="smallSubmit" value="${uiLabelMap.OrderAddCode}">
@@ -27,7 +27,7 @@ under the License.
<#list productPromos as productPromo>
<tr>
<td>
<div class="tabletext"><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="linktext">${uiLabelMap.CommonDetails}</a> ${productPromo.promoText?if_exists}</div>
<div><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="linktext">${uiLabelMap.CommonDetails}</a> ${productPromo.promoText?if_exists}</div>
</td>
</tr>
<#if productPromo_has_next>
@@ -37,7 +37,7 @@ under the License.
<tr><td><hr/></td></tr>
<tr>
<td>
<div class="tabletext"><a href="<@ofbizUrl>showAllPromotions</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderViewAllPromotions}</a></div>
<div><a href="<@ofbizUrl>showAllPromotions</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderViewAllPromotions}</a></div>
</td>
</tr>
</table>
@@ -25,14 +25,14 @@ under the License.
<div style="float: left; width: 40%;">
<div>${uiLabelMap.OrderPromotionsApplied}:</div>
<#list shoppingCart.getProductPromoUseInfoIter() as productPromoUseInfo>
<div class="tabletext">
<div>
<#-- TODO: when promo pretty print is done show promo short description here -->
${uiLabelMap.EcommercePromotion} <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoUseInfo.productPromoId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a>
<#if productPromoUseInfo.productPromoCodeId?has_content> - ${uiLabelMap.OrderWithPromoCode} [${productPromoUseInfo.productPromoCodeId}]</#if>
<#if (productPromoUseInfo.totalDiscountAmount != 0)> - ${uiLabelMap.CommonTotalValue} <@ofbizCurrency amount=(-1*productPromoUseInfo.totalDiscountAmount) isoCode=shoppingCart.getCurrency()/></#if>
</div>
<#if (productPromoUseInfo.quantityLeftInActions > 0)>
<div class="tabletext">- Could be used for ${productPromoUseInfo.quantityLeftInActions} more discounted item<#if (productPromoUseInfo.quantityLeftInActions > 1)>s</#if> if added to your cart.</div>
<div>- Could be used for ${productPromoUseInfo.quantityLeftInActions} more discounted item<#if (productPromoUseInfo.quantityLeftInActions > 1)>s</#if> if added to your cart.</div>
</#if>
</#list>
</div>
@@ -41,21 +41,21 @@ under the License.
<#list shoppingCart.items() as cartLine>
<#assign cartLineIndex = shoppingCart.getItemIndex(cartLine)>
<#if cartLine.getIsPromo()>
<div class="tabletext">${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${uiLabelMap.OrderIsAPromotionalItem}</div>
<div>${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${uiLabelMap.OrderIsAPromotionalItem}</div>
<#else>
<div class="tabletext">${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${cartLine.getPromoQuantityUsed()?string.number}/${cartLine.getQuantity()?string.number} ${uiLabelMap.CommonUsed} - ${cartLine.getPromoQuantityAvailable()?string.number} ${uiLabelMap.CommonAvailable}</div>
<div>${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${cartLine.getPromoQuantityUsed()?string.number}/${cartLine.getQuantity()?string.number} ${uiLabelMap.CommonUsed} - ${cartLine.getPromoQuantityAvailable()?string.number} ${uiLabelMap.CommonAvailable}</div>
<#list cartLine.getQuantityUsedPerPromoActualIter() as quantityUsedPerPromoActualEntry>
<#assign productPromoActualPK = quantityUsedPerPromoActualEntry.getKey()>
<#assign actualQuantityUsed = quantityUsedPerPromoActualEntry.getValue()>
<#assign isQualifier = "ProductPromoCond" == productPromoActualPK.getEntityName()>
<div class="tabletext">&nbsp;&nbsp;-&nbsp;${actualQuantityUsed} ${uiLabelMap.CommonUsedAs} <#if isQualifier>${uiLabelMap.CommonQualifier}<#else>${uiLabelMap.CommonBenefit}</#if> ${uiLabelMap.OrderOfPromotion} <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoActualPK.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a></div>
<div>&nbsp;&nbsp;-&nbsp;${actualQuantityUsed} ${uiLabelMap.CommonUsedAs} <#if isQualifier>${uiLabelMap.CommonQualifier}<#else>${uiLabelMap.CommonBenefit}</#if> ${uiLabelMap.OrderOfPromotion} <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoActualPK.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a></div>
<!-- productPromoActualPK ${productPromoActualPK.toString()} -->
</#list>
<#list cartLine.getQuantityUsedPerPromoFailedIter() as quantityUsedPerPromoFailedEntry>
<#assign productPromoFailedPK = quantityUsedPerPromoFailedEntry.getKey()>
<#assign failedQuantityUsed = quantityUsedPerPromoFailedEntry.getValue()>
<#assign isQualifier = "ProductPromoCond" == productPromoFailedPK.getEntityName()>
<div class="tabletext">&nbsp;&nbsp;-&nbsp;${uiLabelMap.CommonCouldBeUsedAs} <#if isQualifier>${uiLabelMap.CommonQualifier}<#else>${uiLabelMap.CommonBenefit}</#if> ${uiLabelMap.OrderOfPromotion} <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoFailedPK.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a></div>
<div>&nbsp;&nbsp;-&nbsp;${uiLabelMap.CommonCouldBeUsedAs} <#if isQualifier>${uiLabelMap.CommonQualifier}<#else>${uiLabelMap.CommonBenefit}</#if> ${uiLabelMap.OrderOfPromotion} <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoFailedPK.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a></div>
<!-- Total times checked but failed: ${failedQuantityUsed}, productPromoFailedPK ${productPromoFailedPK.toString()} -->
</#list>
<#list cartLine.getQuantityUsedPerPromoCandidateIter() as quantityUsedPerPromoCandidateEntry>
@@ -23,30 +23,30 @@ under the License.
</div>
<div class="screenlet-body">
<#if productPromoCategoryIncludeList?has_content>
<div class="tabletext">${uiLabelMap.OrderPromotionProductsInCategories}:</div>
<div>${uiLabelMap.OrderPromotionProductsInCategories}:</div>
<#list productPromoCategoryIncludeList as productPromoCategory>
<#assign productCategory = productPromoCategory.getRelatedOneCache("ProductCategory")>
<div class="tabletext">
<div>
-&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>
<#if productPromoCategory.includeSubCategories?if_exists = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
</div>
</#list>
</#if>
<#if productPromoCategoryExcludeList?has_content>
<div class="tabletext">${uiLabelMap.OrderExcludeCategories}</div>
<div>${uiLabelMap.OrderExcludeCategories}</div>
<#list productPromoCategoryExcludeList as productPromoCategory>
<#assign productCategory = productPromoCategory.getRelatedOneCache("ProductCategory")>
<div class="tabletext">
<div>
-&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>
<#if productPromoCategory.includeSubCategories?if_exists = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
</div>
</#list>
</#if>
<#if productPromoCategoryAlwaysList?has_content>
<div class="tabletext">${uiLabelMap.OrderAlwaysList}</div>
<div>${uiLabelMap.OrderAlwaysList}</div>
<#list productPromoCategoryAlwaysList as productPromoCategory>
<#assign productCategory = productPromoCategory.getRelatedOneCache("ProductCategory")>
<div class="tabletext">
<div>
-&nbsp;<a href="<@ofbizUrl>category/~category_id=${productPromoCategory.productCategoryId}</@ofbizUrl>" class="buttontext">${(productCategory.description)?default(productPromoCategory.productCategoryId)}</a>
<#if productPromoCategory.includeSubCategories?if_exists = "Y">(${uiLabelMap.OrderIncludeSubCategories})</#if>
</div>
@@ -22,7 +22,7 @@ under the License.
<div class="boxhead">&nbsp;${uiLabelMap.OrderPromotionDetails}:</div>
</div>
<div class="screenlet-body">
<div class="tabletext">${productPromo.promoText?if_exists}</div>
<div class="tabletext">Generated Description: ${promoAutoDescription?if_exists}</div>
<div>${productPromo.promoText?if_exists}</div>
<div>Generated Description: ${promoAutoDescription?if_exists}</div>
</div>
</div>
@@ -27,7 +27,7 @@ under the License.
<table border="0" width="100%" cellpadding="2">
<tr>
<td align="right">
<span class="tabletext">
<span>
<b>
<#if (viewIndex > 0)>
<a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromoId?if_exists}&amp;VIEW_SIZE=${viewSize}&amp;VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
@@ -52,8 +52,8 @@ under the License.
<#if (listSize > 0)>
<#list productIds[lowIndex..highIndex-1] as productId>
<tr>
<td><div class="tabletext">[<#if productIdsCond.contains(productId)>x<#else>&nbsp;</#if>]</div></td>
<td><div class="tabletext">[<#if productIdsAction.contains(productId)>x<#else>&nbsp;</#if>]</div></td>
<td><div>[<#if productIdsCond.contains(productId)>x<#else>&nbsp;</#if>]</div></td>
<td><div>[<#if productIdsAction.contains(productId)>x<#else>&nbsp;</#if>]</div></td>
<td>
${setRequestAttribute("optProductId", productId)}
${setRequestAttribute("listIndex", productId_index)}
@@ -24,7 +24,7 @@ under the License.
<div class="screenlet-body">
<#-- show promotions text -->
<#list productPromosAllShowable as productPromo>
<div class="tabletext"><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a> ${productPromo.promoText}</div>
<div><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a> ${productPromo.promoText}</div>
<#if productPromo_has_next>
<hr/>
</#if>
@@ -42,7 +42,7 @@ under the License.
<tr>
<td align="right"><div>${uiLabelMap.OrderDesiredDeliveryDate} :</div></td>
<td>
<div class="tabletext">
<div>
<input type="text" size="25" maxlength="30" name="itemDesiredDeliveryDate"<#if useAsDefaultDesiredDeliveryDate?exists> value="${defaultDesiredDeliveryDate}"</#if>/>
<a href="javascript:call_cal(document.quickaddform.itemDesiredDeliveryDate,'${defaultDesiredDeliveryDate} 00:00:00.0');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="${uiLabelMap.calendar_click_here_for_calendar}"/></a>
<input type="checkbox" name="useAsDefaultDesiredDeliveryDate" value="true"<#if useAsDefaultDesiredDeliveryDate?exists> checked="checked"</#if>/>
@@ -53,7 +53,7 @@ under the License.
<tr>
<td align="right"><div>${uiLabelMap.OrderShipAfterDate} :</div></td>
<td>
<div class="tabletext">
<div>
<input type="text" size="20" maxlength="30" name="shipAfterDate" value="${shoppingCart.getDefaultShipAfterDate()?default("")}"/>
<a href="javascript:call_cal(document.quickaddform.shipAfterDate,'${shoppingCart.getDefaultShipAfterDate()?default("")}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="${uiLabelMap.calendar_click_here_for_calendar}"/></a>
</div>
@@ -62,7 +62,7 @@ under the License.
<tr>
<td align="right"><div>${uiLabelMap.OrderShipBeforeDate} :</div></td>
<td>
<div class="tabletext">
<div>
<input type="text" size="20" maxlength="30" name="shipBeforeDate" value="${shoppingCart.getDefaultShipBeforeDate()?default("")}"/>
<a href="javascript:call_cal(document.quickaddform.shipBeforeDate,'${shoppingCart.getDefaultShipBeforeDate()?default("")}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="${uiLabelMap.calendar_click_here_for_calendar}"/></a>
</div>
@@ -72,7 +72,7 @@ under the License.
<tr>
<td align="right"><div>${uiLabelMap.OrderOrderItemType} :</div></td>
<td>
<div class="tabletext">
<div>
<select name="add_item_type">
<option value="">&nbsp;</option>
<#list purchaseOrderItemTypeList as orderItemType>
@@ -86,7 +86,7 @@ under the License.
<tr>
<td align="right"><div>${uiLabelMap.CommonComment} :</div></td>
<td>
<div class="tabletext">
<div>
<input type="text" size="25" name="itemComment" value="${defaultComment?if_exists}">
<input type="checkbox" name="useAsDefaultComment" value="true" <#if useAsDefaultComment?exists>checked</#if>>
${uiLabelMap.OrderUseDefaultComment}
@@ -37,7 +37,7 @@ under the License.
<tr>
<td>&nbsp;</td>
<td colspan="2">
<div class="tabletext">
<div>
<b>${uiLabelMap.ProductProduct}</b>
<#if showOrderGiftWrap?default("true") == "true">
<select name="GWALL" onchange="javascript:gwAll(this);">
@@ -52,10 +52,10 @@ under the License.
</#if>
</div>
</td>
<td align="center"><div class="tabletext"><b>${uiLabelMap.OrderQuantity}</b></div></td>
<td align="right"><div class="tabletext"><b>${uiLabelMap.CommonUnitPrice}</b></div></td>
<td align="right"><div class="tabletext"><b>${uiLabelMap.OrderAdjustments}</b></div></td>
<td align="right"><div class="tabletext"><b>${uiLabelMap.OrderItemTotal}</b></div></td>
<td align="center"><div><b>${uiLabelMap.OrderQuantity}</b></div></td>
<td align="right"><div><b>${uiLabelMap.CommonUnitPrice}</b></div></td>
<td align="right"><div><b>${uiLabelMap.OrderAdjustments}</b></div></td>
<td align="right"><div><b>${uiLabelMap.OrderItemTotal}</b></div></td>
<td align="center"><input type="checkbox" name="selectAll" value="0" onclick="javascript:toggleAll(this);"></td>
</tr>
@@ -69,7 +69,7 @@ under the License.
<td>
<table border="0">
<tr><td colspan="2">
<div class="tabletext">
<div>
<#if cartLine.getProductId()?exists>
<#-- product item -->
<a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>" class="buttontext">${cartLine.getProductId()}</a> -
@@ -110,7 +110,7 @@ under the License.
<#if cartLine.getRequirementId()?has_content>
<tr>
<td colspan="2" align="left">
<div class="tabletext"><b>${uiLabelMap.OrderRequirementId}</b>: ${cartLine.getRequirementId()?if_exists}</div>
<div><b>${uiLabelMap.OrderRequirementId}</b>: ${cartLine.getRequirementId()?if_exists}</div>
</td>
</tr>
</#if>
@@ -118,19 +118,19 @@ under the License.
<#if cartLine.getQuoteItemSeqId()?has_content>
<tr>
<td colspan="2" align="left">
<div class="tabletext"><b>${uiLabelMap.OrderOrderQuoteId}</b>: ${cartLine.getQuoteId()?if_exists} - ${cartLine.getQuoteItemSeqId()?if_exists}</div>
<div><b>${uiLabelMap.OrderOrderQuoteId}</b>: ${cartLine.getQuoteId()?if_exists} - ${cartLine.getQuoteItemSeqId()?if_exists}</div>
</td>
</tr>
</#if>
</#if>
<#if cartLine.getItemComment()?has_content>
<tr><td align="left"><div>${uiLabelMap.CommonComment} : </div></td>
<td align="left"><div class="tabletext">${cartLine.getItemComment()?if_exists}</div>
<td align="left"><div>${cartLine.getItemComment()?if_exists}</div>
</td></tr>
</#if>
<#if cartLine.getDesiredDeliveryDate()?has_content>
<tr><td align="left"><div>${uiLabelMap.OrderDesiredDeliveryDate}: </div></td>
<td align="left"><div class="tabletext">${cartLine.getDesiredDeliveryDate()?if_exists}</div>
<td align="left"><div>${cartLine.getDesiredDeliveryDate()?if_exists}</div>
</td></tr>
</#if>
<#-- inventory summary -->
@@ -139,7 +139,7 @@ under the License.
<#assign product = cartLine.getProduct()>
<tr>
<td colspan="2" align="left">
<div class="tabletext">
<div>
<a href="/catalog/control/EditProductInventoryItems?productId=${productId}" class="buttontext"><b>${uiLabelMap.ProductInventory}</b></a>:
${uiLabelMap.ProductAtp} = ${availableToPromiseMap.get(productId)}, ${uiLabelMap.ProductQoh} = ${quantityOnHandMap.get(productId)}
<#if product.productTypeId == "MARKETING_PKG_AUTO" || product.productTypeId == "MARKETING_PKG_PICK">
@@ -153,7 +153,7 @@ under the License.
<#assign currentOrderItemType = cartLine.getItemTypeGenericValue()?if_exists/>
<tr>
<td align="left">
<div class="tabletext">
<div>
${uiLabelMap.OrderOrderItemType}:
<select name="itemType_${cartLineIndex}">
<#if currentOrderItemType?has_content>
@@ -176,7 +176,7 @@ under the License.
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left">
<div class="tabletext">${uiLabelMap.OrderShipAfterDate}
<div>${uiLabelMap.OrderShipAfterDate}
<input type="text" size="20" maxlength="30" name="shipAfterDate_${cartLineIndex}"
value="${cartLine.getShipAfterDate()?default("")}"/>
<a href="javascript:call_cal(document.cartform.shipAfterDate_${cartLineIndex},'${shoppingCart.getShipAfterDate()?default("")}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="${uiLabelMap.calendar_click_here_for_calendar}"/></a>
@@ -184,7 +184,7 @@ under the License.
</td>
<td>&nbsp;</td>
<td align="left">
<div class="tabletext">${uiLabelMap.OrderShipBeforeDate}
<div>${uiLabelMap.OrderShipBeforeDate}
<input type="text" size="20" maxlength="30" name="shipBeforeDate_${cartLineIndex}"
value="${cartLine.getShipBeforeDate()?default("")}"/>
<a href="javascript:call_cal(document.cartform.shipBeforeDate_${cartLineIndex},'${shoppingCart.getShipBeforeDate()?default("")}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="${uiLabelMap.calendar_click_here_for_calendar}"/></a>
@@ -202,7 +202,7 @@ under the License.
<#list cartLine.getAlternativeOptionProductIds() as alternativeOptionProductId>
<#assign alternativeOptionProduct = delegator.findByPrimaryKeyCache("Product", Static["org.ofbiz.base.util.UtilMisc"].toMap("productId", alternativeOptionProductId))>
<#assign alternativeOptionName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale, dispatcher)?if_exists>
<div class="tabletext"><a href="<@ofbizUrl>setDesiredAlternateGwpProductId?alternateGwpProductId=${alternativeOptionProductId}&alternateGwpLine=${cartLineIndex}</@ofbizUrl>" class="buttontext">Select: ${alternativeOptionName?default(alternativeOptionProductId)}</a></div>
<div><a href="<@ofbizUrl>setDesiredAlternateGwpProductId?alternateGwpProductId=${alternativeOptionProductId}&alternateGwpLine=${cartLineIndex}</@ofbizUrl>" class="buttontext">Select: ${alternativeOptionName?default(alternativeOptionProductId)}</a></div>
</#list>
</#if>
</td>
@@ -229,7 +229,7 @@ under the License.
</td>
<#-- end gift wrap option -->
<td nowrap align="center">
<div class="tabletext">
<div>
<#if cartLine.getIsPromo() || cartLine.getShoppingListId()?exists>
${cartLine.getQuantity()?string.number}
<#else>
@@ -238,7 +238,7 @@ under the License.
</div>
</td>
<td nowrap align="right">
<div class="tabletext">
<div>
<#if cartLine.getIsPromo() || (shoppingCart.getOrderType() == "SALES_ORDER" && !security.hasEntityPermission("ORDERMGR", "_SALES_PRICEMOD", session))>
<@ofbizCurrency amount=cartLine.getDisplayPrice() isoCode=currencyUomId/>
<#else>
@@ -246,29 +246,29 @@ under the License.
</#if>
</div>
</td>
<td nowrap align="right"><div class="tabletext"><@ofbizCurrency amount=cartLine.getOtherAdjustments() isoCode=currencyUomId/></div></td>
<td nowrap align="right"><div class="tabletext"><@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=currencyUomId/></div></td>
<td nowrap align="center"><div class="tabletext"><#if !cartLine.getIsPromo()><input type="checkbox" name="selectedItem" value="${cartLineIndex}" onclick="javascript:checkToggle(this);"><#else>&nbsp;</#if></div></td>
<td nowrap align="right"><div><@ofbizCurrency amount=cartLine.getOtherAdjustments() isoCode=currencyUomId/></div></td>
<td nowrap align="right"><div><@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=currencyUomId/></div></td>
<td nowrap align="center"><div><#if !cartLine.getIsPromo()><input type="checkbox" name="selectedItem" value="${cartLineIndex}" onclick="javascript:checkToggle(this);"><#else>&nbsp;</#if></div></td>
</tr>
</#list>
<#if shoppingCart.getAdjustments()?has_content>
<tr><td colspan="7"><hr/></td></tr>
<tr>
<td colspan="4" nowrap align="right"><div class="tabletext">${uiLabelMap.OrderSubTotal}:</div></td>
<td nowrap align="right"><div class="tabletext"><@ofbizCurrency amount=shoppingCart.getSubTotal() isoCode=currencyUomId/></div></td>
<td colspan="4" nowrap align="right"><div>${uiLabelMap.OrderSubTotal}:</div></td>
<td nowrap align="right"><div><@ofbizCurrency amount=shoppingCart.getSubTotal() isoCode=currencyUomId/></div></td>
<td>&nbsp;</td>
</tr>
<#list shoppingCart.getAdjustments() as cartAdjustment>
<#assign adjustmentType = cartAdjustment.getRelatedOneCache("OrderAdjustmentType")>
<tr>
<td colspan="4" nowrap align="right">
<div class="tabletext">
<div>
<i>Adjustment</i> - ${adjustmentType.get("description",locale)?if_exists}
<#if cartAdjustment.productPromoId?has_content><a href="<@ofbizUrl>showPromotionDetails?productPromoId=${cartAdjustment.productPromoId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDetails}</a></#if>:
</div>
</td>
<td nowrap align="right"><div class="tabletext"><@ofbizCurrency amount=Static["org.ofbiz.order.order.OrderReadHelper"].calcOrderAdjustment(cartAdjustment, shoppingCart.getSubTotal()) isoCode=currencyUomId/></div></td>
<td nowrap align="right"><div><@ofbizCurrency amount=Static["org.ofbiz.order.order.OrderReadHelper"].calcOrderAdjustment(cartAdjustment, shoppingCart.getSubTotal()) isoCode=currencyUomId/></div></td>
<td>&nbsp;</td>
</tr>
</#list>
@@ -276,11 +276,11 @@ under the License.
<tr>
<td colspan="6" align="right" valign="bottom">
<div class="tabletext"><b>${uiLabelMap.OrderCartTotal}:</b></div>
<div><b>${uiLabelMap.OrderCartTotal}:</b></div>
</td>
<td align="right" valign="bottom">
<hr/>
<div class="tabletext"><b><@ofbizCurrency amount=shoppingCart.getGrandTotal() isoCode=currencyUomId/></b></div>
<div><b><@ofbizCurrency amount=shoppingCart.getGrandTotal() isoCode=currencyUomId/></b></div>
</td>
</tr>
<tr>
@@ -289,7 +289,7 @@ under the License.
</table>
</form>
<#else>
<div class="tabletext">${uiLabelMap.OrderNoOrderItemsToDisplay}</div>
<div>${uiLabelMap.OrderNoOrderItemsToDisplay}</div>
</#if>
</div>
</div>
@@ -28,10 +28,10 @@ under the License.
<input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}">
<tr>
<td align="right" valign="middle">
<div class="tabletext">${uiLabelMap.ProductCategory}:</div>
<div>${uiLabelMap.ProductCategory}:</div>
</td>
<td valign="middle">
<div class="tabletext">
<div>
<b>"${(searchCategory.description)?if_exists}"</b>${uiLabelMap.ProductIncludeSubcategories}
${uiLabelMap.CommonYes}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="Y" checked>
${uiLabelMap.CommonNo}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="N">
@@ -41,10 +41,10 @@ under the License.
</#if>
<tr>
<td align="right" valign="middle">
<div class="tabletext">${uiLabelMap.ProductKeywords}:</div>
<div>${uiLabelMap.ProductKeywords}:</div>
</td>
<td valign="middle">
<div class="tabletext">
<div>
<input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}">&nbsp;
${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>>
@@ -57,10 +57,10 @@ under the License.
<#assign productFeatures = productFeaturesByTypeMap[productFeatureTypeId]>
<tr>
<td align="right" valign="middle">
<div class="tabletext">${(productFeatureType.get("description",locale))?if_exists}:</div>
<div>${(productFeatureType.get("description",locale))?if_exists}:</div>
</td>
<td valign="middle">
<div class="tabletext">
<div>
<select name="pft_${productFeatureTypeId}">
<option value="">- ${uiLabelMap.CommonSelectAny} -</option>
<#list productFeatures as productFeature>
@@ -73,10 +73,10 @@ under the License.
</#list>
<tr>
<td align="right" valign="middle">
<div class="tabletext">${uiLabelMap.ProductSupplier}:</div>
<div>${uiLabelMap.ProductSupplier}:</div>
</td>
<td valign="middle">
<div class="tabletext">
<div>
<select name="SEARCH_SUPPLIER_ID">
<option value="">- ${uiLabelMap.CommonSelectAny} -</option>
<#list supplerPartyRoleAndPartyDetails as supplerPartyRoleAndPartyDetail>
@@ -88,10 +88,10 @@ under the License.
</tr>
<tr>
<td align="right" valign="middle">
<div class="tabletext">${uiLabelMap.CommonSortedBy}:</div>
<div>${uiLabelMap.CommonSortedBy}:</div>
</td>
<td valign="middle">
<div class="tabletext">
<div>
<select name="sortOrder">
<option value="SortKeywordRelevancy">${uiLabelMap.ProductKeywordRelevency}</option>
<option value="SortProductField:productName">${uiLabelMap.ProductProductName}</option>
@@ -111,14 +111,14 @@ under the License.
<#if searchConstraintStrings?has_content>
<tr>
<td align="right" valign="top">
<div class="tabletext">${uiLabelMap.ProductLastSearch}:</div>
<div>${uiLabelMap.ProductLastSearch}:</div>
</td>
<td valign="top">
<#list searchConstraintStrings as searchConstraintString>
<div class="tabletext">&nbsp;-&nbsp;${searchConstraintString}</div>
<div>&nbsp;-&nbsp;${searchConstraintString}</div>
</#list>
<div class="tabletext">${uiLabelMap.CommonSortedBy}: ${searchSortOrderString}</div>
<div class="tabletext">
<div>${uiLabelMap.CommonSortedBy}: ${searchSortOrderString}</div>
<div>
${uiLabelMap.ProductNewSearch}<input type="radio" name="clearSearch" value="Y" checked>
${uiLabelMap.ProductRefineSearch}<input type="radio" name="clearSearch" value="N">
</div>
@@ -127,7 +127,7 @@ under the License.
</#if>
<tr>
<td>
<div class="tabletext">
<div>
<a href="javascript:document.advtokeywordsearchform.submit()" class="buttontext">${uiLabelMap.CommonFind}</a>
</div>
</td>
@@ -139,20 +139,20 @@ under the License.
<h2>${uiLabelMap.OrderLastSearches}...</h2>
<div class="tabletext">
<div>
<a href="<@ofbizUrl>clearSearchOptionsHistoryList</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderClearSearchHistory}</a>
${uiLabelMap.OrderClearSearchHistoryNote}
</div>
<#list searchOptionsHistoryList as searchOptions>
<#-- searchOptions type is ProductSearchSession.ProductSearchOptions -->
<div class="tabletext">
<div>
<b>${uiLabelMap.CommonSearch} #${searchOptions_index + 1}</b>
<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)>
<#list constraintStrings as constraintString>
<div class="tabletext">&nbsp;-&nbsp;${constraintString}</div>
<div>&nbsp;-&nbsp;${constraintString}</div>
</#list>
<#if searchOptions_has_next>
<hr/>
@@ -53,7 +53,7 @@ under the License.
</#if>
</#macro>
<div class="tabletext">
<div>
<a href="<@ofbizUrl>main</@ofbizUrl>" class="linktext">${uiLabelMap.CommonMain}</a>
<#-- Show the category branch -->
<#list topLevelList as category>
@@ -33,7 +33,7 @@ under the License.
<a href="<@ofbizUrl>category/~category_id=${productCategoryId}/~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>
<span>${lowIndex} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
</#if>
<#if highIndex?int < listSize?int>
| <a href="<@ofbizUrl>category/~category_id=${productCategoryId}/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${viewIndex?int + 1}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
@@ -63,7 +63,7 @@ under the License.
<#assign longDescription = categoryContentWrapper.get("LONG_DESCRIPTION")?if_exists/>
<#assign categoryImageUrl = categoryContentWrapper.get("CATEGORY_IMAGE_URL")?if_exists/>
<#if categoryImageUrl?has_content || longDescription?has_content>
<div class="tabletext">
<div>
<#if categoryImageUrl?has_content>
<img src='<@ofbizContentUrl>${categoryImageUrl}</@ofbizContentUrl>' vspace='5' hspace='5' border='1' height='100' align='left'/>
</#if>
@@ -207,11 +207,11 @@ function getConfigDetails(event) {
</td>
<td align="right" valign="top">
<h2>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</h2>
<div class="tabletext">${productContentWrapper.get("DESCRIPTION")?if_exists}</div>
<div class="tabletext"><b>${product.productId?if_exists}</b></div>
<div>${productContentWrapper.get("DESCRIPTION")?if_exists}</div>
<div><b>${product.productId?if_exists}</b></div>
<#-- example of showing a certain type of feature with the product -->
<#if sizeProductFeatureAndAppls?has_content>
<div class="tabletext">
<div>
<#if (sizeProductFeatureAndAppls?size == 1)>
Size:
<#else>
@@ -231,18 +231,18 @@ function getConfigDetails(event) {
- if isSale show price with salePrice style and print "On Sale!"
-->
<#if totalPrice?exists>
<div class="tabletext">${uiLabelMap.ProductAggregatedPrice}: <span id='totalPrice' class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
<div>${uiLabelMap.ProductAggregatedPrice}: <span id='totalPrice' class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
<#else>
<#if price.competitivePrice?exists && price.price?exists && price.price?double < price.competitivePrice?double>
<div class="tabletext">${uiLabelMap.ProductCompareAtPrice}: <span class='basePrice'><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span></div>
<div>${uiLabelMap.ProductCompareAtPrice}: <span class='basePrice'><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span></div>
</#if>
<#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
<div class="tabletext">${uiLabelMap.ProductListPrice}: <span class='basePrice'><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/></span></div>
<div>${uiLabelMap.ProductListPrice}: <span class='basePrice'><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/></span></div>
</#if>
<#if price.listPrice?exists && price.defaultPrice?exists && price.price?exists && price.price?double < price.defaultPrice?double && price.defaultPrice?double < price.listPrice?double>
<div class="tabletext">${uiLabelMap.ProductRegularPrice}: <span class='basePrice'><@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed/></span></div>
<div>${uiLabelMap.ProductRegularPrice}: <span class='basePrice'><@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed/></span></div>
</#if>
<div class="tabletext">
<div>
<b>
<#if price.isSale?exists && price.isSale>
<span class='salePrice'>${uiLabelMap.OrderOnSale}!</span>
@@ -256,30 +256,30 @@ function getConfigDetails(event) {
<#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
<#assign priceSaved = price.listPrice?double - price.price?double>
<#assign percentSaved = (priceSaved?double / price.listPrice?double) * 100>
<div class="tabletext">${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)</span></div>
<div>${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)</span></div>
</#if>
</#if>
<#-- Included quantities/pieces -->
<#if product.quantityIncluded?exists && product.quantityIncluded?double != 0>
<div class="tabletext">${uiLabelMap.OrderIncludes}:
<div>${uiLabelMap.OrderIncludes}:
${product.quantityIncluded?if_exists}
${product.quantityUomId?if_exists}
</div>
</#if>
<#if product.piecesIncluded?exists && product.piecesIncluded?long != 0>
<div class="tabletext">${uiLabelMap.OrderPieces}:
<div>${uiLabelMap.OrderPieces}:
${product.piecesIncluded}
</div>
</#if>
<#if daysToShip?exists>
<div class="tabletext"><b>${uiLabelMap.ProductUsuallyShipsIn} <font color='red'>${daysToShip}</font> ${uiLabelMap.CommonDays}!<b></div>
<div><b>${uiLabelMap.ProductUsuallyShipsIn} <font color='red'>${daysToShip}</font> ${uiLabelMap.CommonDays}!<b></div>
</#if>
<#-- show tell a friend details only in ecommerce application -->
<#if (isEcommerceScreen?exists && isEcommerceScreen?default("N") == "Y")>
<div class="tabletext">&nbsp;</div>
<div class="tabletext">
<div>&nbsp;</div>
<div>
<a href="javascript:popUpSmall('<@ofbizUrl>tellafriend?productId=${product.productId}</@ofbizUrl>','tellafriend');" class="buttontext">${uiLabelMap.CommonTellAFriend}</a>
</div>
</#if>
@@ -287,11 +287,11 @@ function getConfigDetails(event) {
<#if disFeatureList?exists && 0 < disFeatureList.size()>
<p>&nbsp;</p>
<#list disFeatureList as currentFeature>
<div class="tabletext">
<div>
${currentFeature.productFeatureTypeId}:&nbsp;${currentFeature.description}
</div>
</#list>
<div class="tabletext">&nbsp;</div>
<div>&nbsp;</div>
</#if>
<form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addform" style='margin: 0;'>
@@ -300,7 +300,7 @@ function getConfigDetails(event) {
<#if product.isVirtual?exists && product.isVirtual?upper_case == "Y">
<#if variantTree?exists && 0 < variantTree.size()>
<#list featureSet as currentType>
<div class="tabletext">
<div>
<select name="FT${currentType}" onchange="javascript:getList(this.name, (this.selectedIndex-1), 1);">
<option>${featureTypes.get(currentType)}</option>
</select>
@@ -350,7 +350,7 @@ function getConfigDetails(event) {
<input type="text" size="5" name="add_amount" value="">
</div>
<#if !configwrapper.isCompleted()>
<div class="tabletext">[${uiLabelMap.EcommerceProductNotConfigured}]&nbsp;
<div>[${uiLabelMap.EcommerceProductNotConfigured}]&nbsp;
<input type="text" size="5" name="quantity" value="0" disabled></div>
<#else>
<a href="javascript:addItem()" class="buttontext"><span style="white-space: nowrap;">${uiLabelMap.OrderAddToCart}</span></a>&nbsp;
@@ -362,7 +362,7 @@ function getConfigDetails(event) {
</#if>
</#if>
</form>
<div class="tabletext">
<div>
<#if sessionAttributes.userLogin?has_content && sessionAttributes.userLogin.userLoginId != "anonymous">
<hr/>
<form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
@@ -420,7 +420,7 @@ function getConfigDetails(event) {
<#assign indexer = indexer + 1>
</#list>
<#if (indexer > maxIndex)>
<div class="tabletext"><b>${uiLabelMap.OrderMoreOptionsAvailable}.</b></div>
<div><b>${uiLabelMap.OrderMoreOptionsAvailable}.</b></div>
</#if>
</tr>
</table>
@@ -433,7 +433,7 @@ function getConfigDetails(event) {
<#-- Long description of product -->
<tr>
<td colspan="2">
<div class="tabletext">${productContentWrapper.get("LONG_DESCRIPTION")?if_exists}</div>
<div>${productContentWrapper.get("LONG_DESCRIPTION")?if_exists}</div>
</td>
</tr>
@@ -452,7 +452,7 @@ function getConfigDetails(event) {
<table >
<tr>
<td>
<div class="tabletext">
<div>
<a href="javascript:verifyConfig();" class="buttontext">${uiLabelMap.OrderVerifyConfiguration}</a>
</div>
</td>
@@ -466,7 +466,7 @@ function getConfigDetails(event) {
<div>${question.question}</div>
<#if question.isFirst()>
<a name='#${question.getConfigItem().getString("configItemId")}'></a>
<div class="tabletext">${question.description?if_exists}</div>
<div>${question.description?if_exists}</div>
<#assign instructions = question.content.get("INSTRUCTIONS")?if_exists>
<#if instructions?has_content>
<a href="javascript:alert('${instructions}');" class="buttontext">Instructions</a>
@@ -476,7 +476,7 @@ function getConfigDetails(event) {
<img src='<@ofbizContentUrl>${contentPathPrefix?if_exists}${image?if_exists}</@ofbizContentUrl>' vspace='5' hspace='5' border='0' width='200' align='left'>
</#if>
<#else>
<div class="tabletext"><a href='#${question.getConfigItem().getString("configItemId")}' class="buttontext">Details</a></div>
<div><a href='#${question.getConfigItem().getString("configItemId")}' class="buttontext">Details</a></div>
</#if>
</td>
</tr>
@@ -486,7 +486,7 @@ function getConfigDetails(event) {
<#-- Standard item: all the options are always included -->
<#assign options = question.options>
<#list options as option>
<div class="tabletext">${option.description} <#if !option.isAvailable()> (*)</#if></div>
<div>${option.description} <#if !option.isAvailable()> (*)</#if></div>
</#list>
<#else>
<#if question.isSingleChoice()>
@@ -501,7 +501,7 @@ function getConfigDetails(event) {
<#if renderSingleChoiceWithRadioButtons?exists && "Y" == renderSingleChoiceWithRadioButtons>
<#-- This is the radio button implementation -->
<#if !question.isMandatory()>
<div class="tabletext"><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>
@@ -510,7 +510,7 @@ function getConfigDetails(event) {
<#else>
<#assign shownPrice = option.price>
</#if>
<div class="tabletext">
<div>
<input type="radio" name='${counter}' value='${optionCounter}' <#if option.isSelected() || (!question.isSelected() && optionCounter == 0 && question.isMandatory())>checked</#if>>
${option.description}&nbsp;
<#if (shownPrice > 0)>+<@ofbizCurrency amount=shownPrice isoCode=price.currencyUsed/>&nbsp;</#if>
@@ -551,7 +551,7 @@ function getConfigDetails(event) {
<#assign options = question.options>
<#assign optionCounter = 0>
<#list options as option>
<div class="tabletext">
<div>
<input type='CHECKBOX' name='${counter}' value='${optionCounter}' <#if option.isSelected()>checked</#if>>
${option.description} +<@ofbizCurrency amount=option.price isoCode=price.currencyUsed/><#if !option.isAvailable()> (*)</#if>
</div>
@@ -576,7 +576,7 @@ function getConfigDetails(event) {
<td colspan="2">
<div>${uiLabelMap.OrderCustomerReviews}:</div>
<#if averageRating?exists && (averageRating?double > 0) && numRatings?exists && (numRatings?double > 1)>
<div class="tabletext">${uiLabelMap.OrderAverageRating}: ${averageRating} <#if numRatings?exists>(${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</#if></div>
<div>${uiLabelMap.OrderAverageRating}: ${averageRating} <#if numRatings?exists>(${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</#if></div>
</#if>
</td>
</tr>
@@ -590,23 +590,23 @@ function getConfigDetails(event) {
<table border="0" cellpadding="0" cellspacing='0'>
<tr>
<td>
<div class="tabletext"><b>${uiLabelMap.CommonBy}: </b><#if productReview.postedAnonymous?default("N") == "Y">${uiLabelMap.OrderAnonymous}<#else>${postedPerson.firstName} ${postedPerson.lastName}</#if></div>
<div><b>${uiLabelMap.CommonBy}: </b><#if productReview.postedAnonymous?default("N") == "Y">${uiLabelMap.OrderAnonymous}<#else>${postedPerson.firstName} ${postedPerson.lastName}</#if></div>
</td>
<td>
<div class="tabletext"><b>${uiLabelMap.CommonOn}: </b>${productReview.postedDateTime?if_exists}</div>
<div><b>${uiLabelMap.CommonOn}: </b>${productReview.postedDateTime?if_exists}</div>
</td>
<td>
<div class="tabletext"><b>${uiLabelMap.OrderRanking}: </b>${productReview.productRating?if_exists?string}</div>
<div><b>${uiLabelMap.OrderRanking}: </b>${productReview.productRating?if_exists?string}</div>
</td>
</tr>
<tr>
<td colspan="3">
<div class="tabletext">&nbsp;</div>
<div>&nbsp;</div>
</td>
</tr>
<tr>
<td colspan="3">
<div class="tabletext">${productReview.productReview?if_exists}</div>
<div>${productReview.productReview?if_exists}</div>
</td>
</tr>
<tr><td colspan="3"><hr/></td></tr>
@@ -622,7 +622,7 @@ function getConfigDetails(event) {
<#else>
<tr>
<td colspan="2">
<div class="tabletext">${uiLabelMap.ProductProductNotReviewedYet}.</div>
<div>${uiLabelMap.ProductProductNotReviewedYet}.</div>
</td>
</tr>
<tr>
@@ -646,7 +646,7 @@ function getConfigDetails(event) {
<tr><td><hr/></td></tr>
<#list assocProducts as productAssoc>
<tr><td>
<div class="tabletext">
<div>
<a href='<@ofbizUrl>${targetRequest}/<#if categoryId?exists>~category_id=${categoryId}/</#if>~product_id=${productAssoc.productIdTo?if_exists}</@ofbizUrl>' class="buttontext">
${productAssoc.productIdTo?if_exists}
</a>
@@ -693,7 +693,7 @@ ${setRequestAttribute("productValue", productValue)}
<hr/>
<#list commonFeatureResultIds as commonFeatureResultId>
<div class="tabletext">
<div>
${setRequestAttribute("optProductId", commonFeatureResultId)}
${setRequestAttribute("listIndex", commonFeatureResultId_index)}
${setRequestAttribute("formNamePrefix", "cfeatcssl")}
@@ -18,7 +18,7 @@ under the License.
-->
<#if security.hasEntityPermission("CATALOG", "_CREATE", session)>
<div class="tabletext">
<div>
<a href="/catalog/control/EditProduct?productId=${productId}${externalKeyParam?if_exists}" target="catalog" class="buttontext">${uiLabelMap.ProductEditProduct}</a>
</div>
</#if>
@@ -19,10 +19,10 @@ under the License.
<h1>${uiLabelMap.ProductProductSearch}, <span class="h2">${uiLabelMap.ProductYouSearchedFor}:</span></h1>
<#list searchConstraintStrings as searchConstraintString>
<div class="tabletext">&nbsp;<a href="<@ofbizUrl>keywordsearch?removeConstraint=${searchConstraintString_index}&clearSearch=N</@ofbizUrl>" class="buttontext">X</a>&nbsp;${searchConstraintString}</div>
<div>&nbsp;<a href="<@ofbizUrl>keywordsearch?removeConstraint=${searchConstraintString_index}&clearSearch=N</@ofbizUrl>" class="buttontext">X</a>&nbsp;${searchConstraintString}</div>
</#list>
<div class="tabletext">${uiLabelMap.CommonSortedBy}: ${searchSortOrderString}</div>
<div class="tabletext"><a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(reqeustParameters.SEARCH_CATEGORY_ID)?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductRefineSearch}</a></div>
<div>${uiLabelMap.CommonSortedBy}: ${searchSortOrderString}</div>
<div><a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(reqeustParameters.SEARCH_CATEGORY_ID)?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductRefineSearch}</a></div>
<#if !productIds?has_content>
<h2>&nbsp;${uiLabelMap.ProductNoResultsFound}.</h2>
@@ -44,7 +44,7 @@ under the License.
<a href="<@ofbizUrl>keywordsearch/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${viewIndex?int - 1}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
</#if>
<#if (listSize?int > 0)>
<span class="tabletext">${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
<span>${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
</#if>
<#if highIndex?int < listSize?int>
| <a href="<@ofbizUrl>keywordsearch/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${viewIndex+1}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
@@ -79,7 +79,7 @@ under the License.
<a href="<@ofbizUrl>keywordsearch/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${viewIndex?int - 1}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
</#if>
<#if (listSize?int > 0)>
<span class="tabletext">${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
<span>${lowIndex+1} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
</#if>
<#if highIndex?int < listSize?int>
| <a href="<@ofbizUrl>keywordsearch/~VIEW_SIZE=${viewSize}/~VIEW_INDEX=${viewIndex+1}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a>
@@ -25,11 +25,11 @@ under the License.
<form name="keywordsearchform" method="post" action="<@ofbizUrl>keywordsearch</@ofbizUrl>">
<input type="hidden" name="VIEW_SIZE" value="10"/>
<input type="hidden" name="PAGING" value="Y"/>
<div class="tabletext">
<div>
<input type="text" name="SEARCH_STRING" size="14" maxlength="50" value="${requestParameters.SEARCH_STRING?if_exists}"/>
</div>
<#if 0 < otherSearchProdCatalogCategories?size>
<div class="tabletext">
<div>
<select name="SEARCH_CATEGORY_ID" size="1">
<option value="${searchCategoryId?if_exists}">${uiLabelMap.ProductEntireCatalog}</option>
<#list otherSearchProdCatalogCategories as otherSearchProdCatalogCategory>
@@ -43,12 +43,12 @@ under the License.
<#else>
<input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}"/>
</#if>
<div class="tabletext"><input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if>/>${uiLabelMap.CommonAny}<input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if>/>${uiLabelMap.CommonAll}&nbsp;<a href="javascript:document.keywordsearchform.submit()" class="buttontext">${uiLabelMap.CommonFind}</a></div>
<div><input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if>/>${uiLabelMap.CommonAny}<input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if>/>${uiLabelMap.CommonAll}&nbsp;<a href="javascript:document.keywordsearchform.submit()" class="buttontext">${uiLabelMap.CommonFind}</a></div>
</form>
<form name="advancedsearchform" method="post" action="<@ofbizUrl>advancedsearch</@ofbizUrl>">
<#if 0 < otherSearchProdCatalogCategories?size>
<div class="tabletext">${uiLabelMap.ProductAdvancedSearchIn}: </div>
<div class="tabletext">
<div>${uiLabelMap.ProductAdvancedSearchIn}: </div>
<div>
<select name="SEARCH_CATEGORY_ID" size="1">
<option value="${searchCategoryId?if_exists}">${uiLabelMap.ProductEntireCatalog}</option>
<#list otherSearchProdCatalogCategories as otherSearchProdCatalogCategory>
@@ -288,11 +288,11 @@ ${virtualJavaScript?if_exists}
</td>
<td align="right" valign="top">
<h2>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</h2>
<div class="tabletext">${productContentWrapper.get("DESCRIPTION")?if_exists}</div>
<div class="tabletext"><b>${product.productId?if_exists}</b></div>
<div>${productContentWrapper.get("DESCRIPTION")?if_exists}</div>
<div><b>${product.productId?if_exists}</b></div>
<#-- example of showing a certain type of feature with the product -->
<#if sizeProductFeatureAndAppls?has_content>
<div class="tabletext">
<div>
<#if (sizeProductFeatureAndAppls?size == 1)>
Size:
<#else>
@@ -311,18 +311,18 @@ ${virtualJavaScript?if_exists}
- if isSale show price with salePrice style and print "On Sale!"
-->
<#if price.competitivePrice?exists && price.price?exists && price.price?double < price.competitivePrice?double>
<div class="tabletext">${uiLabelMap.ProductCompareAtPrice}: <span class="basePrice"><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span></div>
<div>${uiLabelMap.ProductCompareAtPrice}: <span class="basePrice"><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span></div>
</#if>
<#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
<div class="tabletext">${uiLabelMap.ProductListPrice}: <span class="basePrice"><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/></span></div>
<div>${uiLabelMap.ProductListPrice}: <span class="basePrice"><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/></span></div>
</#if>
<#if price.listPrice?exists && price.defaultPrice?exists && price.price?exists && price.price?double < price.defaultPrice?double && price.defaultPrice?double < price.listPrice?double>
<div class="tabletext">${uiLabelMap.ProductRegularPrice}: <span class="basePrice"><@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed/></span></div>
<div>${uiLabelMap.ProductRegularPrice}: <span class="basePrice"><@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed/></span></div>
</#if>
<#if price.specialPromoPrice?exists>
<div class="tabletext">${uiLabelMap.ProductSpecialPromoPrice}: <span class="basePrice"><@ofbizCurrency amount=price.specialPromoPrice isoCode=price.currencyUsed/></span></div>
<div>${uiLabelMap.ProductSpecialPromoPrice}: <span class="basePrice"><@ofbizCurrency amount=price.specialPromoPrice isoCode=price.currencyUsed/></span></div>
</#if>
<div class="tabletext">
<div>
<b>
<#if price.isSale?exists && price.isSale>
<span class="salePrice">${uiLabelMap.OrderOnSale}!</span>
@@ -341,63 +341,63 @@ ${virtualJavaScript?if_exists}
<#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
<#assign priceSaved = price.listPrice?double - price.price?double>
<#assign percentSaved = (priceSaved?double / price.listPrice?double) * 100>
<div class="tabletext">${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)</span></div>
<div>${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)</span></div>
</#if>
<#-- show price details ("showPriceDetails" field can be set in the screen definition) -->
<#if (showPriceDetails?exists && showPriceDetails?default("N") == "Y")>
<#if price.orderItemPriceInfos?exists>
<#list price.orderItemPriceInfos as orderItemPriceInfo>
<div class="tabletext">${orderItemPriceInfo.description?if_exists}</div>
<div>${orderItemPriceInfo.description?if_exists}</div>
</#list>
</#if>
</#if>
<#-- Included quantities/pieces -->
<#if product.piecesIncluded?exists && product.piecesIncluded?long != 0>
<div class="tabletext">
<div>
${uiLabelMap.OrderPieces}: ${product.piecesIncluded}
</div>
</#if>
<#if (product.quantityIncluded?exists && product.quantityIncluded?double != 0) || product.quantityUomId?has_content>
<#assign quantityUom = product.getRelatedOneCache("QuantityUom")?if_exists/>
<div class="tabletext">
<div>
${uiLabelMap.CommonQuantity}: ${product.quantityIncluded?if_exists} ${((quantityUom.abbreviation)?default(product.quantityUomId))?if_exists}
</div>
</#if>
<#if (product.weight?exists && product.weight?double != 0) || product.weightUomId?has_content>
<#assign weightUom = product.getRelatedOneCache("WeightUom")?if_exists/>
<div class="tabletext">
<div>
${uiLabelMap.CommonWeight}: ${product.weight?if_exists} ${((weightUom.abbreviation)?default(product.weightUomId))?if_exists}
</div>
</#if>
<#if (product.productHeight?exists && product.productHeight?double != 0) || product.heightUomId?has_content>
<#assign heightUom = product.getRelatedOneCache("HeightUom")?if_exists/>
<div class="tabletext">
<div>
${uiLabelMap.CommonHeight}: ${product.productHeight?if_exists} ${((heightUom.abbreviation)?default(product.heightUomId))?if_exists}
</div>
</#if>
<#if (product.productWidth?exists && product.productWidth?double != 0) || product.widthUomId?has_content>
<#assign widthUom = product.getRelatedOneCache("WidthUom")?if_exists/>
<div class="tabletext">
<div>
${uiLabelMap.CommonWidth}: ${product.productWidth?if_exists} ${((widthUom.abbreviation)?default(product.widthUomId))?if_exists}
</div>
</#if>
<#if (product.productDepth?exists && product.productDepth?double != 0) || product.depthUomId?has_content>
<#assign depthUom = product.getRelatedOneCache("DepthUom")?if_exists/>
<div class="tabletext">
<div>
${uiLabelMap.CommonDepth}: ${product.productDepth?if_exists} ${((depthUom.abbreviation)?default(product.depthUomId))?if_exists}
</div>
</#if>
<#if daysToShip?exists>
<div class="tabletext"><b>${uiLabelMap.ProductUsuallyShipsIn} <font color="red">${daysToShip}</font> ${uiLabelMap.CommonDays}!<b></div>
<div><b>${uiLabelMap.ProductUsuallyShipsIn} <font color="red">${daysToShip}</font> ${uiLabelMap.CommonDays}!<b></div>
</#if>
<#-- show tell a friend details only in ecommerce application -->
<#if (isEcommerceScreen?exists && isEcommerceScreen?default("N") == "Y")>
<div class="tabletext">&nbsp;</div>
<div class="tabletext">
<div>&nbsp;</div>
<div>
<a href="javascript:popUpSmall('<@ofbizUrl>tellafriend?productId=${product.productId}</@ofbizUrl>','tellafriend');" class="buttontext">${uiLabelMap.CommonTellAFriend}</a>
</div>
<br/>
@@ -407,11 +407,11 @@ ${virtualJavaScript?if_exists}
<p>&nbsp;</p>
<#list disFeatureList as currentFeature>
<#assign disFeatureType = currentFeature.getRelatedOneCache("ProductFeatureType")/>
<div class="tabletext">
<div>
<#if disFeatureType.description?exists>${disFeatureType.get("description", locale)}<#else>${currentFeature.productFeatureTypeId}</#if>:&nbsp;${currentFeature.description}
</div>
</#list>
<div class="tabletext">&nbsp;</div>
<div>&nbsp;</div>
</#if>
<form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addform" style="margin: 0;">
@@ -422,7 +422,7 @@ ${virtualJavaScript?if_exists}
<#list featureLists as featureList>
<#list featureList as feature>
<#if feature_index == 0>
<div class="tabletext">${feature.description}: <select id="FT${feature.productFeatureTypeId}" name="FT${feature.productFeatureTypeId}" onChange="javascript:checkRadioButton();">
<div>${feature.description}: <select id="FT${feature.productFeatureTypeId}" name="FT${feature.productFeatureTypeId}" onChange="javascript:checkRadioButton();">
<option value="select" selected="selected"> select option </option>
<#else>
<option value="${feature.productFeatureId}">${feature.description} <#if feature.price?exists>(+ <@ofbizCurrency amount=feature.price?string isoCode=feature.currencyUomId/>)</#if></option>
@@ -449,7 +449,7 @@ ${virtualJavaScript?if_exists}
<#if !product.virtualVariantMethodEnum?exists || product.virtualVariantMethodEnum == "VV_VARIANTTREE">
<#if variantTree?exists && (variantTree.size() > 0)>
<#list featureSet as currentType>
<div class="tabletext">
<div>
<select name="FT${currentType}" onchange="javascript:getList(this.name, (this.selectedIndex-1), 1);">
<option>${featureTypes.get(currentType)}</option>
</select>
@@ -457,14 +457,14 @@ ${virtualJavaScript?if_exists}
</#list>
<input type="hidden" name="product_id" value="${product.productId}"/>
<input type="hidden" name="add_product_id" value="NULL"/>
<div class="tabletext">
<div>
<b><span id="product_id_display"> </span></b>
<b><div id="variant_price_display"> </div></b>
</div>
<#else>
<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>
<div><b>${uiLabelMap.ProductItemOutofStock}.</b></div>
<#assign inStock = false>
</#if>
</#if>
@@ -475,10 +475,10 @@ ${virtualJavaScript?if_exists}
<#assign isStoreInventoryRequired = Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryRequired(request, product)>
<#if isStoreInventoryNotAvailable>
<#if isStoreInventoryRequired>
<div class="tabletext"><b>${uiLabelMap.ProductItemOutofStock}.</b></div>
<div><b>${uiLabelMap.ProductItemOutofStock}.</b></div>
<#assign inStock = false>
<#else>
<div class="tabletext"><b>${product.inventoryMessage?if_exists}</b></div>
<div><b>${product.inventoryMessage?if_exists}</b></div>
</#if>
</#if>
</#if>
@@ -486,10 +486,10 @@ ${virtualJavaScript?if_exists}
<#-- check to see if introductionDate hasnt passed yet -->
<#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
<p>&nbsp;</p>
<div class="tabletext" style="color: red;">${uiLabelMap.ProductProductNotYetMadeAvailable}.</div>
<div style="color: red;">${uiLabelMap.ProductProductNotYetMadeAvailable}.</div>
<#-- check to see if salesDiscontinuationDate has passed -->
<#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)>
<div class="tabletext" style="color: red;">${uiLabelMap.ProductProductNoLongerAvailable}.</div>
<div style="color: red;">${uiLabelMap.ProductProductNoLongerAvailable}.</div>
<#-- check to see if the product requires inventory check and has inventory -->
<#elseif product.virtualVariantMethodEnum?if_exists != "VV_FEATURETREE">
<#if inStock>
@@ -504,12 +504,12 @@ ${virtualJavaScript?if_exists}
</div>
<#if product.productTypeId?if_exists == "ASSET_USAGE">
<table width="100%"><tr>
<td class="tabletext" nowrap align="right">Start Date<br/>(yyyy-mm-dd)</td><td><input type="text" size="10" name="reservStart"/><a href="javascript:call_cal(document.addform.reservStart, '${Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString().substring(0,10)}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar"/></a></td>
<td class="tabletext" nowrap align="right">End Date<br/>(yyyy-mm-dd)</td><td><input type="text" size="10" name="reservEnd"/><a href="javascript:call_cal(document.addform.reservEnd, '${Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString().substring(0,10)}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar"/></a></td></tr>
<td nowrap align="right">Start Date<br/>(yyyy-mm-dd)</td><td><input type="text" size="10" name="reservStart"/><a href="javascript:call_cal(document.addform.reservStart, '${Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString().substring(0,10)}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar"/></a></td>
<td nowrap align="right">End Date<br/>(yyyy-mm-dd)</td><td><input type="text" size="10" name="reservEnd"/><a href="javascript:call_cal(document.addform.reservEnd, '${Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString().substring(0,10)}');"><img src="<@ofbizContentUrl>/images/cal.gif</@ofbizContentUrl>" width="16" height="16" border="0" alt="Calendar"/></a></td></tr>
<tr>
<#--td class="tabletext" nowrap align="right">Number<br/>of days</td><td><input type="textt" size="4" name="reservLength"/></td></tr><tr><td>&nbsp;</td><td class="tabletext" align="right" nowrap>&nbsp;</td-->
<td class="tabletext" nowrap align="right">Number of persons</td><td><input type="text" size="4" name="reservPersons" value="2"/></td>
<td class="tabletext" nowrap align="right">Number of rooms</td><td><input type="text" size="5" name="quantity" value="1"/></td></tr></table>
<#--td nowrap align="right">Number<br/>of days</td><td><input type="textt" size="4" name="reservLength"/></td></tr><tr><td>&nbsp;</td><td align="right" nowrap>&nbsp;</td-->
<td nowrap align="right">Number of persons</td><td><input type="text" size="4" name="reservPersons" value="2"/></td>
<td nowrap align="right">Number of rooms</td><td><input type="text" size="5" name="quantity" value="1"/></td></tr></table>
<#else/>
<input type="text" size="5" name="quantity" value="1"<#if product.isVirtual?if_exists?upper_case == "Y"> disabled="disabled"</#if>/>
</#if>
@@ -521,7 +521,7 @@ ${virtualJavaScript?if_exists}
</#if>
</#if>
</form>
<div class="tabletext">
<div>
<#if sessionAttributes.userLogin?has_content && sessionAttributes.userLogin.userLoginId != "anonymous">
<hr/>
<form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
@@ -540,7 +540,7 @@ ${virtualJavaScript?if_exists}
</select>
&nbsp;&nbsp;
<#if product.productTypeId?if_exists == "ASSET_USAGE">
<table><tr><td>&nbsp;</td><td class="tabletext" align="right">${uiLabelMap.CommonStartDate} (yyyy-mm-dd)</td><td><input type="text" size="10" name="reservStartStr" ></td><td class="tabletext">Number of&nbsp;days</td><td><input type="text" size="4" name="reservLength"></td><td>&nbsp;</td><td class="tabletext" align="right">Number of&nbsp;persons</td><td><input type="text" size="4" name="reservPersons" value="1"></td><td class="tabletext" align="right">Qty&nbsp;</td><td><input type="text" size="5" name="quantity" value="1"></td></tr></table>
<table><tr><td>&nbsp;</td><td align="right">${uiLabelMap.CommonStartDate} (yyyy-mm-dd)</td><td><input type="text" size="10" name="reservStartStr" ></td><td>Number of&nbsp;days</td><td><input type="text" size="4" name="reservLength"></td><td>&nbsp;</td><td align="right">Number of&nbsp;persons</td><td><input type="text" size="4" name="reservPersons" value="1"></td><td align="right">Qty&nbsp;</td><td><input type="text" size="5" name="quantity" value="1"></td></tr></table>
<#else>
<input type="text" size="5" name="quantity" value="1"/>
<input type="hidden" name="reservStartStr" value= ""/>
@@ -585,7 +585,7 @@ ${virtualJavaScript?if_exists}
<#assign indexer = indexer + 1>
</#list>
<#if (indexer > maxIndex)>
<div class="tabletext"><b>${uiLabelMap.ProductMoreOptions}</b></div>
<div><b>${uiLabelMap.ProductMoreOptions}</b></div>
</#if>
</tr>
</table>
@@ -599,15 +599,15 @@ ${virtualJavaScript?if_exists}
<div id="download-files">
<div>${uiLabelMap.OrderDownloadFilesTitle}:</div>
<#list downloadProductContentAndInfoList as downloadProductContentAndInfo>
<div class="tabletext">${downloadProductContentAndInfo.contentName}<#if downloadProductContentAndInfo.description?has_content> - ${downloadProductContentAndInfo.description}</#if></div>
<div>${downloadProductContentAndInfo.contentName}<#if downloadProductContentAndInfo.description?has_content> - ${downloadProductContentAndInfo.description}</#if></div>
</#list>
</div>
</#if>
<#-- Long description of product -->
<div id="long-description">
<div class="tabletext">${productContentWrapper.get("LONG_DESCRIPTION")?if_exists}</div>
<div class="tabletext">${productContentWrapper.get("WARNINGS")?if_exists}</div>
<div>${productContentWrapper.get("LONG_DESCRIPTION")?if_exists}</div>
<div>${productContentWrapper.get("WARNINGS")?if_exists}</div>
</div>
<#-- Any attributes/etc may go here -->
@@ -617,7 +617,7 @@ ${virtualJavaScript?if_exists}
<div id="reviews">
<div>${uiLabelMap.OrderCustomerReviews}:</div>
<#if averageRating?exists && (averageRating?double > 0) && numRatings?exists && (numRatings?double > 1)>
<div class="tabletext">${uiLabelMap.OrderAverageRating}: ${averageRating} <#if numRatings?exists>(${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</#if></div>
<div>${uiLabelMap.OrderAverageRating}: ${averageRating} <#if numRatings?exists>(${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</#if></div>
</#if>
<tr><td colspan="2"><hr/></td></tr>
<#if productReviews?has_content>
@@ -627,23 +627,23 @@ ${virtualJavaScript?if_exists}
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<div class="tabletext"><b>${uiLabelMap.CommonBy}: </b><#if productReview.postedAnonymous?default("N") == "Y"> ${uiLabelMap.OrderAnonymous}<#else> ${postedPerson.firstName} ${postedPerson.lastName}&nbsp;</#if></div>
<div><b>${uiLabelMap.CommonBy}: </b><#if productReview.postedAnonymous?default("N") == "Y"> ${uiLabelMap.OrderAnonymous}<#else> ${postedPerson.firstName} ${postedPerson.lastName}&nbsp;</#if></div>
</td>
<td>
<div class="tabletext"><b>${uiLabelMap.CommonAt}: </b>${productReview.postedDateTime?if_exists}&nbsp;</div>
<div><b>${uiLabelMap.CommonAt}: </b>${productReview.postedDateTime?if_exists}&nbsp;</div>
</td>
<td>
<div class="tabletext"><b>${uiLabelMap.OrderRanking}: </b>${productReview.productRating?if_exists?string}</div>
<div><b>${uiLabelMap.OrderRanking}: </b>${productReview.productRating?if_exists?string}</div>
</td>
</tr>
<tr>
<td colspan="3">
<div class="tabletext">&nbsp;</div>
<div>&nbsp;</div>
</td>
</tr>
<tr>
<td colspan="3">
<div class="tabletext">${productReview.productReview?if_exists}</div>
<div>${productReview.productReview?if_exists}</div>
</td>
</tr>
<tr><td colspan="3"><hr/></td></tr>
@@ -653,7 +653,7 @@ ${virtualJavaScript?if_exists}
<a href="<@ofbizUrl>reviewProduct?category_id=${categoryId?if_exists}&product_id=${product.productId}</@ofbizUrl>" class="linktext">${uiLabelMap.ProductReviewThisProduct}!</a>
</div>
<#else>
<div class="tabletext">${uiLabelMap.ProductProductNotReviewedYet}.</div>
<div>${uiLabelMap.ProductProductNotReviewedYet}.</div>
<div>
<a href="<@ofbizUrl>reviewProduct?category_id=${categoryId?if_exists}&product_id=${product.productId}</@ofbizUrl>" class="linktext">${uiLabelMap.ProductBeTheFirstToReviewThisProduct}</a>
</div>
@@ -671,7 +671,7 @@ ${virtualJavaScript?if_exists}
<div class="productsummary-container">
<#list assocProducts as productAssoc>
<div class="tabletext">
<div>
<a href="<@ofbizUrl>${targetRequest}/<#if categoryId?exists>~category_id=${categoryId}/</#if>~product_id=${productAssoc.productIdTo?if_exists}</@ofbizUrl>" class="buttontext">
${productAssoc.productIdTo?if_exists}
</a>
@@ -38,10 +38,10 @@ under the License.
<div class="productbuy">
<#-- check to see if introductionDate hasn't passed yet -->
<#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
<div class="tabletext" style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
<div style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
<#-- check to see if salesDiscontinuationDate has passed -->
<#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)>
<div class="tabletext" style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
<div style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
<#-- check to see if it is a rental item; will enter parameters on the detail screen-->
<#elseif product.productTypeId?if_exists == "ASSET_USAGE">
<a href="<@ofbizUrl>product/<#if categoryId?exists>~category_id=${categoryId}/</#if>~product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderMakeBooking}...</a>
@@ -83,19 +83,19 @@ under the License.
</#if>
</div>
<div class="productinfo">
<div class="tabletext">
<div>
<a href="<@ofbizUrl>${targetRequestName}/<#if categoryId?exists>~category_id=${categoryId}/</#if>~product_id=${product.productId}</@ofbizUrl>" class="linktext">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</a>
</div>
<div class="tabletext">${productContentWrapper.get("DESCRIPTION")?if_exists}<#if daysToShip?exists>&nbsp;-&nbsp;${uiLabelMap.ProductUsuallyShipsIn} <b>${daysToShip}</b> ${uiLabelMap.CommonDays}!</#if></div>
<div>${productContentWrapper.get("DESCRIPTION")?if_exists}<#if daysToShip?exists>&nbsp;-&nbsp;${uiLabelMap.ProductUsuallyShipsIn} <b>${daysToShip}</b> ${uiLabelMap.CommonDays}!</#if></div>
<#-- Display category-specific product comments -->
<#if prodCatMem?exists && prodCatMem.comments?has_content>
<div class="tabletext">${prodCatMem.comments}</div>
<div>${prodCatMem.comments}</div>
</#if>
<#-- example of showing a certain type of feature with the product -->
<#if sizeProductFeatureAndAppls?has_content>
<div class="tabletext">
<div>
<#if (sizeProductFeatureAndAppls?size == 1)>
Size:
<#else>
@@ -106,10 +106,10 @@ under the License.
</#list>
</div>
</#if>
<div class="tabletext">
<div>
<b>${product.productId?if_exists}</b>
<#if totalPrice?exists>
<div class="tabletext">${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
<div>${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
<#else>
<#if price.competitivePrice?exists && price.price?exists && price.price?double < price.competitivePrice?double>
${uiLabelMap.ProductCompareAtPrice}: <span class='basePrice'><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/></span>
@@ -139,13 +139,13 @@ under the License.
<#if (showPriceDetails?exists && showPriceDetails?default("N") == "Y")>
<#if price.orderItemPriceInfos?exists>
<#list price.orderItemPriceInfos as orderItemPriceInfo>
<div class="tabletext">${orderItemPriceInfo.description?if_exists}</div>
<div>${orderItemPriceInfo.description?if_exists}</div>
</#list>
</#if>
</#if>
</div>
<#if averageRating?exists && (averageRating?double > 0) && numRatings?exists && (numRatings?long > 2)>
<div class="tabletext">${uiLabelMap.OrderAverageRating}: ${averageRating} (${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</div>
<div>${uiLabelMap.OrderAverageRating}: ${averageRating} (${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</div>
</#if>
</div>
</div>
@@ -43,7 +43,7 @@ under the License.
<tr><td colspan='2'><hr class='sepbar'></td></tr>
<tr>
<td align="left" valign="top" width="0" colspan='2'>
<div class="tabletext">
<div>
<#if productCategory.categoryImageUrl?exists>
<img src="<@ofbizContentUrl>${productCategory.categoryImageUrl}</@ofbizContentUrl>" vspace="5" hspace="5" border="1" height='100' align="left">
</#if>
@@ -60,7 +60,7 @@ under the License.
<center>
<form method="post" action="<@ofbizUrl>addtocartbulk</@ofbizUrl>" name="bulkaddform" style='margin: 0;'>
<input type='hidden' name='category_id' value='${categoryId}'>
<div class="tabletext" align="right">
<div align="right">
<a href="javascript:document.bulkaddform.submit()" class="buttontext"><span style="white-space: nowrap;">${uiLabelMap.OrderAddAllToCart}</span></a>
</div>
<table border='1' cellpadding='2' cellspacing='0'>
@@ -72,7 +72,7 @@ under the License.
</tr>
</#list>
</table>
<div class="tabletext" align="right">
<div align="right">
<a href="javascript:document.bulkaddform.submit()" class="buttontext"><span style="white-space: nowrap;">${uiLabelMap.OrderAddAllToCart}</span></a>
</div>
</form>
@@ -19,7 +19,7 @@ under the License.
<#if product?exists>
<td align="left" valign="middle" width="5%">
<div class="tabletext">
<div>
<b>${product.productId}</b>
</div>
</td>
@@ -27,7 +27,7 @@ under the License.
<a href="<@ofbizUrl>product?product_id=${product.productId}</@ofbizUrl>" class="buttontext">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</a>
</td>
<td align="left" valign="middle" width="5%">
<div class="tabletext">
<div>
<#if price.listPrice?exists && price.price?exists && price.price?double < price.listPrice?double>
${uiLabelMap.ProductListPrice}:<@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/>
<#else>
@@ -37,7 +37,7 @@ under the License.
</td>
<td align="right" valign="middle" width="5%">
<#if totalPrice?exists>
<div class="tabletext">${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
<div>${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/></span></div>
<#else>
<div class="<#if price.isSale?exists && price.isSale>salePrice<#else>normalPrice</#if>">
<b><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/></b>
@@ -47,10 +47,10 @@ under the License.
<td align="right" valign="middle">
<#-- check to see if introductionDate hasn't passed yet -->
<#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
<div class="tabletext" style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
<div style="color: red;">${uiLabelMap.ProductNotYetAvailable}</div>
<#-- check to see if salesDiscontinuationDate has passed -->
<#elseif product.salesDiscontinuationDate?exists && nowTimestamp.before(product.salesDiscontinuationDate)>
<div class="tabletext" style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
<div style="color: red;">${uiLabelMap.ProductNoLongerAvailable}</div>
<#-- check to see if the product is a virtual product -->
<#elseif product.isVirtual?default("N") == "Y">
<a href="<@ofbizUrl>product?<#if categoryId?exists>category_id=${categoryId}&</#if>product_id=${product.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderChooseVariations}...</a>
@@ -92,7 +92,7 @@ function submitForm(form, mode, value) {
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr>
<td colspan="2">
<span class="tabletext">${uiLabelMap.OrderShipToParty}:</span>
<span>${uiLabelMap.OrderShipToParty}:</span>
<select name="shipToCustomerPartyId" onChange="javascript:submitForm(document.checkoutInfoForm, 'SC', null);">
<#list cartParties as cartParty>
<option value="${cartParty}">${cartParty}</option>
@@ -102,7 +102,7 @@ function submitForm(form, mode, value) {
</tr>
<tr>
<td colspan="2">
<span class="tabletext">${uiLabelMap.CommonAdd}:</span>
<span>${uiLabelMap.CommonAdd}:</span>
<a href="javascript:submitForm(document.checkoutInfoForm, 'NA', '');" class="buttontext">${uiLabelMap.PartyAddNewAddress}</a>
</td>
</tr>
@@ -112,7 +112,7 @@ function submitForm(form, mode, value) {
<td colspan="2" align="center">
<a href="<@ofbizUrl>splitship</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderSplitIntoMultipleShipments}</a>
<#if (shoppingCart.getShipGroupSize() > 1)>
<div class="tabletext" style="color: red;">${uiLabelMap.OrderNOTEMultipleShipmentsExist}.</div>
<div style="color: red;">${uiLabelMap.OrderNOTEMultipleShipmentsExist}.</div>
</#if>
</td>
</tr>
@@ -126,7 +126,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="shipping_contact_mech_id" value="${shippingAddress.contactMechId}" onclick="javascript:submitForm(document.checkoutInfoForm, 'SA', null);"<#if shoppingCart.getShippingContactMechId()?default("") == shippingAddress.contactMechId> checked="checked"</#if>/>
</td>
<td align="left" valign="top" width="99%">
<div class="tabletext">
<div>
<#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b>&nbsp;${shippingAddress.toName}<br/></#if>
<#if shippingAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b>&nbsp;${shippingAddress.attnName}<br/></#if>
<#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if>
@@ -175,7 +175,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="shipping_method" value="${shippingMethod}" <#if shippingMethod == chosenShippingMethod?default("N@A")>checked="checked"</#if>/>
</td>
<td valign="top">
<div class="tabletext">
<div>
<#if shoppingCart.getShippingContactMechId()?exists>
<#assign shippingEst = shippingEstWpr.getShippingEstimate(carrierShipmentMethod)?default(-1)>
</#if>
@@ -191,7 +191,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="shipping_method" value="Default" checked="checked"/>
</td>
<td valign="top">
<div class="tabletext">${uiLabelMap.OrderUseDefault}.</div>
<div>${uiLabelMap.OrderUseDefault}.</div>
</td>
</tr>
</#if>
@@ -206,7 +206,7 @@ function submitForm(form, mode, value) {
<input type="radio" <#if shoppingCart.getMaySplit()?default("N") == "N">checked="checked"</#if> name="may_split" value="false"/>
</td>
<td valign="top">
<div class="tabletext">${uiLabelMap.OrderPleaseWaitUntilBeforeShipping}.</div>
<div>${uiLabelMap.OrderPleaseWaitUntilBeforeShipping}.</div>
</td>
</tr>
<tr>
@@ -214,7 +214,7 @@ function submitForm(form, mode, value) {
<input <#if shoppingCart.getMaySplit()?default("N") == "Y">checked="checked"</#if> type="radio" name="may_split" value="true"/>
</td>
<td valign="top">
<div class="tabletext">${uiLabelMap.OrderPleaseShipItemsBecomeAvailable}.</div>
<div>${uiLabelMap.OrderPleaseShipItemsBecomeAvailable}.</div>
</td>
</tr>
<tr><td colspan="2"><hr/></td></tr>
@@ -240,8 +240,8 @@ function submitForm(form, mode, value) {
<td colspan="2">
<div>
<span class="h2"><b>${uiLabelMap.OrderIsThisGift}</b></span>
<input type="radio" <#if shoppingCart.getIsGift()?default("Y") == "Y">checked="checked"</#if> name="is_gift" value="true"><span class="tabletext">${uiLabelMap.CommonYes}</span>
<input type="radio" <#if shoppingCart.getIsGift()?default("N") == "N">checked="checked"</#if> name="is_gift" value="false"><span class="tabletext">${uiLabelMap.CommonNo}</span>
<input type="radio" <#if shoppingCart.getIsGift()?default("Y") == "Y">checked="checked"</#if> name="is_gift" value="true"><span>${uiLabelMap.CommonYes}</span>
<input type="radio" <#if shoppingCart.getIsGift()?default("N") == "N">checked="checked"</#if> name="is_gift" value="false"><span>${uiLabelMap.CommonNo}</span>
</div>
</td>
</tr>
@@ -268,18 +268,18 @@ function submitForm(form, mode, value) {
</tr>
<tr>
<td colspan="2">
<div class="tabletext">${uiLabelMap.OrderEmailSentToFollowingAddresses}:</div>
<div class="tabletext">
<div>${uiLabelMap.OrderEmailSentToFollowingAddresses}:</div>
<div>
<b>
<#list emailList as email>
${email.infoString?if_exists}<#if email_has_next>,</#if>
</#list>
</b>
</div>
<div class="tabletext">${uiLabelMap.OrderUpdateEmailAddress} <a href="<#if customerDetailLink?exists>${customerDetailLink}${shoppingCart.getPartyId()}" target="partymgr"
<div>${uiLabelMap.OrderUpdateEmailAddress} <a href="<#if customerDetailLink?exists>${customerDetailLink}${shoppingCart.getPartyId()}" target="partymgr"
<#else><@ofbizUrl>viewprofile?DONE_PAGE=quickcheckout</@ofbizUrl>"</#if> class="buttontext">${uiLabelMap.PartyProfile}</a>.</div>
<br/>
<div class="tabletext">${uiLabelMap.OrderCommaSeperatedEmailAddresses}:</div>
<div>${uiLabelMap.OrderCommaSeperatedEmailAddresses}:</div>
<input type="text" size="30" name="order_additional_emails" value="${shoppingCart.getOrderAdditionalEmails()?if_exists}"/>
</td>
</tr>
@@ -300,7 +300,7 @@ function submitForm(form, mode, value) {
<table width="100%" cellpadding="1" cellspacing="0" border="0">
<tr>
<td colspan="2">
<span class="tabletext">${uiLabelMap.CommonAdd}:</span>
<span>${uiLabelMap.CommonAdd}:</span>
<#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists>
<a href="javascript:submitForm(document.checkoutInfoForm, 'NC', '');" class="buttontext">${uiLabelMap.AccountingCreditCard}</a>
</#if>
@@ -322,7 +322,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="EXT_OFFLINE" <#if "EXT_OFFLINE" == checkOutPaymentId>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.OrderMoneyOrder}</span>
<span>${uiLabelMap.OrderMoneyOrder}</span>
</td>
</tr>
</#if>
@@ -332,7 +332,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="EXT_COD" <#if "EXT_COD" == checkOutPaymentId>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.OrderCOD}</span>
<span>${uiLabelMap.OrderCOD}</span>
</td>
</tr>
</#if>
@@ -342,7 +342,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="EXT_WORLDPAY" <#if "EXT_WORLDPAY" == checkOutPaymentId>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.AccountingPayWithWorldPay}</span>
<span>${uiLabelMap.AccountingPayWithWorldPay}</span>
</td>
</tr>
</#if>
@@ -352,7 +352,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="EXT_PAYPAL" <#if "EXT_PAYPAL" == checkOutPaymentId>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.AccountingPayWithPayPal}</span>
<span>${uiLabelMap.AccountingPayWithPayPal}</span>
</td>
</tr>
</#if>
@@ -365,7 +365,7 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="FIN_ACCOUNT|${finAccount.finAccountId}" <#if "FIN_ACCOUNT" == checkOutPaymentId>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.FinancialAccount} #${finAccount.finAccountId}</span>
<span>${uiLabelMap.FinancialAccount} #${finAccount.finAccountId}</span>
</td>
</tr>
</#list>
@@ -374,7 +374,7 @@ function submitForm(form, mode, value) {
<#if (!finAccounts?has_content)>
<tr>
<td colspan="2">
<div class="tabletext"><b>${uiLabelMap.AccountingNoPaymentMethods}</b></div>
<div><b>${uiLabelMap.AccountingNoPaymentMethods}</b></div>
</td>
</tr>
</#if>
@@ -388,9 +388,9 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if shoppingCart.isPaymentSelected(paymentMethod.paymentMethodId)>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">CC:&nbsp;${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}</span>
<span>CC:&nbsp;${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}</span>
<a href="javascript:submitForm(document.checkoutInfoForm, 'EC', '${paymentMethod.paymentMethodId}');" class="buttontext">${uiLabelMap.CommonUpdate}</a>
<#if paymentMethod.description?has_content><br/><span class="tabletext">(${paymentMethod.description})</span></#if>
<#if paymentMethod.description?has_content><br/><span>(${paymentMethod.description})</span></#if>
&nbsp;${uiLabelMap.OrderCardSecurityCode}&nbsp;<input type="text" size="5" maxlength="10" name="securityCode_${paymentMethod.paymentMethodId}" value=""/>
</td>
</tr>
@@ -403,9 +403,9 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if shoppingCart.isPaymentSelected(paymentMethod.paymentMethodId)>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">EFT:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}</span>
<span>EFT:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}</span>
<a href="javascript:submitForm(document.checkoutInfoForm, 'EE', '${paymentMethod.paymentMethodId}');" class="buttontext">${uiLabelMap.CommonUpdate}</a>
<#if paymentMethod.description?has_content><br/><span class="tabletext">(${paymentMethod.description})</span></#if>
<#if paymentMethod.description?has_content><br/><span>(${paymentMethod.description})</span></#if>
</td>
</tr>
</#if>
@@ -434,9 +434,9 @@ function submitForm(form, mode, value) {
<input type="radio" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if shoppingCart.isPaymentSelected(paymentMethod.paymentMethodId)>checked="checked"</#if>/>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.AccountingGift}:&nbsp;${giftCardNumber}</span>
<span>${uiLabelMap.AccountingGift}:&nbsp;${giftCardNumber}</span>
<a href="javascript:submitForm(document.checkoutInfoForm, 'EG', '${paymentMethod.paymentMethodId}');" class="buttontext">[${uiLabelMap.CommonUpdate}]</a>
<#if paymentMethod.description?has_content><br/><span class="tabletext">(${paymentMethod.description})</span></#if>
<#if paymentMethod.description?has_content><br/><span>(${paymentMethod.description})</span></#if>
</td>
</tr>
</#if>
@@ -460,7 +460,7 @@ function submitForm(form, mode, value) {
</select>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.FormFieldTitle_billingAccountId}</span>
<span>${uiLabelMap.FormFieldTitle_billingAccountId}</span>
</td>
</tr>
<tr>
@@ -482,12 +482,12 @@ function submitForm(form, mode, value) {
<input type="checkbox" name="addGiftCard" value="Y"/>
</td>
<td width="50%">
<span class="tabletext">${uiLabelMap.AccountingUseGiftCardNotOnFile}</span>
<span>${uiLabelMap.AccountingUseGiftCardNotOnFile}</span>
</td>
</tr>
<tr>
<td width="1%">
<div class="tabletext">${uiLabelMap.CommonNumber}</div>
<div>${uiLabelMap.CommonNumber}</div>
</td>
<td width="50%">
<input type="text" size="15" name="giftCardNumber" value="${(requestParameters.giftCardNumber)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
@@ -496,7 +496,7 @@ function submitForm(form, mode, value) {
<#if shoppingCart.isPinRequiredForGC(delegator)>
<tr>
<td width="1%">
<div class="tabletext">${uiLabelMap.AccountingPIN}</div>
<div>${uiLabelMap.AccountingPIN}</div>
</td>
<td width="50%">
<input type="text" size="10" name="giftCardPin" value="${(requestParameters.giftCardPin)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
@@ -505,7 +505,7 @@ function submitForm(form, mode, value) {
</#if>
<tr>
<td width="1%">
<div class="tabletext">${uiLabelMap.AccountingAmount}</div>
<div>${uiLabelMap.AccountingAmount}</div>
</td>
<td width="50%">
<input type="text" size="6" name="giftCardAmount" value="${(requestParameters.giftCardAmount)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;"/>
@@ -67,7 +67,7 @@ function toggleBillingAccount(box) {
<a href="<@ofbizUrl>splitship</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderSplitShipment}</a>
<a href="javascript:submitForm(document.checkoutInfoForm, 'NA', '');" class="buttontext">${uiLabelMap.PartyAddNewAddress}</a>
<#if (cart.getShipGroupSize() > 1)>
<div class="tabletext" style="color: red;">${uiLabelMap.OrderNOTEMultipleShipmentsExist}</div>
<div style="color: red;">${uiLabelMap.OrderNOTEMultipleShipmentsExist}</div>
</#if>
</td>
</tr>
@@ -81,7 +81,7 @@ function toggleBillingAccount(box) {
<input type="radio" name="shipping_contact_mech_id" value="${shippingAddress.contactMechId}"<#if checkThisAddress> checked</#if>>
</td>
<td align="left" valign="top" width="99%" nowrap>
<div class="tabletext">
<div>
<#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b>&nbsp;${shippingAddress.toName}<br/></#if>
<#if shippingAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b>&nbsp;${shippingAddress.attnName}<br/></#if>
<#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if>
@@ -18,7 +18,7 @@ under the License.
-->
<#if partyTaxAuthInfoAndDetailList?exists>
<#list partyTaxAuthInfoAndDetailList as partyTaxAuthInfoAndDetail>
<div class="tabletext">
<div>
<a href="<@ofbizUrl>deleteCustomerTaxAuthInfo?partyId=${partyId}&amp;taxAuthPartyId=${partyTaxAuthInfoAndDetail.taxAuthPartyId}&amp;taxAuthGeoId=${partyTaxAuthInfoAndDetail.taxAuthGeoId}&amp;fromDate=${partyTaxAuthInfoAndDetail.fromDate}</@ofbizUrl>" class="buttontext">X</a>
[${partyTaxAuthInfoAndDetail.geoCode}] ${partyTaxAuthInfoAndDetail.geoName} (${partyTaxAuthInfoAndDetail.groupName?if_exists}): ${uiLabelMap.PartyTaxId} [${partyTaxAuthInfoAndDetail.partyTaxId?default("N/A")}], ${uiLabelMap.PartyTaxIsExempt} [${partyTaxAuthInfoAndDetail.isExempt?default("N")}]
</div>
@@ -31,10 +31,10 @@ under the License.
<option value="${taxAuthorityAndDetail.taxAuthPartyId}::${taxAuthorityAndDetail.taxAuthGeoId}">[${taxAuthorityAndDetail.geoCode}] ${taxAuthorityAndDetail.geoName} (${taxAuthorityAndDetail.groupName?if_exists})</option>
</#list>
</select>
<span class="tabletext">${uiLabelMap.CommonId}: </span><input type="text" name="partyTaxId" size="12" maxlength="40"/>
<span>${uiLabelMap.CommonId}: </span><input type="text" name="partyTaxId" size="12" maxlength="40"/>
<#if productStore.showTaxIsExempt?default("Y") == "Y">
<span class="tabletext">${uiLabelMap.PartyTaxIsExempt} </span><input type="checkbox" name="isExempt" value="Y"/>
<span>${uiLabelMap.PartyTaxIsExempt} </span><input type="checkbox" name="isExempt" value="Y"/>
<#else/>
<input type="hidden" name="isExempt" value="N"/>
</#if>
@@ -27,35 +27,35 @@ under the License.
<td>
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.CommonTitle}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.CommonTitle}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="personalTitle" value="${requestParameters.personalTitle?if_exists}" size="10" maxlength="30"/>
</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.PartyFirstName}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.PartyFirstName}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="firstName" value="${requestParameters.firstName?if_exists}" size="30" maxlength="30"/>
*</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.PartyMiddleInitial}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.PartyMiddleInitial}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="middleName" value="${requestParameters.middleName?if_exists}" size="4" maxlength="4"/>
</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.PartyLastName}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.PartyLastName}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="lastName" value="${requestParameters.lastName?if_exists}" size="30" maxlength="30"/>
*</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.PartySuffix}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.PartySuffix}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="suffix" value="${requestParameters.suffix?if_exists}" size="10" maxlength="30"/>
@@ -65,7 +65,7 @@ under the License.
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.PartyHomePhone}<BR>${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.PartyHomePhone}<BR>${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="homeCountryCode" value="${requestParameters.homeCountryCode?if_exists}" size="4" maxlength="10"/>
@@ -83,7 +83,7 @@ under the License.
</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.PartyBusinessPhone}<BR>${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.PartyBusinessPhone}<BR>${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="workCountryCode" value="${requestParameters.CUSTOMER_WORK_COUNTRY?if_exists}" size="4" maxlength="10"/>
@@ -104,7 +104,7 @@ under the License.
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.PartyEmailAddress}<BR>${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.PartyEmailAddress}<BR>${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="emailAddress" value="" size="60" maxlength="255">
@@ -122,7 +122,7 @@ under the License.
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.CommonUsername}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.CommonUsername}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="userLoginId" value="${requestParameters.USERNAME?if_exists}" size="20" maxlength="250"/>
@@ -130,21 +130,21 @@ under the License.
</tr>
<#--
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.OrderPassword}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.OrderPassword}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="password" name="PASSWORD" value="" size="20" maxlength="50">
*</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.OrderConfirm} Password</div></td>
<td width="26%" align="right"><div>${uiLabelMap.OrderConfirm} Password</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="password" name="CONFIRM_PASSWORD" value="" size="20" maxlength="50">
*</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.OrderPassword} Hint</div></td>
<td width="26%" align="right"><div>${uiLabelMap.OrderPassword} Hint</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" name="PASSWORD_HINT" value="${requestParameters.PASSWORD_HINT?if_exists}" size="40" maxlength="100">
@@ -47,42 +47,42 @@ under the License.
</#if>
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonToName}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonToName}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="toName" value="${toName}"/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonAttentionName}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAttentionName}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="60" name="attnName" value="${parameters.attnName?if_exists}"/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonAddressLine} 1</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 1</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="30" name="address1" value="${parameters.address1?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonAddressLine} 2</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAddressLine} 2</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="30" name="address2" value="${parameters.address2?if_exists}"/>
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonCity}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonCity}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="30" maxlength="30" name="city" value="${parameters.city?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonStateProvince}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonStateProvince}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="stateProvinceGeoId">
@@ -92,14 +92,14 @@ under the License.
</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonZipPostalCode}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonZipPostalCode}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<input type="text" size="12" maxlength="10" name="postalCode" value="${parameters.postalCode?if_exists}"/>
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonCountry}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonCountry}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="countryGeoId">
@@ -108,7 +108,7 @@ under the License.
*</td>
</tr>
<tr>
<td width="26%" align="right" valign="top"><div class="tabletext">${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="26%" align="right" valign="top"><div>${uiLabelMap.CommonAllowSolicitation}</div></td>
<td width="5">&nbsp;</td>
<td width="74%">
<select name="allowSolicitation">
@@ -94,7 +94,7 @@ under the License.
<input type='radio' <#if cart.getMaySplit(shipGroupIndex)?default("N") == "N">checked</#if> name='${shipGroupIndex?default("0")}_may_split' value='false'>
</td>
<td valign="top">
<div class="tabletext">${uiLabelMap.FacilityWaitEntireOrderReady}</div>
<div>${uiLabelMap.FacilityWaitEntireOrderReady}</div>
</td>
</tr>
<tr>
@@ -102,7 +102,7 @@ under the License.
<input <#if cart.getMaySplit(shipGroupIndex)?default("N") == "Y">checked</#if> type='radio' name='${shipGroupIndex?default("0")}_may_split' value='true'>
</td>
<td valign="top">
<div class="tabletext">${uiLabelMap.FacilityShipAvailable}</div>
<div>${uiLabelMap.FacilityShipAvailable}</div>
</td>
</tr>
<tr><td colspan="2"><hr class='sepbar'></td></tr>
@@ -24,10 +24,10 @@ under the License.
<#if (orderName?has_content)>
<tr>
<td align="right" valign="top" width="15%">
<span class="tabletext">&nbsp;<b>${uiLabelMap.OrderOrderName}</b> </span>
<span>&nbsp;<b>${uiLabelMap.OrderOrderName}</b> </span>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%" class="tabletext">
<td align="left" valign="top" width="80%">
${orderName}
</td>
</tr>
@@ -37,10 +37,10 @@ under the License.
<#if (orderForParty?exists)>
<tr>
<td align="right" valign="top" width="15%">
<span class="tabletext">&nbsp;<b>${uiLabelMap.OrderOrderFor}</b> </span>
<span>&nbsp;<b>${uiLabelMap.OrderOrderFor}</b> </span>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%" class="tabletext">
<td align="left" valign="top" width="80%">
${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(orderForParty, false)} [${orderForParty.partyId}]
</td>
</tr>
@@ -49,10 +49,10 @@ under the License.
<#if (cart.getPoNumber()?has_content)>
<tr>
<td align="right" valign="top" width="15%">
<span class="tabletext">&nbsp;<b>${uiLabelMap.OrderPONumber}</b> </span>
<span>&nbsp;<b>${uiLabelMap.OrderPONumber}</b> </span>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%" class="tabletext">
<td align="left" valign="top" width="80%">
${cart.getPoNumber()}
</td>
</tr>
@@ -61,25 +61,25 @@ under the License.
<#if orderTerms?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.OrderOrderTerms}</b></div>
<div>&nbsp;<b>${uiLabelMap.OrderOrderTerms}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<table>
<tr>
<td width="35%"><div class="tabletext"><b>${uiLabelMap.OrderOrderTermType}</b></div></td>
<td width="10%"><div class="tabletext"><b>${uiLabelMap.OrderOrderTermValue}</b></div></td>
<td width="10%"><div class="tabletext"><b>${uiLabelMap.OrderOrderTermDays}</b></div></td>
<td width="45%"><div class="tabletext"><b>${uiLabelMap.CommonDescription}</b></div></td>
<td width="35%"><div><b>${uiLabelMap.OrderOrderTermType}</b></div></td>
<td width="10%"><div><b>${uiLabelMap.OrderOrderTermValue}</b></div></td>
<td width="10%"><div><b>${uiLabelMap.OrderOrderTermDays}</b></div></td>
<td width="45%"><div><b>${uiLabelMap.CommonDescription}</b></div></td>
</tr>
<tr><td colspan="4"><hr/></td></tr>
<#assign index=0/>
<#list orderTerms as orderTerm>
<tr>
<td width="35%"><div class="tabletext">${orderTerm.getRelatedOne("TermType").get("description",locale)}</div></td>
<td width="10%"><div class="tabletext">${orderTerm.termValue?default("")}</div></td>
<td width="10%"><div class="tabletext">${orderTerm.termDays?default("")}</div></td>
<td width="45%"><div class="tabletext">${orderTerm.textValue?default("")}</div></td>
<td width="35%"><div>${orderTerm.getRelatedOne("TermType").get("description",locale)}</div></td>
<td width="10%"><div>${orderTerm.termValue?default("")}</div></td>
<td width="10%"><div>${orderTerm.termDays?default("")}</div></td>
<td width="45%"><div>${orderTerm.textValue?default("")}</div></td>
</tr>
<#if orderTerms.size()&lt;index>
<tr><td colspan="4"><hr/></td></tr>
@@ -95,12 +95,12 @@ under the License.
<#if trackingNumber?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.FacilityTrackingNumber}</b></div>
<div>&nbsp;<b>${uiLabelMap.FacilityTrackingNumber}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<#-- TODO: add links to UPS/FEDEX/etc based on carrier partyId -->
<div class="tabletext">${trackingNumber}</div>
<div>${trackingNumber}</div>
</td>
</tr>
<tr><td colspan="7"><hr/></td></tr>
@@ -108,11 +108,11 @@ under the License.
<#-- splitting preference -->
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.OrderSplittingPreference}</b></div>
<div>&nbsp;<b>${uiLabelMap.OrderSplittingPreference}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<div>
<#if maySplit?default("N") == "N">${uiLabelMap.FacilityWaitEntireOrderReady}</#if>
<#if maySplit?default("Y") == "Y">${uiLabelMap.FacilityShipAvailable}</#if>
</div>
@@ -123,11 +123,11 @@ under the License.
<tr><td colspan="7"><hr/></td></tr>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.CommonInstructions}</b></div>
<div>&nbsp;<b>${uiLabelMap.CommonInstructions}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">${shippingInstructions}</div>
<div>${shippingInstructions}</div>
</td>
</tr>
</#if>
@@ -136,11 +136,11 @@ under the License.
<#-- gift settings -->
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.OrderGift}</b></div>
<div>&nbsp;<b>${uiLabelMap.OrderGift}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<div>
<#if isGift?default("N") == "N">${uiLabelMap.OrderThisOrderNotGift}</#if>
<#if isGift?default("N") == "Y">${uiLabelMap.OrderThisOrderGift}</#if>
</div>
@@ -150,11 +150,11 @@ under the License.
<#if giftMessage?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.OrderGiftMessage}</b></div>
<div>&nbsp;<b>${uiLabelMap.OrderGiftMessage}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">${giftMessage}</div>
<div>${giftMessage}</div>
</td>
</tr>
<tr><td colspan="7"><hr/></td></tr>
@@ -163,22 +163,22 @@ under the License.
<#if shipAfterDate?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.OrderShipAfterDate}</b></div>
<div>&nbsp;<b>${uiLabelMap.OrderShipAfterDate}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">${shipAfterDate}</div>
<div>${shipAfterDate}</div>
</td>
</tr>
</#if>
<#if shipBeforeDate?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.OrderShipBeforeDate}</b></div>
<div>&nbsp;<b>${uiLabelMap.OrderShipBeforeDate}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">${shipBeforeDate}</div>
<div>${shipBeforeDate}</div>
</td>
</tr>
</#if>
@@ -42,11 +42,11 @@ under the License.
<tr>
<#if orderItem.productId?exists && orderItem.productId == "_?_">
<td colspan="1" valign="top">
<b><div class="tabletext"> &gt;&gt; ${orderItem.itemDescription}</div></b>
<b><div> &gt;&gt; ${orderItem.itemDescription}</div></b>
</td>
<#else>
<td valign="top">
<div class="tabletext">
<div>
<#if orderItem.productId?exists>
<a href="<@ofbizUrl>product?product_id=${orderItem.productId}</@ofbizUrl>" class="buttontext">${orderItem.productId} - ${orderItem.itemDescription}</a>
<#else>
@@ -56,16 +56,16 @@ under the License.
</td>
<td align="right" valign="top">
<div class="tabletext" nowrap>${orderItem.quantity?string.number}</div>
<div nowrap>${orderItem.quantity?string.number}</div>
</td>
<td align="right" valign="top">
<div class="tabletext" nowrap><@ofbizCurrency amount=orderItem.unitPrice isoCode=currencyUomId/></div>
<div nowrap><@ofbizCurrency amount=orderItem.unitPrice isoCode=currencyUomId/></div>
</td>
<td align="right" valign="top">
<div class="tabletext" nowrap><@ofbizCurrency amount=localOrderReadHelper.getOrderItemAdjustmentsTotal(orderItem) isoCode=currencyUomId/></div>
<div nowrap><@ofbizCurrency amount=localOrderReadHelper.getOrderItemAdjustmentsTotal(orderItem) isoCode=currencyUomId/></div>
</td>
<td align="right" valign="top" nowrap>
<div class="tabletext"><@ofbizCurrency amount=localOrderReadHelper.getOrderItemSubTotal(orderItem) isoCode=currencyUomId/></div>
<div><@ofbizCurrency amount=localOrderReadHelper.getOrderItemSubTotal(orderItem) isoCode=currencyUomId/></div>
</td>
<#if maySelectItems?default(false)>
<td>
@@ -80,7 +80,7 @@ under the License.
<#if WorkOrderItemFulfillments?has_content>
<#list WorkOrderItemFulfillments as WorkOrderItemFulfillment>
<#assign workEffort = WorkOrderItemFulfillment.getRelatedOneCache("WorkEffort")?if_exists>
<tr><td>&nbsp;</td><td>&nbsp;</td><td colspan="8"><div class="tabletext">${uiLabelMap.CommonFrom}: ${workEffort.estimatedStartDate?string("yyyy-MM-dd")} ${uiLabelMap.CommonTo}: ${workEffort.estimatedCompletionDate?string("yyyy-MM-dd")} ${uiLabelMap.OrderNbrPersons}: ${workEffort.reservPersons}</div></td></tr>
<tr><td>&nbsp;</td><td>&nbsp;</td><td colspan="8"><div>${uiLabelMap.CommonFrom}: ${workEffort.estimatedStartDate?string("yyyy-MM-dd")} ${uiLabelMap.CommonTo}: ${workEffort.estimatedCompletionDate?string("yyyy-MM-dd")} ${uiLabelMap.OrderNbrPersons}: ${workEffort.reservPersons}</div></td></tr>
<#break><#-- need only the first one -->
</#list>
</#if>
@@ -91,7 +91,7 @@ under the License.
<#list itemAdjustments as orderItemAdjustment>
<tr>
<td align="right">
<div class="tabletext" style="font-size: xx-small;">
<div style="font-size: xx-small;">
<b><i>${uiLabelMap.OrderAdjustment}</i>:</b> <b>${localOrderReadHelper.getAdjustmentType(orderItemAdjustment)}</b>&nbsp;
<#if orderItemAdjustment.description?has_content>: ${orderItemAdjustment.get("description",locale)}</#if>
@@ -115,7 +115,7 @@ under the License.
<td>&nbsp;</td>
<td>&nbsp;</td>
<td align="right">
<div class="tabletext" style="font-size: xx-small;"><@ofbizCurrency amount=localOrderReadHelper.getOrderItemAdjustmentTotal(orderItem, orderItemAdjustment) isoCode=currencyUomId/></div>
<div style="font-size: xx-small;"><@ofbizCurrency amount=localOrderReadHelper.getOrderItemAdjustmentTotal(orderItem, orderItemAdjustment) isoCode=currencyUomId/></div>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
@@ -129,29 +129,29 @@ under the License.
<tr><td colspan="8"><hr/></td></tr>
<tr>
<td align="right" colspan="4"><div class="tabletext"><b>${uiLabelMap.OrderSubTotal}</b></div></td>
<td align="right" nowrap><div class="tabletext">&nbsp;<#if orderSubTotal?exists><@ofbizCurrency amount=orderSubTotal isoCode=currencyUomId/></#if></div></td>
<td align="right" colspan="4"><div><b>${uiLabelMap.OrderSubTotal}</b></div></td>
<td align="right" nowrap><div>&nbsp;<#if orderSubTotal?exists><@ofbizCurrency amount=orderSubTotal isoCode=currencyUomId/></#if></div></td>
</tr>
<#list headerAdjustmentsToShow?if_exists as orderHeaderAdjustment>
<tr>
<td align="right" colspan="4"><div class="tabletext"><b>${localOrderReadHelper.getAdjustmentType(orderHeaderAdjustment)}</b></div></td>
<td align="right" nowrap><div class="tabletext"><@ofbizCurrency amount=localOrderReadHelper.getOrderAdjustmentTotal(orderHeaderAdjustment) isoCode=currencyUomId/></div></td>
<td align="right" colspan="4"><div><b>${localOrderReadHelper.getAdjustmentType(orderHeaderAdjustment)}</b></div></td>
<td align="right" nowrap><div><@ofbizCurrency amount=localOrderReadHelper.getOrderAdjustmentTotal(orderHeaderAdjustment) isoCode=currencyUomId/></div></td>
</tr>
</#list>
<tr>
<td align="right" colspan="4"><div class="tabletext"><b>${uiLabelMap.FacilityShippingAndHandling}</b></div></td>
<td align="right" nowrap><div class="tabletext"><#if orderShippingTotal?exists><@ofbizCurrency amount=orderShippingTotal isoCode=currencyUomId/></#if></div></td>
<td align="right" colspan="4"><div><b>${uiLabelMap.FacilityShippingAndHandling}</b></div></td>
<td align="right" nowrap><div><#if orderShippingTotal?exists><@ofbizCurrency amount=orderShippingTotal isoCode=currencyUomId/></#if></div></td>
</tr>
<tr>
<td align="right" colspan="4"><div class="tabletext"><b>${uiLabelMap.OrderSalesTax}</b></div></td>
<td align="right" nowrap><div class="tabletext"><#if orderTaxTotal?exists><@ofbizCurrency amount=orderTaxTotal isoCode=currencyUomId/></#if></div></td>
<td align="right" colspan="4"><div><b>${uiLabelMap.OrderSalesTax}</b></div></td>
<td align="right" nowrap><div><#if orderTaxTotal?exists><@ofbizCurrency amount=orderTaxTotal isoCode=currencyUomId/></#if></div></td>
</tr>
<tr><td colspan=2></td><td colspan="8"><hr/></td></tr>
<tr>
<td align="right" colspan="4"><div class="tabletext"><b>${uiLabelMap.OrderGrandTotal}</b></div></td>
<td align="right" colspan="4"><div><b>${uiLabelMap.OrderGrandTotal}</b></div></td>
<td align="right" nowrap>
<div class="tabletext"><#if orderGrandTotal?exists><@ofbizCurrency amount=orderGrandTotal isoCode=currencyUomId/></#if></div>
<div><#if orderGrandTotal?exists><@ofbizCurrency amount=orderGrandTotal isoCode=currencyUomId/></#if></div>
</td>
</tr>
</table>
@@ -30,24 +30,24 @@ under the License.
<tr>
<#if paymentMethodType.paymentMethodTypeId == "EXT_OFFLINE">
<td colspan="3" valign="top">
<div class="tabletext" align="center"><b>${uiLabelMap.AccountingOfflinePayment}</b></div>
<div align="center"><b>${uiLabelMap.AccountingOfflinePayment}</b></div>
<#if orderHeader?has_content && paymentAddress?has_content>
<div class="tabletext" align="center"><hr/></div>
<div class="tabletext" align="center"><b>${uiLabelMap.AccountingPleaseSendPaymentTo}:</b></div>
<#if paymentAddress.toName?has_content><div class="tabletext" align="center">${paymentAddress.toName}</div></#if>
<#if paymentAddress.attnName?has_content><div class="tabletext" align="center"><b>${uiLabelMap.CommonAttn}:</b> ${paymentAddress.attnName}</div></#if>
<div class="tabletext" align="center">${paymentAddress.address1}</div>
<#if paymentAddress.address2?has_content><div class="tabletext" align="center">${paymentAddress.address2}</div></#if>
<div class="tabletext" align="center">${paymentAddress.city}<#if paymentAddress.stateProvinceGeoId?has_content>, ${paymentAddress.stateProvinceGeoId}</#if> ${paymentAddress.postalCode}
<div class="tabletext" align="center">${paymentAddress.countryGeoId}</div>
<div class="tabletext" align="center"><hr/></div>
<div class="tabletext" align="center"><b>${uiLabelMap.OrderBeSureIncludeOrder} #</b></div>
<div align="center"><hr/></div>
<div align="center"><b>${uiLabelMap.AccountingPleaseSendPaymentTo}:</b></div>
<#if paymentAddress.toName?has_content><div align="center">${paymentAddress.toName}</div></#if>
<#if paymentAddress.attnName?has_content><div align="center"><b>${uiLabelMap.CommonAttn}:</b> ${paymentAddress.attnName}</div></#if>
<div align="center">${paymentAddress.address1}</div>
<#if paymentAddress.address2?has_content><div align="center">${paymentAddress.address2}</div></#if>
<div align="center">${paymentAddress.city}<#if paymentAddress.stateProvinceGeoId?has_content>, ${paymentAddress.stateProvinceGeoId}</#if> ${paymentAddress.postalCode}
<div align="center">${paymentAddress.countryGeoId}</div>
<div align="center"><hr/></div>
<div align="center"><b>${uiLabelMap.OrderBeSureIncludeOrder} #</b></div>
</#if>
</td>
<#else>
<#assign outputted = true>
<td colspan="3" valign="top">
<div class="tabletext" align="center"><b>${uiLabelMap.AccountingPaymentVia} ${paymentMethodType.get("description",locale)}</b></div>
<div align="center"><b>${uiLabelMap.AccountingPaymentVia} ${paymentMethodType.get("description",locale)}</b></div>
</td>
</#if>
</tr>
@@ -58,11 +58,11 @@ under the License.
<#if creditCard?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.AccountingCreditCard}</b></div>
<div>&nbsp;<b>${uiLabelMap.AccountingCreditCard}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<div>
<#if creditCard.companyNameOnCard?has_content>${creditCard.companyNameOnCard}<br/></#if>
<#if creditCard.titleOnCard?has_content>${creditCard.titleOnCard}&nbsp</#if>
${creditCard.firstNameOnCard}&nbsp;
@@ -78,11 +78,11 @@ under the License.
<#elseif eftAccount?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.AccountingEFTAccount}</b></div>
<div>&nbsp;<b>${uiLabelMap.AccountingEFTAccount}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<div>
${eftAccount.nameOnAccount}<br/>
<#if eftAccount.companyNameOnAccount?has_content>${eftAccount.companyNameOnAccount}<br/></#if>
Bank: ${eftAccount.bankName}, ${eftAccount.routingNumber}<br/>
@@ -100,11 +100,11 @@ under the License.
<#assign outputted = true/>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.AccountingBillingAccount}</b></div>
<div>&nbsp;<b>${uiLabelMap.AccountingBillingAccount}</b></div>
</td>
<td width="5">&nbsp;</td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<div>
#${billingAccount.billingAccountId?if_exists} - ${billingAccount.description?if_exists}
</div>
</td>
@@ -62,7 +62,7 @@ standard order confirmation page and to be re-usable by other screens.
<#-- address destination column (spans a number of rows = number of cart items in it) -->
<td rowspan="${numberOfItems}" class="tabletext">
<td rowspan="${numberOfItems}">
<#assign contactMech = delegator.findByPrimaryKey("ContactMech", Static["org.ofbiz.base.util.UtilMisc"].toMap("contactMechId", cartShipInfo.contactMechId))?if_exists />
<#if contactMech?has_content>
<#assign address = contactMech.getRelatedOne("PostalAddress")?if_exists />
@@ -81,14 +81,14 @@ standard order confirmation page and to be re-usable by other screens.
<#-- supplier id (for drop shipments) (also spans rows = number of items) -->
<td rowspan="${numberOfItems}" valign="top" class="tabletext">
<td rowspan="${numberOfItems}" valign="top">
<#assign supplier = delegator.findByPrimaryKey("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", cartShipInfo.getSupplierPartyId()))?if_exists />
<#if supplier?has_content>${supplier.groupName?default(supplier.partyId)}</#if>
</td>
<#-- carrier column (also spans rows = number of items) -->
<td rowspan="${numberOfItems}" valign="top" class="tabletext">
<td rowspan="${numberOfItems}" valign="top">
<#assign carrier = delegator.findByPrimaryKey("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", cartShipInfo.getCarrierPartyId()))?if_exists />
<#assign method = delegator.findByPrimaryKey("ShipmentMethodType", Static["org.ofbiz.base.util.UtilMisc"].toMap("shipmentMethodTypeId", cartShipInfo.getShipmentMethodTypeId()))?if_exists />
<#if carrier?has_content>${carrier.groupName?default(carrier.partyId)}</#if>
@@ -101,8 +101,8 @@ standard order confirmation page and to be re-usable by other screens.
<#list cartShipInfo.getShipItems() as shoppingCartItem>
<#if (itemIndex > 0)> <tr> </#if>
<td valign="top" class="tabletext"> ${shoppingCartItem.getProductId()?default("")} - ${shoppingCartItem.getName()?default("")} </td>
<td valign="top" class="tabletext"> ${cartShipInfo.getShipItemInfo(shoppingCartItem).getItemQuantity()?default("0")} </td>
<td valign="top"> ${shoppingCartItem.getProductId()?default("")} - ${shoppingCartItem.getName()?default("")} </td>
<td valign="top"> ${cartShipInfo.getShipItemInfo(shoppingCartItem).getItemQuantity()?default("0")} </td>
<#if (itemIndex == 0)> </tr> </#if>
<#assign itemIndex = itemIndex + 1 />
@@ -36,13 +36,13 @@ under the License.
<tr>
<td align="center">
<#if person?has_content>
<div class="tabletext"><a href="${customerDetailLink}${partyId}" class="buttontext">${person.firstName?if_exists}&nbsp;${person.lastName?if_exists}</a></div>
<div><a href="${customerDetailLink}${partyId}" class="buttontext">${person.firstName?if_exists}&nbsp;${person.lastName?if_exists}</a></div>
<#elseif partyGroup?has_content>
<div class='tabletext'><a href="${customerDetailLink}${partyId}" class="buttontext">${partyGroup.groupName?if_exists}</a></div>
</#if>
<form method="post" action="<@ofbizUrl>orderentry</@ofbizUrl>" name="setpartyform">
<div><input type="text" name="partyId" size='10' value="${partyId?if_exists}"></div>
<div class="tabletext">
<div>
<a href="javascript:document.setpartyform.submit();" class="buttontext">${uiLabelMap.CommonSet}</a>&nbsp;|&nbsp;<a href="/partymgr/control/findparty" class="buttontext">${uiLabelMap.CommonFind}</a><#if partyId?default("_NA_") != "_NA_" && partyId?default("_NA_") != "">&nbsp;|&nbsp;<a href="${customerDetailLink}${partyId}" class="buttontext">${uiLabelMap.CommonView}</a></#if>
</div>
</form>
@@ -33,20 +33,20 @@ under the License.
</td>
</tr>
<tr>
<td><div class="tabletext"><b>${uiLabelMap.OrderOrderTermType}</b></div></td>
<td><div class="tabletext"><b>${uiLabelMap.OrderOrderTermValue}</b></div></td>
<td><div class="tabletext"><b>${uiLabelMap.OrderOrderTermDays}</b></div></td>
<td><div class="tabletext"><b>${uiLabelMap.CommonDescription}</b></div></td>
<td><div><b>${uiLabelMap.OrderOrderTermType}</b></div></td>
<td><div><b>${uiLabelMap.OrderOrderTermValue}</b></div></td>
<td><div><b>${uiLabelMap.OrderOrderTermDays}</b></div></td>
<td><div><b>${uiLabelMap.CommonDescription}</b></div></td>
<td align="right">&nbsp;</td>
</tr>
<tr><td colspan="5"><hr class='sepbar'></td></tr>
<#assign index=0>
<#list orderTerms as orderTerm>
<tr>
<td><div class="tabletext">${orderTerm.getRelatedOne("TermType").get("description",locale)}</div></td>
<td><div class="tabletext">${orderTerm.termValue?default("")}</div></td>
<td><div class="tabletext">${orderTerm.termDays?default("")}</div></td>
<td><div class="tabletext">${orderTerm.textValue?default("")}</div></td>
<td><div>${orderTerm.getRelatedOne("TermType").get("description",locale)}</div></td>
<td><div>${orderTerm.termValue?default("")}</div></td>
<td><div>${orderTerm.termDays?default("")}</div></td>
<td><div>${orderTerm.textValue?default("")}</div></td>
<td align="right">
<a href="<@ofbizUrl>setOrderTerm?termIndex=${index}&createNew=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonUpdate}</a>
&nbsp;&nbsp;&nbsp;&nbsp;
@@ -75,7 +75,7 @@ under the License.
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="26%" align="right" valign="top">
<div class="tabletext">${uiLabelMap.OrderOrderTermType}</div>
<div>${uiLabelMap.OrderOrderTermType}</div>
</td>
<td width="5">&nbsp;</td>
<td width="74%">
@@ -91,7 +91,7 @@ under the License.
</tr>
<tr>
<td width="26%" align="right" valign="top">
<div class="tabletext">${uiLabelMap.OrderOrderTermValue}</div>
<div>${uiLabelMap.OrderOrderTermValue}</div>
</td>
<td width="5">&nbsp;</td>
<td width="74%">
@@ -100,7 +100,7 @@ under the License.
</tr>
<tr>
<td width="26%" align="right" valign="top">
<div class="tabletext">${uiLabelMap.OrderOrderTermDays}</div>
<div>${uiLabelMap.OrderOrderTermDays}</div>
</td>
<td width="5">&nbsp;</td>
<td width="74%">
@@ -109,7 +109,7 @@ under the License.
</tr>
<tr>
<td width="26%" align="right" valign="top">
<div class="tabletext">${uiLabelMap.CommonDescription}</div>
<div>${uiLabelMap.CommonDescription}</div>
</td>
<td width="5">&nbsp;</td>
<td width="74%">
@@ -29,7 +29,7 @@ under the License.
</div>
<div class="screenlet-body">
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td><div class="tabletext">Supplier Information Here</div></td></tr>
<tr><td><div>Supplier Information Here</div></td></tr>
</table>
</div>
</div>
@@ -38,7 +38,7 @@ under the License.
<input type="radio" name="additionalPartyType" value="Person" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if (additionalPartyType?exists && additionalPartyType == "Person")> checked="checked"</#if>>
</td>
<td>
<div class="tabletext">${uiLabelMap.CommonPerson}</div>
<div>${uiLabelMap.CommonPerson}</div>
</td>
</tr>
<tr>
@@ -46,7 +46,7 @@ under the License.
<input type="radio" name="additionalPartyType" value="Group" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if additionalPartyType?exists && additionalPartyType == "Group"> checked="checked"</#if>>
</td>
<td>
<div class="tabletext">${uiLabelMap.CommonGroup}</div>
<div>${uiLabelMap.CommonGroup}</div>
</td>
</tr>
<tr>
@@ -54,7 +54,7 @@ under the License.
<input type="radio" name="additionalPartyType" value="None" onclick="<#if additionalPartyType?exists>javascript:document.quickAddPartyForm.additionalPartyId.value='';</#if>document.quickAddPartyForm.submit()"<#if !additionalPartyType?exists> checked="checked"</#if>>
</td>
<td>
<div class="tabletext">${uiLabelMap.OrderPartyDontWish}</div>
<div>${uiLabelMap.OrderPartyDontWish}</div>
</td>
</tr>
</table>
@@ -116,7 +116,7 @@ under the License.
<td>
<select name="additionalRoleTypeId" size="5" multiple>
<#list roles as role>
<option value="${role.roleTypeId}" class="tabletext">${role.get("description",locale)}</option>
<option value="${role.roleTypeId}">${role.get("description",locale)}</option>
</#list>
</select>
</td>
@@ -60,7 +60,7 @@ under the License.
</td>
<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td align="left" valign="top" width="100%" nowrap>
<div class="tabletext">
<div>
<#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b>&nbsp;${shippingAddress.toName}<br/></#if>
<#if shippingAddress.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b>&nbsp;${shippingAddress.attnName}<br/></#if>
<#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if>
@@ -72,7 +72,7 @@ under the License.
</div>
</td>
<td>
<div class="tabletext"><a href="/facility/control/EditContactMech?facilityId=${facility.facilityId}&amp;contactMechId=${shippingAddress.contactMechId}" target="_blank" class="buttontext">${uiLabelMap.CommonUpdate}</a></div>
<div><a href="/facility/control/EditContactMech?facilityId=${facility.facilityId}&amp;contactMechId=${shippingAddress.contactMechId}" target="_blank" class="buttontext">${uiLabelMap.CommonUpdate}</a></div>
</td>
</tr>
<#if shippingContactMech_has_next>
@@ -84,7 +84,7 @@ under the License.
<#else>
<tr>
<td colspan="4">
<div class="tabletext">
<div>
${uiLabelMap.CommonNoContactInformationOnFile}:
<a href="/facility/control/EditContactMech?facilityId=${facility.facilityId}&amp;preContactMechTypeId=POSTAL_ADDRESS" target="_blank" class="buttontext">${uiLabelMap.CommonNew}</a>
</div>
@@ -126,7 +126,7 @@ under the License.
</tr>
<tr>
<td colspan="3">
<div class="tabletext">
<div>
${uiLabelMap.PartySupplier}:
<select name="${shipGroupIndex?default("0")}_supplierPartyId">
<option value=""></option>
@@ -160,7 +160,7 @@ under the License.
<input type="radio" name="${shipGroupIndex?default("0")}_shipping_contact_mech_id" value="${shippingAddress.contactMechId}" ${checkedValue} />
</td>
<td align="left" valign="top" width="99%" nowrap>
<div class="tabletext">
<div>
<#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b>&nbsp;${shippingAddress.toName}<br/></#if>
<#if shippingAddress.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b>&nbsp;${shippingAddress.attnName}<br/></#if>
<#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if>
@@ -172,7 +172,7 @@ under the License.
</div>
</td>
<td>
<div class="tabletext"><a href="/partymgr/control/editcontactmech?partyId=${orderParty.partyId}&amp;contactMechId=${shippingContactMech.contactMechId}" target="_blank" class="buttontext">${uiLabelMap.CommonUpdate}</a></div>
<div><a href="/partymgr/control/editcontactmech?partyId=${orderParty.partyId}&amp;contactMechId=${shippingContactMech.contactMechId}" target="_blank" class="buttontext">${uiLabelMap.CommonUpdate}</a></div>
</td>
</tr>
<#if shippingContactMech_has_next>
@@ -192,7 +192,7 @@ under the License.
<input type="radio" name="${shipGroupIndex?default("0")}_shipping_contact_mech_id" value="${shippingAddress.contactMechId}"/>
</td>
<td align="left" valign="top" width="99%" nowrap>
<div class="tabletext">
<div>
<#if shippingAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b>&nbsp;${shippingAddress.toName}<br/></#if>
<#if shippingAddress.attnName?has_content><b>${uiLabelMap.CommonAttn}:</b>&nbsp;${shippingAddress.attnName}<br/></#if>
<#if shippingAddress.address1?has_content>${shippingAddress.address1}<br/></#if>
@@ -100,7 +100,7 @@ under the License.
<#assign inProductionQuantity = productionProductQuantityMap.get(productId)?default(0)>
<#assign unplannedQuantity = requiredQuantity - qohQuantity - inProductionQuantity - onOrderQuantity - mktgPkgQOH>
<#if unplannedQuantity < 0><#assign unplannedQuantity = 0></#if>
<div class="tabletext" style="margin-top: 15px; margin-left: 20px;">
<div style="margin-top: 15px; margin-left: 20px;">
<table cellspacing="0" cellpadding="0" border="0">
<tr><td style="text-align: right; padding-bottom: 10px;">
<a class="buttontext" href="/catalog/control/EditProductInventoryItems?productId=${productId}&amp;showAllFacilities=Y&amp;externalLoginKey=${externalLoginKey}" target="_blank">${uiLabelMap.ProductInventory}</a>
@@ -76,7 +76,7 @@ under the License.
</td>
<td width="1%">&nbsp;</td>
<td align="left" valign="top" width="60%">
<div class="tabletext">
<div>
<#if (finAccountType?has_content)>
${finAccountType.description?default(finAccountType.finAccountTypeId)}&nbsp;
</#if>
@@ -140,8 +140,8 @@ under the License.
<br/>&nbsp;[<#if oppStatusItem?exists>${oppStatusItem.get("description",locale)}<#else>${orderPaymentPreference.statusId}</#if>]
</div>
<#--
<div class="tabletext"><@ofbizCurrency amount=orderPaymentPreference.maxAmount?default(0.00) isoCode=currencyUomId/>&nbsp;-&nbsp;${(orderPaymentPreference.authDate.toString())?if_exists}</div>
<div class="tabletext">&nbsp;<#if orderPaymentPreference.authRefNum?exists>(${uiLabelMap.OrderReference}: ${orderPaymentPreference.authRefNum})</#if></div>
<div><@ofbizCurrency amount=orderPaymentPreference.maxAmount?default(0.00) isoCode=currencyUomId/>&nbsp;-&nbsp;${(orderPaymentPreference.authDate.toString())?if_exists}</div>
<div>&nbsp;<#if orderPaymentPreference.authRefNum?exists>(${uiLabelMap.OrderReference}: ${orderPaymentPreference.authRefNum})</#if></div>
-->
</td>
<#else>
@@ -249,7 +249,7 @@ under the License.
</td>
<td width="1%">&nbsp;</td>
<td align="left" valign="top" width="60%">
<div class="tabletext">
<div>
<#if eftAccount?has_content>
${eftAccount.nameOnAccount?if_exists}<br/>
<#if eftAccount.companyNameOnAccount?exists>${eftAccount.companyNameOnAccount}<br/></#if>
@@ -105,7 +105,7 @@ under the License.
</actions>
<alt-target use-when="quote==null" target="createQuote"/>
<auto-fields-entity entity-name="Quote" default-field-type="edit"/>
<field name="quoteId" title="${uiLabelMap.OrderOrderQuoteId}" widget-style="tabletext"><display/></field>
<field name="quoteId" title="${uiLabelMap.OrderOrderQuoteId}"><display/></field>
<field name="quoteTypeId" title="${uiLabelMap.OrderOrderQuoteTypeId}">
<drop-down allow-empty="true">
<entity-options description="${description}" entity-name="QuoteType" key-field-name="quoteTypeId">
@@ -158,7 +158,7 @@ under the License.
<field name="entryDate" title="${uiLabelMap.OrderEntryDate}">
<display/>
</field>
<field name="fromPartyId" widget-style="tabletext" title="${uiLabelMap.OrderReturnFromParty}">
<field name="fromPartyId" title="${uiLabelMap.OrderReturnFromParty}">
<display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${firstName} ${lastName}">
<sub-hyperlink link-style="buttontext" target-type="inter-app" description="${fromPartyId}" target="/partymgr/control/viewprofile?partyId=${fromPartyId}${externalKeyParam}"/>
</display-entity>
@@ -37,7 +37,7 @@ under the License.
</#if>
<tr>
<td><a href="<@ofbizUrl>returnMain?returnId=${returnHeader.returnId}</@ofbizUrl>" class="buttontext">${returnHeader.returnId}</a></td>
<td><div class="tabletext">${returnHeader.entryDate.toString()}</div></td>
<td><div>${returnHeader.entryDate.toString()}</div></td>
<td>
<#if returnHeader.fromPartyId?exists>
<a href="${customerDetailLink}${returnHeader.fromPartyId}${externalKeyParam}" class='buttontext'>${returnHeader.fromPartyId}</a>
@@ -60,15 +60,15 @@ under the License.
<#assign rowStyle = "alternate-row">
</#if>
<tr class="${rowStyle}">
<td><div class="tabletext">${paymentSetting.siteName?if_exists}</div></td>
<td><div class="tabletext">${paymentSetting.description?if_exists}</div></td>
<td><div class="tabletext">${paymentSetting.paymentAuthService?if_exists}</div></td>
<td><div class="tabletext">${paymentSetting.paymentReAuthService?if_exists}</div></td>
<td><div class="tabletext">${paymentSetting.paymentCaptureService?if_exists}</div></td>
<td><div class="tabletext">${paymentSetting.paymentRefundService?if_exists}</div></td>
<td><div class="tabletext">${paymentSetting.paymentConfiguration?if_exists}</div></td>
<td><div>${paymentSetting.siteName?if_exists}</div></td>
<td><div>${paymentSetting.description?if_exists}</div></td>
<td><div>${paymentSetting.paymentAuthService?if_exists}</div></td>
<td><div>${paymentSetting.paymentReAuthService?if_exists}</div></td>
<td><div>${paymentSetting.paymentCaptureService?if_exists}</div></td>
<td><div>${paymentSetting.paymentRefundService?if_exists}</div></td>
<td><div>${paymentSetting.paymentConfiguration?if_exists}</div></td>
<td nowrap>
<div class="tabletext">&nbsp;
<div>&nbsp;
<#if security.hasEntityPermission("PAYPROC", "_UPDATE", session)>
<a href="<@ofbizUrl>paysetup?webSiteId=${paymentSetting.webSiteId?if_exists}&paymentMethodTypeId=${paymentSetting.paymentMethodTypeId?if_exists}</@ofbizUrl>" class="buttontext">Edit</a>&nbsp;
</#if>
@@ -81,7 +81,7 @@ under the License.
</#list>
<#else>
<tr>
<td colspan="8"><div class="tabletext">No settings found.</div></td>
<td colspan="8"><div>No settings found.</div></td>
</tr>
</#if>
</table>
@@ -127,12 +127,12 @@ under the License.
</#if>
<table border='0' cellpadding='2' cellspacing='0'>
<tr>
<td width="26%" align="right"><div class="tabletext">WebSite</div></td>
<td width="26%" align="right"><div>WebSite</div></td>
<td>&nbsp;</td>
<td width="74%">
<#if webSitePayment?has_content>
<input type='hidden' name='webSiteId' value='${webSitePayment.webSiteId}'>
<div class="tabletext">
<div>
<b>${webSitePayment.siteName}</b> (This cannot be changed without re-creating the setting.)
</div>
<#else>
@@ -145,12 +145,12 @@ under the License.
</td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">Payment Method Type</div></td>
<td width="26%" align="right"><div>Payment Method Type</div></td>
<td>&nbsp;</td>
<td width="74%">
<#if webSitePayment?has_content>
<input type='hidden' name='paymentMethodTypeId' value='${webSitePayment.paymentMethodTypeId}'>
<div class="tabletext">
<div>
<b>${webSitePayment.description}</b> (This cannot be changed without re-creating the setting.)
</div>
<#else>
@@ -164,27 +164,27 @@ under the License.
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">Processor Auth Service</div></td>
<td width="26%" align="right"><div>Processor Auth Service</div></td>
<td>&nbsp;</td>
<td width="74%"><input type="text" name="paymentAuthService" value="${payInfo.paymentAuthService?if_exists}" size="30" maxlength="60"></td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">Processor Re-Auth Service</div></td>
<td width="26%" align="right"><div>Processor Re-Auth Service</div></td>
<td>&nbsp;</td>
<td width="74%"><input type="text" name="paymentReAuthService" value="${payInfo.paymentReAuthService?if_exists}" size="30" maxlength="60"></td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">Processor Capture Service</div></td>
<td width="26%" align="right"><div>Processor Capture Service</div></td>
<td>&nbsp;</td>
<td width="74%"><input type="text" name="paymentCaptureService" value="${payInfo.paymentCaptureService?if_exists}" size="30" maxlength="60"></td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">Processor Refund Service</div></td>
<td width="26%" align="right"><div>Processor Refund Service</div></td>
<td>&nbsp;</td>
<td width="74%"><input type="text" name="paymentRefundService" value="${payInfo.paymentRefundService?if_exists}" size="30" maxlength="60"></td>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">Processor Properties URL</div></td>
<td width="26%" align="right"><div>Processor Properties URL</div></td>
<td>&nbsp;</td>
<td width="74%"><input type="text" name="paymentConfiguration" value="${payInfo.paymentConfiguration?if_exists}" size="30" maxlength="60"></td>
</tr>
@@ -139,8 +139,8 @@ under the License.
<field name="productId" title="${uiLabelMap.ProductProductId}" widget-style="buttontext">
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems?productId=${productId}" target-type="inter-app"/>
</field>
<field name="brandName" title="${uiLabelMap.ProductBrandName}" widget-style="tabletext"><display/></field>
<field name="internalName" widget-style="tabletext"><display/></field>
<field name="brandName" title="${uiLabelMap.ProductBrandName}"><display/></field>
<field name="internalName"><display/></field>
<field name="quantity" title="${uiLabelMap.OrderQuantity}">
<text size="5" maxlength="10"/>
</field>
@@ -159,10 +159,10 @@ under the License.
<field name="productId" widget-style="buttontext">
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems?productId=${productId}" target-type="inter-app"/>
</field>
<field name="supplierProductId" widget-style="tabletext"><display/></field>
<field name="supplierProductName" widget-style="tabletext"><display/></field>
<field name="lastPrice" widget-style="tabletext"><display/></field>
<field name="minimumOrderQuantity" widget-style="tabletext"><display/></field>
<field name="supplierProductId"><display/></field>
<field name="supplierProductName"><display/></field>
<field name="lastPrice"><display/></field>
<field name="minimumOrderQuantity"><display/></field>
<field name="quantity" title="${uiLabelMap.OrderQuantity}">
<text size="5" maxlength="10"/>
</field>
@@ -92,9 +92,9 @@ under the License.
<alt-target target="createTimesheet" use-when="timesheet==null"/>
<auto-fields-service service-name="updateTimesheet"/>
<field name="timesheetId" use-when="timesheet!=null" title="${uiLabelMap.TimesheetTimesheetId}" tooltip="${uiLabelMap.CommonNotModifRecreat}" widget-style="tabletext"><display/></field>
<field name="timesheetId" use-when="timesheet!=null" title="${uiLabelMap.TimesheetTimesheetId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="timesheetId" use-when="timesheet==null&amp;&amp;timesheetId==null" title="${uiLabelMap.TimesheetTimesheetId}"><ignored/></field>
<field name="timesheetId" use-when="timesheet==null&amp;&amp;timesheetId!=null" title="${uiLabelMap.TimesheetTimesheetId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${timesheetId}]" widget-style="tabletext"><display also-hidden="false"/></field>
<field name="timesheetId" use-when="timesheet==null&amp;&amp;timesheetId!=null" title="${uiLabelMap.TimesheetTimesheetId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${timesheetId}]"><display also-hidden="false"/></field>
<field name="partyId" title="${uiLabelMap.PartyParty}*"><lookup target-form-name="LookupPartyName"/></field>
<field name="clientPartyId"><lookup target-form-name="LookupPartyName"/></field>
@@ -106,7 +106,7 @@ under the License.
</drop-down>
</field>
<field name="facilityId"><lookup target-form-name="LookupFacility"/></field>
<field name="mustRsvp" widget-style="tabletext"><check/></field>
<field name="mustRsvp"><check/></field>
<field name="comments"><text size="60" maxlength="255"/></field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
@@ -31,7 +31,7 @@ under the License.
}
}
</script>
<div class="tabletext">
<div>
<form method="post" action="<@ofbizUrl>PostProductsToEbay</@ofbizUrl>" name="ProductsExportToEbay">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
@@ -25,7 +25,7 @@ under the License.
</tr>
<tr height=24 class="boxbottom">
<td width=100%>
<span class="tabletext">
<span>
Hand Held Facility
</span>
</td>
@@ -53,7 +53,7 @@ under the License.
<table width='100%' border='0' cellpadding='0' cellspacing='2'>
<tr>
<td align="right">
<span class="tabletext">Username&nbsp;</span>
<span>Username&nbsp;</span>
</td>
<td align="left">
<input type="text" name="USERNAME" value="${username}" size="20">
@@ -61,7 +61,7 @@ under the License.
</tr>
<tr>
<td align="right">
<span class="tabletext">Password&nbsp;</span>
<span>Password&nbsp;</span>
</td>
<td align="left">
<input type="password" name="PASSWORD" value="" size="20">
@@ -18,7 +18,7 @@ under the License.
-->
<#assign facility = parameters.facility>
<span class="tabletext">
<span>
<ol>
<li><a accesskey="1" href="<@ofbizUrl>/receipt?facilityId=${facility.facilityId?if_exists}</@ofbizUrl>">Goods Receipt</a></li>
<li><a accesskey="2" href="<@ofbizUrl>/movement?facilityId=${facility.facilityId?if_exists}</@ofbizUrl>">Inventory Movement</a></li>
@@ -19,7 +19,7 @@ under the License.
<#assign facility = parameters.facility>
<span class="tabletext">
<span>
<#if negativeQOH?has_content>
<a href="<@ofbizUrl>/fixproductnegativeqoh?facilityId=${facility.facilityId?if_exists}&productId=${product.productId?if_exists}</@ofbizUrl>">Fix negative QOH</a>
</#if>
@@ -19,7 +19,7 @@ under the License.
<#assign facility = parameters.facility>
<span class="tabletext">
<span>
<ol>
<li><a accesskey="1" href="<@ofbizUrl>/poreceipt?facilityId=${facility.facilityId?if_exists}</@ofbizUrl>">PO Receipt</a></li>
<li><a accesskey="2" href="<@ofbizUrl>/productreceipt?facilityId=${facility.facilityId?if_exists}</@ofbizUrl>">Product Receipt</a></li>
@@ -23,16 +23,16 @@ under the License.
</#if>
<#if idValue?has_content && !productList?has_content>
<span class="tabletext">No Product(s) Found</span>
<span>No Product(s) Found</span>
</#if>
<#if productList?has_content>
<span class="tabletext">Products Found:</span>
<span>Products Found:</span>
<table>
<#list productList as product>
<tr>
<td>
<div class="tabletext"><b>${product.productId}</b></div>
<div><b>${product.productId}</b></div>
</td>
<td>&nbsp;&nbsp;</td>
<td>
@@ -39,15 +39,15 @@ under the License.
<#list workEffortNoteandDetails as note>
<tr>
<td align="left" valign="top" width="35%">
<div class="tabletext">&nbsp;<b>${uiLabelMap.CommonBy}: </b>${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, note.noteParty, true)}</div>
<div class="tabletext">&nbsp;<b>${uiLabelMap.CommonAt}: </b>${Static["org.ofbiz.base.util.UtilDateTime"].timeStampToString(note.noteDateTime?if_exists,"dd-MM-yyyy HH:mm",Static["java.util.TimeZone"].getDefault(),context.get("locale"))}</div>
<div>&nbsp;<b>${uiLabelMap.CommonBy}: </b>${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, note.noteParty, true)}</div>
<div>&nbsp;<b>${uiLabelMap.CommonAt}: </b>${Static["org.ofbiz.base.util.UtilDateTime"].timeStampToString(note.noteDateTime?if_exists,"dd-MM-yyyy HH:mm",Static["java.util.TimeZone"].getDefault(),context.get("locale"))}</div>
</td>
<td align="left" valign="top" width="50%">
<div class="tabletext">${note.noteInfo?if_exists}</div>
<div>${note.noteInfo?if_exists}</div>
</td>
<td align="right" valign="top" width="15%">
<#if note.internalNote?if_exists == "N">
<div class="tabletext">${uiLabelMap.ProjectMgrPrintableNote}</div>
<div>${uiLabelMap.ProjectMgrPrintableNote}</div>
<#if project?has_content>
<a href="<@ofbizUrl>updateProjectNote?workEffortId=${project.workEffortId?if_exists}&noteId=${note.noteId}&internalNote=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderNotesPrivate}</a>
<#else>
@@ -55,7 +55,7 @@ under the License.
</#if>
</#if>
<#if note.internalNote?if_exists == "Y">
<div class="tabletext">${uiLabelMap.ProjectMgrNotPrintableNote}</div>
<div>${uiLabelMap.ProjectMgrNotPrintableNote}</div>
<#if project?has_content>
<a href="<@ofbizUrl>updateProjectNote?workEffortId=${project.workEffortId?if_exists}&noteId=${note.noteId}&internalNote=N</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderNotesPublic}</a>
<#else>
@@ -71,9 +71,9 @@ under the License.
</table>
<#else>
<#if project?has_content>
<div class="tabletext">&nbsp;${uiLabelMap.ProjectMgrProjectNoNotes}.</div>
<div>&nbsp;${uiLabelMap.ProjectMgrProjectNoNotes}.</div>
<#else>
<div class="tabletext">&nbsp;${uiLabelMap.ProjectMgrTaskNoNotes}.</div>
<div>&nbsp;${uiLabelMap.ProjectMgrTaskNoNotes}.</div>
</#if>
</#if>
@@ -101,17 +101,17 @@ under the License.
</#if>
</tr>
<tr>
<td width="26%" align="right"><div class="tabletext">${uiLabelMap.OrderNote}</div></td>
<td width="26%" align="right"><div>${uiLabelMap.OrderNote}</div></td>
<td width="54%">
<textarea name="noteInfo" rows="5" cols="70"></textarea>
</td>
</tr>
<tr>
<td/><td class="tabletext">${uiLabelMap.OrderInternalNote} :
<td/><td>${uiLabelMap.OrderInternalNote} :
<select name="internalNote" size="1"><option value=""></option><option value="Y" selected>${uiLabelMap.CommonYes}</option><option value="N">${uiLabelMap.CommonNo}</option></select></td>
</tr>
<tr>
<td/><td class="tabletext"><i>${uiLabelMap.OrderInternalNoteMessage}</i></td>
<td/><td><i>${uiLabelMap.OrderInternalNoteMessage}</i></td>
</tr>
</table>
<#if project?has_content>
@@ -431,9 +431,9 @@
<order-by field-name="noteId"/>
</entity-condition>
</actions>
<field name="noteId" widget-style="tabletext"><hidden/></field>
<field name="noteId"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="noteParty" title="${uiLabelMap.CommonBy}" widget-style="tabletext"><display description="${bsh:org.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${bsh: org.ofbiz.base.util.UtilDateTime.timeStampToString(noteDateTime, &quot;dd-MM-yyyy HH:mm&quot;, TimeZone.getDefault(), context.get(&quot;locale&quot;))}"/></field>
<field name="noteParty" title="${uiLabelMap.CommonBy}"><display description="${bsh:org.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${bsh: org.ofbiz.base.util.UtilDateTime.timeStampToString(noteDateTime, &quot;dd-MM-yyyy HH:mm&quot;, TimeZone.getDefault(), context.get(&quot;locale&quot;))}"/></field>
</form>
<form name="listResourcesTasks" type="list" list-name="tasks" paginate-target="listResourcesTask" target="updateResourcesTaskAssigment"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
@@ -474,9 +474,9 @@
<order-by field-name="noteId"/>
</entity-condition>
</actions>
<field name="noteId" widget-style="tabletext"><hidden/></field>
<field name="noteId"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="noteParty" title="${uiLabelMap.CommonBy}" widget-style="tabletext"><display description="${bsh:org.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${bsh: org.ofbiz.base.util.UtilDateTime.timeStampToString(noteDateTime, &quot;dd-MM-yyyy HH:mm&quot;, TimeZone.getDefault(), context.get(&quot;locale&quot;))}"/></field>
<field name="noteParty" title="${uiLabelMap.CommonBy}"><display description="${bsh:org.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${bsh: org.ofbiz.base.util.UtilDateTime.timeStampToString(noteDateTime, &quot;dd-MM-yyyy HH:mm&quot;, TimeZone.getDefault(), context.get(&quot;locale&quot;))}"/></field>
<field name="Private/Public" widget-style="buttontext" title="${uiLabelMap.PorjectMgrPrivateOrPublic}" use-when="internalNote.equals(&quot;N&quot;)">
<hyperlink target="updateTaskNote?workEffortId=${workEffortId}&amp;noteId=${noteId}&amp;internalNote=Y" description="${uiLabelMap.OrderNotesPrivate}"></hyperlink>
@@ -21,7 +21,7 @@ under the License.
<#if processes?has_content>
<#assign proc1 = processes[0]>
<div>&nbsp;</div>
<div class="tabletext"><b>Process :</b> ${proc1.name()} - "${proc1.description()?default("N/A")}"</div>
<div><b>Process :</b> ${proc1.name()} - "${proc1.description()?default("N/A")}"</div>
<table cellpadding="2" cellspacing="0" border="1">
<tr>
@@ -37,10 +37,10 @@ under the License.
</tr>
<#list processes as proc>
<tr>
<td align="left"><div class="tabletext">${proc.key()}</div></td>
<td align="left"><div class="tabletext">${proc.state()}</div></td>
<td align="center"><div class="tabletext">${proc.priority()}</div></td>
<td align="center"><div class="tabletext">${proc.how_many_step()}</div></td>
<td align="left"><div>${proc.key()}</div></td>
<td align="left"><div>${proc.state()}</div></td>
<td align="center"><div>${proc.priority()}</div></td>
<td align="center"><div>${proc.how_many_step()}</div></td>
<#if proc.state() != "open.not_running.not_started">
<td align="center"><a href="<@ofbizUrl>processHistory?process=${proc.key()}</@ofbizUrl>" class="buttontext">History</a></td>
<#else>
@@ -68,5 +68,5 @@ under the License.
</#list>
</table>
<#else>
<div class="tabletext">No running processes.</div>
<div>No running processes.</div>
</#if>
@@ -20,7 +20,7 @@ under the License.
<h2>Process History</h2>
<#if historyList?has_content>
<div>&nbsp;</div>
<div class="tabletext"><b>Process :</b> ${process.name()} - ${process.description()?default("N/A")} [${process.key()}]</div>
<div><b>Process :</b> ${process.name()} - ${process.description()?default("N/A")} [${process.key()}]</div>
<table cellpadding="2" cellspacing="0" border="1">
<tr>
<td><div>Time</div></td>
@@ -29,9 +29,9 @@ under the License.
<#list historyList as history>
<#assign time = history.time_stamp().getTime()>
<tr>
<td align="left"><div class="tabletext">${Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(time)}</div></td>
<td align="left"><div>${Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(time)}</div></td>
<td align="left">
<div class="tabletext">
<div>
<#assign eventType = history.event_type()>
${eventType}
<#if eventType == "processStateChanged">
@@ -47,5 +47,5 @@ under the License.
</#list>
</table>
<#else>
<div class="tabletext">No history available.</div>
<div>No history available.</div>
</#if>
@@ -34,11 +34,11 @@ under the License.
<#list processMgrs as mgr>
<#assign state = mgr.process_mgr_state().value()>
<tr>
<td align="left"><div class="tabletext">${mgr.name()}</div></td>
<td align="left"><div class="tabletext">${mgr.version()}</div></td>
<td align="left"><div class="tabletext">${mgr.category()}</div></td>
<td align="center"><div class="tabletext"><#if state == enabledCode>Y<#else>N</#if></div></td>
<td align="center"><div class="tabletext">${mgr.how_many_process()}</div></td>
<td align="left"><div>${mgr.name()}</div></td>
<td align="left"><div>${mgr.version()}</div></td>
<td align="left"><div>${mgr.category()}</div></td>
<td align="center"><div><#if state == enabledCode>Y<#else>N</#if></div></td>
<td align="center"><div>${mgr.how_many_process()}</div></td>
<#if state == enabledCode>
<td align="center"><a href="<@ofbizUrl>processes?disable=${mgr.name()?replace("#", "%23")}</@ofbizUrl>" class="buttontext">Disable</a></td>
<#else>
@@ -62,5 +62,5 @@ under the License.
<td>&nbsp;</td>
<a href="<@ofbizUrl>processes?deleteFinished</@ofbizUrl>" class="buttontext">Delete All Finished</a>
<#else>
<div class="tabletext">No loaded processes.</div>
<div>No loaded processes.</div>
</#if>
@@ -20,7 +20,7 @@ under the License.
<h2>Process Steps</h2>
<#if steps?has_content>
<div>&nbsp;</div>
<div class="tabletext"><b>Process :</b> ${process.name()} - ${process.description()?default("N/A")} [${process.key()}]</div>
<div><b>Process :</b> ${process.name()} - ${process.description()?default("N/A")} [${process.key()}]</div>
<table cellpadding="2" cellspacing="0" border="1">
<tr>
@@ -36,16 +36,16 @@ under the License.
<#list steps as step>
<#assign time = step.last_state_time().getTime()>
<tr>
<td align="left"><div class="tabletext">${step.key()}</div></td>
<td align="left"><div class="tabletext">${step.name()}</div></td>
<td align="left"><div class="tabletext">${step.description()}</div></td>
<td align="left"><div class="tabletext">${step.state()}</div></td>
<td align="left"><div class="tabletext">${Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(time)}</div></td>
<td align="center"><div class="tabletext">${step.priority()}</div></td>
<td align="center"><div class="tabletext">${step.how_many_assignment()}</div></td>
<td align="left"><div>${step.key()}</div></td>
<td align="left"><div>${step.name()}</div></td>
<td align="left"><div>${step.description()}</div></td>
<td align="left"><div>${step.state()}</div></td>
<td align="left"><div>${Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(time)}</div></td>
<td align="center"><div>${step.priority()}</div></td>
<td align="center"><div>${step.how_many_assignment()}</div></td>
</tr>
</#list>
</table>
<#else>
<div class="tabletext">No running activities.</div>
<div>No running activities.</div>
</#if>
@@ -20,7 +20,7 @@ under the License.
<h2>XPDL Repository</h2>
<#if packages?has_content>
<div>&nbsp;</div>
<div class="tabletext">XPDL packages loaded into the repository.</div>
<div>XPDL packages loaded into the repository.</div>
<table cellpadding="2" cellspacing="0" border="1">
<tr>
<td><div>ID</div></td>
@@ -40,9 +40,9 @@ under the License.
</#if>
<tr>
<td align="left"><div class="tabletext">${packageId?default("??")}</div>
<td align="left"><div class="tabletext">${version?default("??")}</div></td>
<td align="center"><div class="tabletext"><#if open>Y<#else>N</#if></div>
<td align="left"><div>${packageId?default("??")}</div>
<td align="left"><div>${version?default("??")}</div></td>
<td align="center"><div><#if open>Y<#else>N</#if></div>
<td align="center"><a href="<@ofbizUrl>repository?delete=${package}</@ofbizUrl>" class="buttontext">Remove</a>
<td align="center"><a href="<@ofbizUrl>repository?<#if open>close=${packageId}&version=${version}<#else>open=${package}</#if></@ofbizUrl>" class="buttontext"><#if open>Close<#else>Open</#if></a>
</tr>
@@ -50,7 +50,7 @@ under the License.
</#list>
</table>
<#else>
<div class="tabletext">Repository is empty.</div>
<div>Repository is empty.</div>
</#if>
<br/>
@@ -48,18 +48,18 @@ under the License.
<input type="hidden" name="resource" value="${assignm.assignee().resource_key()}">
<input type="hidden" name="mode" value="accept">
<td align="left"><div class="tabletext">${assignm.assignee().resource_key()}</div></td>
<td align="left"><div class="tabletext">${assignm.activity().name()}</div></td>
<td align="left"><div class="tabletext">${assignm.activity().key()}</div></td>
<td align="left"><div>${assignm.assignee().resource_key()}</div></td>
<td align="left"><div>${assignm.activity().name()}</div></td>
<td align="left"><div>${assignm.activity().key()}</div></td>
<td align="center">
<input type="checkbox" name="accept" onclick="javascript:document.assignmentChange${formNumber}.submit();" value="Y" <#if assignm.get_accepted_status()>checked</#if>>
</td>
<td align="center"><div class="tabletext">${assignm.activity().priority()}</div></td>
<td align="left"><div class="tabletext">${assignm.activity().state()}</div></td>
<td align="center"><div>${assignm.activity().priority()}</div></td>
<td align="left"><div>${assignm.activity().state()}</div></td>
<#if (time > 0)>
<td align="left"><div class="tabletext">${Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(time)}</div></td>
<td align="left"><div>${Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(time)}</div></td>
<#else>
<td align="center"><div class="tabletext">N/A</div></td>
<td align="center"><div>N/A</div></td>
</#if>
<#if assignm.activity().state() == "open.running">
<td align="center"><a href="<@ofbizUrl>worklist?mode=complete&resource=${assignm.assignee().resource_key()}&process=${assignm.activity().container().key()}&activity=${assignm.activity().key()}</@ofbizUrl>" class="buttontext">Complete</a></td>
@@ -71,5 +71,5 @@ under the License.
</#list>
</table>
<#else>
<div class="tabletext">No tasks available.</div>
<div>No tasks available.</div>
</#if>