Edit C:\Windows\install\galaxie_p02_26-09\sales\interaction\realize_action.jsp
<%@page import="com.edeal.frontline.FlContext"%> <%@page import="com.edeal.frontline.navigation.FlRequest"%> <%@page import="com.edeal.frontline.DataDictionary"%> <%@page import="com.edeal.frontline.FieldNotInitializedException"%> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.InteractionBean" id="Interaction" scope="request" /> <% FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String id = null; try { id = Interaction.getID(); } catch (FieldNotInitializedException fnie) {} String categoryCode = null; try { categoryCode = dico.getRefCode("Acv", null, Interaction.getIntAtvID()); } catch (FieldNotInitializedException fnie) {} String taskDoneRefID = dico.getRefIdByCode("Sti", null, "DONE"); %> <script type="text/javascript"> <!-- function doDelete() { if (window.confirm('<fl:getMessage code="M2004" alt="Etes-vous sūr de vouloir supprimer?" js="true"/>') == true) { window.location = '<fl:link url="<%= \"/delete_interaction.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function updateEndDateWithNowDate (){ var finishTime = new Date(); finishTimeStr = ""; if (finishTime.getHours()<10) { finishTimeStr+="0"; } finishTimeStr+=finishTime.getHours()+":"; if (finishTime.getMinutes()<10) { finishTimeStr+="0"; } finishTimeStr+=finishTime.getMinutes(); $("[name='IntTimeEnd']").val(finishTimeStr); } //--> </script> <% if("CORROUT".equals(categoryCode)) { %> <%@include file="realize_letter_dialogbox.jsp" %> <% } %> <% if("OUTEMAIL".equals(categoryCode)) { %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:updateEndDateWithNowDate();$(document.forms[0].IntStiID).val('<%= taskDoneRefID %>');document.forms[0].action='<fl:link url="/send_email_interaction_custom.fl"/>';submit()"> <p class="actions_tabletext"><fl:getMessage code="L60CC" alt="Envoyer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <% } %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <% String action = "javascript:submit()"; if("CORROUT".equals(categoryCode)) { action = "javascript:updateEndDateWithNowDate();openMailProposal()"; } if("OUTPHONE".equals(categoryCode)) { action = "javascript:updateEndDateWithNowDate();submit();"; } %> <a href="<%= action %>"> <p class="actions_tabletext"><fl:getMessage code="A0003" alt="Enregistrer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% if (id!= null) { %> <% if (Boolean.valueOf(request.getParameter("saveoninit"))) { %> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doDelete()"> <p class="actions_tabletext"><fl:getMessage code="A0007" alt="Supprimer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% } %> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/read_interaction.fl?id=\" + id %>"/>"> <p class="actions_tabletext"><fl:getMessage code="A2002" alt="Annuler"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de