⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editshoppinglist.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 3 页
字号:
                  <#if recurrenceInfo?has_content>                    <#assign recurrenceRule = recurrenceInfo.getRelatedOne("RecurrenceRule")?if_exists>                  </#if>                  <select name="intervalNumber" class="selectBox">                    <option value="">${uiLabelMap.EcommerceSelectInterval}</option>                    <option value="1" <#if (recurrenceRule.intervalNumber)?default(0) == 1>selected</#if>>${uiLabelMap.EcommerceEveryDay}</option>                    <option value="2" <#if (recurrenceRule.intervalNumber)?default(0) == 2>selected</#if>>${uiLabelMap.EcommerceEveryOther}</option>                    <option value="3" <#if (recurrenceRule.intervalNumber)?default(0) == 3>selected</#if>>${uiLabelMap.EcommerceEvery3rd}</option>                    <option value="6" <#if (recurrenceRule.intervalNumber)?default(0) == 6>selected</#if>>${uiLabelMap.EcommerceEvery6th}</option>                    <option value="9" <#if (recurrenceRule.intervalNumber)?default(0) == 9>selected</#if>>${uiLabelMap.EcommerceEvery9th}</option>                  </select>                  &nbsp;                  <select name="frequency" class="selectBox">                    <option value="">${uiLabelMap.EcommerceSelectFrequency}</option>                    <option value="5" <#if (recurrenceRule.frequency)?default("") == "WEEKLY">selected</#if>>${uiLabelMap.CommonWeek}</option>                    <option value="6" <#if (recurrenceRule.frequency)?default("") == "MONTHLY">selected</#if>>${uiLabelMap.CommonMonth}</option>                    <option value="7" <#if (recurrenceRule.frequency)?default("") == "YEARLY">selected</#if>>${uiLabelMap.CommonYear}</option>                  </select>                </td>                <td>&nbsp;</td>                <td><div class="tableheadtext">${uiLabelMap.CommonStartDate}</div></td>                <td>                  <input type="text" class="textBox" name="startDateTime" size="22" value="${(recurrenceInfo.startDateTime)?if_exists}">                  <a href="javascript:call_cal(document.reorderinfo.startDateTime, '${nowTimestamp.toString()}');"><img src="/images/cal.gif" width="16" height="16" border="0" alt="Calendar"></a>                </td>                <td>&nbsp;</td>                <td><div class="tableheadtext">${uiLabelMap.CommonEndDate}</div></td>                <td>                  <input type="text" class="textBox" name="endDateTime" size="22" value="${(recurrenceRule.untilDateTime)?if_exists}">                  <a href="javascript:call_cal(document.reorderinfo.endDateTime, '${nowTimestamp.toString()}');"><img src="/images/cal.gif" width="16" height="16" border="0" alt="Calendar"></a>                </td>                <td>&nbsp;</td>              </tr>              <tr><td colspan="9"><hr class="sepbar"/></td></tr>              <tr>                <td><div class="tableheadtext">${uiLabelMap.OrderShipTo}</div></td>                <td>                  <select name="contactMechId" class="selectBox" onchange="javascript:document.reorderinfo.submit()">                    <option value="">${uiLabelMap.OrderSelectAShippingAddress}</option>                    <#if shippingContactMechList?has_content>                      <#list shippingContactMechList as shippingContactMech>                        <#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress")>                        <option value="${shippingContactMech.contactMechId}"<#if (shoppingList.contactMechId)?default("") == shippingAddress.contactMechId> selected</#if>>${shippingAddress.address1}</option>                      </#list>                    <#else>                      <option value="">${uiLabelMap.OrderNoAddressesAvailable}</option>                    </#if>                  </select>                </td>                <td>&nbsp;</td>                <td><div class="tableheadtext">${uiLabelMap.OrderShipVia}</div></td>                <td>                  <select name="shippingMethodString" class="selectBox">                    <option value="">${uiLabelMap.OrderSelectShippingMethod}</option>                    <#if carrierShipMethods?has_content>                      <#list carrierShipMethods as shipMeth>                        <#assign shippingEst = shippingEstWpr.getShippingEstimate(shipMeth)?default(-1)>                        <#assign shippingMethod = shipMeth.shipmentMethodTypeId + "@" + shipMeth.partyId>                        <option value="${shippingMethod}"<#if shippingMethod == chosenShippingMethod> selected</#if>>                          <#if shipMeth.partyId != "_NA_">                            ${shipMeth.partyId?if_exists}&nbsp;                          </#if>                          ${shipMeth.description?if_exists}                          <#if shippingEst?has_content>                            &nbsp;-&nbsp;                            <#if (shippingEst > -1)?exists>                              <@ofbizCurrency amount=shippingEst isoCode=listCart.getCurrency()/>                            <#else>                              ${uiLabelMap.OrderCalculatedOffline}                            </#if>                          </#if>                        </option>                      </#list>                    <#else>                      <option value="">${uiLabelMap.OrderSelectAddressFirst}</option>                    </#if>                  </select>                </td>                <td>&nbsp;</td>                <td><div class="tableheadtext">${uiLabelMap.OrderPayBy}</div></td>                <td>                  <select name="paymentMethodId" class="selectBox">                    <option value="">${uiLabelMap.OrderSelectPaymentMethod}</option>                    <#list paymentMethodList as paymentMethod>                      <#if paymentMethod.paymentMethodTypeId == "CREDIT_CARD">                        <#assign creditCard = paymentMethod.getRelatedOne("CreditCard")>                        <option value="${paymentMethod.paymentMethodId}" <#if (shoppingList.paymentMethodId)?default("") == paymentMethod.paymentMethodId>selected</#if>>CC:&nbsp;${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}</option>                      <#elseif paymentMethod.paymentMethodTypeId == "EFT_ACCOUNT">                        <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount")>                        <option value="${paymentMethod.paymentMethodId}">EFT:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}</option>                      </#if>                    </#list>                  </select>                </td>                <td>&nbsp;</td>              </tr>              <tr><td colspan="9"><hr class="sepbar"/></td></tr>              <tr>                <td align="right" colspan="9">                  <div class="tabletext">                    <a href="javascript:document.reorderinfo.submit();" class="buttontext">[${uiLabelMap.CommonSave}]</a>                    <a href="<@ofbizUrl>editcontactmech?preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION&DONE_PAGE=editShoppingList</@ofbizUrl>" class="buttontext">[${uiLabelMap.PartyAddNewAddress}]</a>                    <a href="<@ofbizUrl>editcreditcard?DONE_PAGE=editShoppingList</@ofbizUrl>" class="buttontext">[${uiLabelMap.EcommerceNewCreditCard}]</a>                    <a href="<@ofbizUrl>editeftaccount?DONE_PAGE=editShoppingList</@ofbizUrl>" class="buttontext">[${uiLabelMap.EcommerceNewEFTAccount}]</a>                  </div>                </td>              </tr>              <#if shoppingList.isActive?default("N") == "Y">                <tr><td colspan="9"><hr class="sepbar"/></td></tr>                <tr>                  <td align="left" colspan="9">                    <#assign nextTime = recInfo.next(lastSlOrderTime)?if_exists>                    <#if nextTime?has_content>                      <#assign nextTimeStamp = Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(nextTime)?if_exists>                      <#if nextTimeStamp?has_content>                        <#assign nextTimeString = Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(nextTimeStamp)?if_exists>                      </#if>                    </#if>                    <#if lastSlOrderDate?has_content>                      <#assign lastOrderedString = Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(lastSlOrderDate)?if_exists>                    </#if>                    <div class="tabletext">                      <table cellspacing="2" cellpadding="2" border="0">                        <tr>                          <td><div class="tableheadtext">${uiLabelMap.OrderLastOrderedDate}</div></td>                          <td><div class="tableheadtext">:</div></td>                          <td><div class="tabletext">${lastOrderedString?default("Not Yet Ordered")}</div></td>                        </tr>                        <tr>                          <td><div class="tableheadtext">${uiLabelMap.OrderEstimateNextOrderDate}</div></td>                          <td><div class="tableheadtext">:</div></td>                          <td><div class="tabletext">${nextTimeString?default("Not Yet Known")}</div></td>                        </tr>                      </table>                    </div>                  </tr>                </tr>              </#if>            </table>        </form>    </div></div></#if><#if childShoppingListDatas?has_content><div class="screenlet">    <div class="screenlet-header">        <div style="float: right;">            <a href="<@ofbizUrl>addListToCart?shoppingListId=${shoppingList.shoppingListId}&includeChild=yes</@ofbizUrl>" class="submenutextright">${uiLabelMap.EcommerceAddChildListsToCart}</a>        </div>        <div class="boxhead">&nbsp;${uiLabelMap.EcommerceChildShoppingList} - ${shoppingList.listName}</div>    </div>    <div class="screenlet-body">        <table width="100%" cellspacing="0" cellpadding="1" border="0">          <tr>             <td><div class="tabletext"><b>${uiLabelMap.EcommerceListName}</b></div></td>            <td align="right"><div class="tabletext"><b>${uiLabelMap.EcommerceTotalPrice}</b></div></td>            <td>&nbsp;</td>            <td>&nbsp;</td>          </tr>          <#list childShoppingListDatas as childShoppingListData>              <#assign childShoppingList = childShoppingListData.childShoppingList/>              <#assign totalPrice = childShoppingListData.totalPrice/>              <tr>                <td nowrap align="left">                  <a href="<@ofbizUrl>editShoppingList?shoppingListId=${childShoppingList.shoppingListId}</@ofbizUrl>" class="buttontext">${childShoppingList.listName?default(childShoppingList.shoppingListId)}</a>                </td>                                      <td nowrap align="right">                  <div class="tabletext"><@ofbizCurrency amount=totalPrice isoCode=currencyUomId/></div>                </td>                                      <td align="right">                  <a href="<@ofbizUrl>editShoppingList?shoppingListId=${childShoppingList.shoppingListId}</@ofbizUrl>" class="buttontext">[${uiLabelMap.EcommerceGoToList}]</a>                  <a href="<@ofbizUrl>addListToCart?shoppingListId=${childShoppingList.shoppingListId}</@ofbizUrl>" class="buttontext">[${uiLabelMap.EcommerceAddListToCart}]</a>                </td>                                    </tr>            </form>          </#list>          <tr><td colspan="6"><hr class="sepbar"/></td></tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -