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

📄 editcommunication.ftl

📁 国外的一套开源CRM
💻 FTL
📖 第 1 页 / 共 2 页
字号:
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.PartyEventType}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <select class="selectBox" name="communicationEventTypeId">
          <#if communicationEvent?has_content && communicationEvent.communicationEventTypeId?exists>
            <#assign eventType = communicationEvent.getRelatedOne("CommunicationEventType")>
            <option value="${eventType.communicationEventTypeId}">${eventType.description}</option>
            <option value="${eventType.communicationEventTypeId}">----</option>
          </#if>
          <#list eventTypes as type>
            <option value="${type.communicationEventTypeId}">${type.description}</option>
          </#list>
        </select>
        <#else>
          <#if communicationEvent?has_content && communicationEvent.communicationEventTypeId?exists>
            <#assign eventType = communicationEvent.getRelatedOne("CommunicationEventType")>
            <div class="tabletext">${eventType.description}</div>
          </#if>
        </#if>
      </td>
    </tr>
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.PartyStatus}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <select class="selectBox" name="statusId">
          <#if communicationEvent?has_content && communicationEvent.statusId?exists>
            <#assign statusItem = communicationEvent.getRelatedOne("StatusItem")>
            <option value="${statusItem.statusId}">${statusItem.description}</option>
            <option value="${statusItem.statusId}">----</option>
          </#if>
          <#list statuses as status>
            <option value="${status.statusId}">${status.description}</option>
          </#list>
        </select>
        <#else>
          <#if communicationEvent?has_content && communicationEvent.communicationEventTypeId?exists>
            <#assign statusItem = communicationEvent.getRelatedOne("StatusItem")>
            <div class="tabletext">${statusItem.description}</div>
          </#if>
        </#if>
      </td>
    </tr>
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.PartyContactType}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <select class="selectBox" name="contactMechTypeId">
          <#if communicationEvent?has_content && communicationEvent.contactMechTypeId?exists>
            <#assign contactMechType = communicationEvent.getRelatedOne("ContactMechType")>
            <option value="${contactMechType.contactMechTypeId}">${contactMechType.description}</option>
            <option value="${contactMechType.contactMechTypeId}">----</option>
          </#if>
          <#list contactMechTypes as contactMechType>
            <option value="${contactMechType.contactMechTypeId}">${contactMechType.description}</option>
          </#list>
        </select>
        <#else>
          <#if communicationEvent?has_content && communicationEvent.communicationEventTypeId?exists>
            <#assign contactMechType = communicationEvent.getRelatedOne("ContactMechType")>
            <div class="tabletext">${contactMechType.description}</div>
          </#if>
        </#if>
      </td>
    </tr>
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.PartyRoleTypeFrom}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <select class="selectBox" name="roleTypeIdFrom">
          <#if communicationEvent?has_content && communicationEvent.roleTypeIdFrom?exists>
            <#assign roleType = communicationEvent.getRelatedOne("FromRoleType")>
            <option value="${roleType.roleTypeId}">${roleType.description}</option>
            <option value="${roleType.roleTypeId}">----</option>
          </#if>
          <option></option>
          <#list roleTypes as roleType>        
            <option value="${roleType.roleTypeId}">${roleType.description}</option>
          </#list>
        </select>
        <#else>
          <#if communicationEvent?has_content && communicationEvent.communicationEventTypeId?exists>
            <#assign roleType = (communicationEvent.getRelatedOne("FromRoleType"))?if_exists>
            <div class="tabletext">${(roleType.description)?default(uiLabelMap.CommonNone)}</div>
          </#if>
        </#if>
      </td>
    </tr>
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.PartyRoleTypeTo}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <select class="selectBox" name="roleTypeIdTo">
          <#if communicationEvent?has_content && communicationEvent.roleTypeIdTo?exists>
            <#assign roleType = communicationEvent.getRelatedOne("ToRoleType")>
            <option value="${roleType.roleTypeId}">${roleType.description}</option>
            <option value="${roleType.roleTypeId}">----</option>
          </#if>
          <option></option>
          <#list roleTypes as roleType>
            <option value="${roleType.roleTypeId}">${roleType.description}</option>
          </#list>
        </select>
        <#else>
          <#if communicationEvent?has_content && communicationEvent.communicationEventTypeId?exists>
            <#assign roleType = (communicationEvent.getRelatedOne("ToRoleType"))?if_exists>
            <div class="tabletext">${(roleType.description)?default(uiLabelMap.CommonNone)}</div>
          </#if>
        </#if>
      </td>
    </tr>
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.PartyCustomerRequest} #</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <input type="text" class="inputBox" size="20" name="custRequestId" value="${(communicationEvent.custRequestId)?if_exists}">
        <#else>
        <div class="tabletext">${(communicationEvent.custRequestId)?if_exists}</div>
        </#if>
      </td>
    </tr>
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.CommonStartDate}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <input type="text" class="inputBox" size="25" name="datetimeStarted" value="${(communicationEvent.datetimeStarted)?if_exists}">
        <a href="javascript:call_cal(document.addevent.datetimeStarted, null);"><img src='/images/cal.gif' width='16' height='16' border='0' alt='Calendar'></a>
        <#else>
        <span class="tabletext">${(communicationEvent.datetimeStarted)?if_exists}</span>
        </#if>
      </td>
    </tr> 
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.CommonFinishDate}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <input type="text" class="inputBox" size="25" name="datetimeEnded" value="${(communicationEvent.datetimeEnded)?if_exists}">
        <a href="javascript:call_cal(document.addevent.datetimeEnded, null);"><img src='/images/cal.gif' width='16' height='16' border='0' alt='Calendar'></a>
        <#else>
        <span class="tabletext">${(communicationEvent.datetimeEnded)?if_exists}</span>
        </#if>
      </td>
    </tr>
    <tr>
      <td width="20%" align="right"><span class="tableheadtext">${uiLabelMap.CommonNote}</span></td>
      <td width="1">&nbsp;</td>
      <td>
        <#if okayToUpdate>
        <textarea class="textAreaBox" cols="60" rows="5" name="note">${(communicationEvent.note)?if_exists}</textarea>
        <#else>
        <div class="tabletext">${(communicationEvent.note)?if_exists}</div>
        </#if>
      </td>
    </tr>
    <#if okayToUpdate>
    <tr>
      <td colspan="2">&nbsp;</td>
      <td><input type="submit" class="smallSubmit" value="${buttonText}"></td>
    </tr>
    </#if>
  </form>
</table>


<#else>
  <h3>${uiLabelMap.PartyMgrViewPermissionError}</h3>
</#if>

⌨️ 快捷键说明

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