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

📄 viewprofile.ftl

📁 国外的一套开源CRM
💻 FTL
📖 第 1 页 / 共 2 页
字号:
            <td align="right" valign="top" nowrap width="1%">
              <div><a href='<@ofbizUrl>/editcontactmech?contactMechId=${contactMech.contactMechId}</@ofbizUrl>' class="buttontext">
              [${uiLabelMap.CommonUpdate}]</a>&nbsp;</div>
            </td>
            <td align="right" valign="top" width="1%">
              <div><a href='<@ofbizUrl>/deleteContactMech/viewprofile?contactMechId=${contactMech.contactMechId}</@ofbizUrl>' class="buttontext">
              [${uiLabelMap.CommonExpire}]</a>&nbsp;&nbsp;</div>
            </td>
          </tr>
      </#list>
    </table>
  <#else>
    <p>${uiLabelMap.PartyNoContactInformation}.</p><br>
  </#if>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
</TABLE>
<#-- ============================================================= -->
<br>
<TABLE border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
        <tr>
          <td valign="middle" align="left">
            <div class="boxhead">&nbsp;${uiLabelMap.AccountingPaymentMethodInformation}</div>
          </td>
          <td valign="middle" align="right">
            <a href="<@ofbizUrl>/editcreditcard</@ofbizUrl>" class="submenutext">${uiLabelMap.PartyCreateNewCreditCard}</a><a href="<@ofbizUrl>/editgiftcard</@ofbizUrl>" class="submenutext">${uiLabelMap.PartyCreateNewGiftCard}</a><a href="<@ofbizUrl>/editeftaccount</@ofbizUrl>" class="submenutextright">${uiLabelMap.PartyCreateNewEftAccount}</a>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
        <tr>
          <td>
              <table width="100%" border="0" cellpadding="1">
                <tr>
                  <td align="left">
                    <#if paymentMethodValueMaps?has_content>
                      <table width="100%" cellpadding="2" cellspacing="0" border="0">
                        <#list paymentMethodValueMaps as paymentMethodValueMap>
                            <#assign paymentMethod = paymentMethodValueMap.paymentMethod?if_exists>
                            <#assign creditCard = paymentMethodValueMap.creditCard?if_exists>
                            <#assign giftCard = paymentMethodValueMap.giftCard?if_exists>
                            <#assign eftAccount = paymentMethodValueMap.eftAccount?if_exists>
                            <tr>
                              <#if paymentMethod.paymentMethodTypeId?if_exists == "CREDIT_CARD">
                                  <td width="90%" valign="top">
                                    <div class="tabletext">
                                      <b>
                                        ${uiLabelMap.AccountingCreditCard}: ${creditCard.nameOnCard} - ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
                                      </b>
                                      (${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate.toString()})
                                      <#if paymentMethod.thruDate?exists><b>(${uiLabelMap.CommonDelete}:&nbsp;${paymentMethod.thruDate.toString()})</b></#if>
                                    </div>
                                  </td>
                                  <td width="5">&nbsp;</td>
                                  <td align="right" valign="top" width='1%' nowrap>
                                    <div><a href='<@ofbizUrl>/editcreditcard?paymentMethodId=${paymentMethod.paymentMethodId}</@ofbizUrl>' class="buttontext">
                                    [${uiLabelMap.CommonUpdate}]</a></div>
                                  </td>
                              <#elseif paymentMethod.paymentMethodTypeId?if_exists == "GIFT_CARD">
                                  <#if giftCard?has_content && giftCard.cardNumber?has_content>
                                    <#assign giftCardNumber = "">
                                    <#assign pcardNumber = giftCard.cardNumber>
                                    <#if pcardNumber?has_content>
                                      <#assign psize = pcardNumber?length - 4>
                                      <#if 0 < psize>
                                        <#list 0 .. psize-1 as foo>
                                          <#assign giftCardNumber = giftCardNumber + "*">
                                        </#list>
                                        <#assign giftCardNumber = giftCardNumber + pcardNumber[psize .. psize + 3]>
                                      <#else>
                                        <#assign giftCardNumber = pcardNumber>
                                      </#if>
                                    </#if>
                                  </#if>

                                  <td width="90%" valign="top">
                                    <div class="tabletext">
                                      <b>${uiLabelMap.AccountingGiftCard}: ${giftCardNumber}</b>
                                      (${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate.toString()})
                                      <#if paymentMethod.thruDate?exists><b>(${uiLabelMap.CommonDelete}:&nbsp;${paymentMethod.thruDate.toString()})</b></#if>
                                    </div>
                                  </td>
                                  <td width="5">&nbsp;</td>
                                  <td align="right" valign="top" width='1%' nowrap>
                                    <div><a href='<@ofbizUrl>/editgiftcard?paymentMethodId=${paymentMethod.paymentMethodId}</@ofbizUrl>' class="buttontext">
                                    [${uiLabelMap.CommonUpdate}]</a></div>
                                  </td>
                              <#elseif paymentMethod.paymentMethodTypeId?if_exists == "EFT_ACCOUNT">
                                  <td width="90%" valign="top">
                                    <div class="tabletext">
                                      <b>${uiLabelMap.AccountingEftAccount}: ${eftAccount.nameOnAccount?if_exists} - <#if eftAccount.bankName?has_content>Bank: ${eftAccount.bankName}</#if> <#if eftAccount.accountNumber?has_content>${uiLabelMap.AccountingAccount} #: ${eftAccount.accountNumber}</#if></b>
                                      (${uiLabelMap.CommonUpdated}:&nbsp;${paymentMethod.fromDate.toString()})
                                      <#if paymentMethod.thruDate?exists><b>(${uiLabelMap.CommonDelete}:&nbsp;${paymentMethod.thruDate.toString()})</b></#if>
                                    </div>
                                  </td>
                                  <td width="5">&nbsp;</td>
                                  <td align="right" valign="top" width='1%' nowrap>
                                    <div><a href='<@ofbizUrl>/editeftaccount?paymentMethodId=${paymentMethod.paymentMethodId}</@ofbizUrl>' class="buttontext">
                                    [${uiLabelMap.CommonUpdate}]</a></div>
                                  </td>
                              </#if>
                              <td align="right" valign="top" width='1%'>
                                <div><a href='<@ofbizUrl>/deletePaymentMethod/viewprofile?paymentMethodId=${paymentMethod.paymentMethodId}</@ofbizUrl>' class="buttontext">
                                [${uiLabelMap.CommonExpire}]</a></div>
                              </td>
                            </tr>
                        </#list>
                      </table>
                    <#else>
                      <div class='tabletext'>${uiLabelMap.AccountingNoPaymentMethodInformation}.</div>
                    </#if>
                  </td>
                </tr>
              </table>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
</TABLE>

<br>
<TABLE border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
        <tr>
          <td valign="middle" align="left">
            <div class="boxhead">&nbsp;${uiLabelMap.CommonUsername} & ${uiLabelMap.CommonPassword}</div>
          </td>
          <td valign="middle" align="right">
            <a href="<@ofbizUrl>/changepassword</@ofbizUrl>" class="submenutextright">${uiLabelMap.PartyChangePassword}</a>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
        <tr>
          <td>
            <table width="100%" border="0" cellpadding="1">
              <tr>
                <td align="right" valign="top" width="10%" nowrap><div class="tabletext"><b>${uiLabelMap.CommonUsername}</b></div></td>
                <td width="5">&nbsp;</td>
                <td align="left" valign="top" width="90%"><div class="tabletext">${userLogin.userLoginId}</div></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
</TABLE>

<#if surveys?has_content>
  <br>
  <TABLE border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
        <tr>
          <td valign="middle" align="left">
            <div class="boxhead">&nbsp;Surveys</div>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
        <tr>
          <td>
            <table width="100%" border="0" cellpadding="1">
              <#list surveys as surveyAppl>
                <#assign survey = surveyAppl.getRelatedOne("Survey")>
                <tr>
                  <td>&nbsp;</td>
                  <td align="left" valign="top" width="10%" nowrap><div class="tabletext"><b>${survey.surveyName?if_exists}</b>&nbsp;-&nbsp;${survey.description?if_exists}</div></td>
                  <td width="5">&nbsp;</td>
                  <td align="left" valign="top" width="80%">
                    <#assign responses = Static["org.ofbiz.product.store.ProductStoreWorker"].checkSurveyResponse(request, survey.surveyId)?default(0)>
                    <div class="tabletext"><#if (responses < 1)><font color="red"><b>Not Completed</b><#else>Completed - Thank-you!</if></div>
                  </td>
                  <#if (responses == 0 || survey.allowMultiple?default("N") == "Y")>
                    <#assign surveyLabel = "[Take Survey]">
                    <#if (responses > 0 && survey.allowUpdate?default("N") == "Y")>
                      <#assign surveyLabel = "[Update Survey]">
                    </#if>
                    <td align="right" width="10%" nowrap><a href="<@ofbizUrl>/takesurvey?productStoreSurveyId=${surveyAppl.productStoreSurveyId}</@ofbizUrl>" class="buttontext">${surveyLabel}</a></td>
                  <#else>
                    &nbsp;
                  </#if>
                </tr>
              </#list>
            </table>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
</TABLE>
</#if>


<#else>
    <div class='head3'>${uiLabelMap.PartyNoPartyForCurrentUserName}: ${userLogin.userLoginId}</div>
</#if>

⌨️ 快捷键说明

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