]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Campaigns/TrackDetailView.html
Release 6.2.0beta4
[Github/sugarcrm.git] / modules / Campaigns / TrackDetailView.html
1 <!--
2 /*********************************************************************************
3  * SugarCRM is a customer relationship management program developed by
4  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
5  * 
6  * This program is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Affero General Public License version 3 as published by the
8  * Free Software Foundation with the addition of the following permission added
9  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
12  * 
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
16  * details.
17  * 
18  * You should have received a copy of the GNU Affero General Public License along with
19  * this program; if not, see http://www.gnu.org/licenses or write to the Free
20  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA.
22  * 
23  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
25  * 
26  * The interactive user interfaces in modified source and object code versions
27  * of this program must display Appropriate Legal Notices, as required under
28  * Section 5 of the GNU Affero General Public License version 3.
29  * 
30  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31  * these Appropriate Legal Notices must retain the display of the "Powered by
32  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33  * technical reasons, the Appropriate Legal Notices must display the words
34  * "Powered by SugarCRM".
35  ********************************************************************************/
36
37 /*********************************************************************************
38
39  ********************************************************************************/
40 -->
41 <!-- BEGIN: main -->
42 <table width="100%" cellpadding="0" cellspacing="0" border="0">
43 <tr>
44 <td>
45 <form action="index.php" method="post" name="DetailView" id="form">
46                         <input type="hidden" name="module" value="CampaignLog">
47                         <input type="hidden" name="subpanel_parent_module" value="Campaigns">                   
48                         <input type="hidden" name="record" value="{ID}">
49                         <input type="hidden" name="isDuplicate" value=false>
50                         <input type="hidden" name="action">
51                         <input type="hidden" name="return_module">
52                         <input type="hidden" name="return_action">
53                         <input type="hidden" name="return_id" >
54                         <input type="hidden" name="campaign_id" value="{ID}">
55                         <input type="hidden" name="mode" value="">
56                         
57                         {TRACK_DELETE_BUTTON}
58         </td>
59                 <td align='right'></td>
60         <td align='right'>                  
61                 <input type="button" class="button" onclick="javascript:window.location='index.php?module=Campaigns&action=WizardHome&record={ID}';" value="{MOD.LBL_TO_WIZARD_TITLE}" />
62                 <input type="button" class="button" onclick="javascript:window.location='index.php?module=Campaigns&action=DetailView&record={ID}';" value="{MOD.LBL_TODETAIL_BUTTON_LABEL}" />
63                 <span style="{DISABLE_LINK}"><input type="button" class="button" onclick="javascript:window.location='index.php?module=Campaigns&action=RoiDetailView&record={ID}';" value="{MOD.LBL_TRACK_ROI_BUTTON_LABEL}" /></SPAN>{ADMIN_EDIT}
64         </td>
65
66         <td align='right'>{ADMIN_EDIT}</td>
67 </tr>
68 </table>
69 <div class="detail view">
70 <table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
71 <tr>
72 {PAGINATION}
73         <td width="20%" scope="row"><slot>{MOD.LBL_NAME}</slot></td>
74         <td width="30%"><slot>{NAME}</slot></td>
75         <td width="20%" scope="row"><slot>{MOD.LBL_ASSIGNED_TO}</slot></td>
76         <td width="30%"><slot>{ASSIGNED_TO}</slot></td>
77         </tr><tr>
78         <td width="20%" scope="row"><slot>{MOD.LBL_CAMPAIGN_STATUS}</slot></td>
79         <td width="30%"><slot>{STATUS}</slot></td>
80 <!-- BEGIN: pro -->
81         <td width="20%" scope="row"><slot>{MOD.LBL_TEAM}</slot></td>
82         <td width="30%"><slot>{TEAM_NAME}</slot></td>
83 <!-- END: pro -->
84 <!-- BEGIN: open_source -->
85         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
86         <td width="30%"><slot>&nbsp;</slot></td>
87 <!-- END: open_source -->
88         </tr><tr>
89         <td width="20%" scope="row"><slot>{MOD.LBL_CAMPAIGN_START_DATE}</slot></td>
90         <td width="30%"><slot>{START_DATE}</slot></td>
91         <td scope="row"><slot>{APP.LBL_DATE_MODIFIED}&nbsp;</slot></td>
92         <td><slot>{DATE_MODIFIED} {APP.LBL_BY} {MODIFIED_BY}</slot></td>
93         </tr><tr>
94         <td width="20%" scope="row"><slot>{MOD.LBL_CAMPAIGN_END_DATE}</slot></td>
95         <td width="30%"><slot>{END_DATE}</slot></td>
96         <td scope="row"><slot>{APP.LBL_DATE_ENTERED}&nbsp;</slot></td>
97         <td><slot>{DATE_ENTERED} {APP.LBL_BY} {CREATED_BY}</slot></td>
98         </tr><tr>
99         <td width="20%" scope="row"><slot>{MOD.LBL_CAMPAIGN_TYPE}</slot></td>
100         <td width="30%"><slot>{TYPE}</slot></td>
101         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
102         <td width="30%"><slot>&nbsp;</slot></td>
103         </tr><tr>
104         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
105         <td width="30%"><slot>&nbsp;</slot></td>
106         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
107         <td width="30%"><slot>&nbsp;</slot></td>
108         </tr><tr>
109         <td width="20%" nowrap scope="row"><slot>{MOD.LBL_CAMPAIGN_BUDGET} ({CURRENCY})</slot></td>
110         <td width="30%"><slot>{BUDGET}</slot></td>
111         <td width="20%" nowrap scope="row"><slot>{MOD.LBL_CAMPAIGN_ACTUAL_COST} ({CURRENCY})</slot></td>
112         <td width="30%"><slot>{ACTUAL_COST}</slot></td>
113         </tr><tr>
114         <td width="20%" nowrap scope="row"><slot>{MOD.LBL_CAMPAIGN_EXPECTED_REVENUE} ({CURRENCY})</slot></td>
115         <td width="30%" nowrap><slot>{EXPECTED_REVENUE}</slot></td>
116         <td width="20%" nowrap scope="row"><slot>{MOD.LBL_CAMPAIGN_EXPECTED_COST} ({CURRENCY})</slot></td>
117         <td width="30%"><slot>{EXPECTED_COST}</slot></td>
118         </tr><tr>
119         </tr><tr>
120         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
121         <td width="30%"><slot>&nbsp;</slot></td>
122         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
123         <td width="30%"><slot>&nbsp;</slot></td>
124         </tr>
125         <tr>
126         <td width="20%" valign="top" scope="row"><slot>{MOD.LBL_CAMPAIGN_OBJECTIVE}</slot></td>
127         <td colspan="3"><slot>{OBJECTIVE}</slot></td>
128 </tr><tr>
129         <td width="20%" valign="top" scope="row"><slot>{MOD.LBL_CAMPAIGN_CONTENT}</slot></td>
130         <td colspan="3"><slot>{CONTENT}</slot></td>
131 </tr>
132 </table>
133 </div>
134         <table border='0' width='100%'>
135                 <tr>
136                         <td width="10%">{FILTER_LABEL}</td>
137                         <td width="70%">{MKT_DROP_DOWN}</td>
138                         <td width="20%">&nbsp;</td>                     
139                 </tr>
140                 <tr>
141                         <td width="10%" >&nbsp;</td>                    
142                         <td><p align=center>{MY_CHART}</p></td>
143                         <td width="20%">&nbsp;</td>                                             
144                 </tr>
145         </table>
146 </form>
147 <script type="text/javascript" language="javascript">
148
149 function re_draw_chart(x){
150 alert(x.value);
151 }
152
153 var toggle = 0;
154         function show_more_info(tog){
155                 elem = document.getElementById('more_info');
156                 if (tog == 0){
157                         toggle=1;
158                         elem.style.display = '';
159                 }else{
160                         toggle=0;               
161                         elem.style.display = 'none';                    
162                 }
163         }
164
165 </script>
166
167 <!-- END: main -->
168
169 <!-- BEGIN: subpanel -->
170 <script type="text/javascript" src="modules/Campaigns/DetailView.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
171 <slot>{SUBPANEL}</slot>
172 <!-- END: subpanel -->