]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Campaigns/TrackDetailView.tpl
Release 6.4.0
[Github/sugarcrm.git] / modules / Campaigns / TrackDetailView.tpl
1 {*
2 /*********************************************************************************
3  * SugarCRM Community Edition 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 {$chartResources}
43 <script>SUGAR.loadChart = true;</script>
44
45 <table width="100%" cellpadding="0" cellspacing="0" border="0">
46 <tr>
47 <td>
48 <form action="index.php" method="post" name="DetailView" id="form">
49                         <input type="hidden" name="module" value="CampaignLog">
50                         <input type="hidden" name="subpanel_parent_module" value="Campaigns">                   
51                         <input type="hidden" name="record" value="{$ID}">
52                         <input type="hidden" name="isDuplicate" value=false>
53                         <input type="hidden" name="action">
54                         <input type="hidden" name="return_module">
55                         <input type="hidden" name="return_action">
56                         <input type="hidden" name="return_id" >
57                         <input type="hidden" name="campaign_id" value="{$ID}">
58                         <input type="hidden" name="mode" value="">
59                         
60                         {$TRACK_DELETE_BUTTON}
61         </td>
62                 <td align='right'></td>
63         <td align='right'>                  
64                 <input type="button" class="button" onclick="javascript:window.location='index.php?module=Campaigns&action=WizardHome&record={$ID}';" value="{$MOD.LBL_TO_WIZARD_TITLE}" />
65                 <input type="button" class="button" onclick="javascript:window.location='index.php?module=Campaigns&action=DetailView&record={$ID}';" value="{$MOD.LBL_TODETAIL_BUTTON_LABEL}" />
66                 <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}
67         </td>
68
69         <td align='right'>{$ADMIN_EDIT}</td>
70 </tr>
71 </table>
72 <div class="detail view">
73 <table width="100%" border="0" cellspacing="{$GRIDLINE}" cellpadding="0">
74 <tr>
75 {$PAGINATION}
76         <td width="20%" scope="row"><slot>{$MOD.LBL_NAME}</slot></td>
77         <td width="30%"><slot>{$NAME}</slot></td>
78         <td width="20%" scope="row"><slot>{$MOD.LBL_ASSIGNED_TO}</slot></td>
79         <td width="30%"><slot>{$ASSIGNED_TO}</slot></td>
80         </tr><tr>
81         <td width="20%" scope="row"><slot>{$MOD.LBL_CAMPAIGN_STATUS}</slot></td>
82         <td width="30%"><slot>{$STATUS}</slot></td>
83 <!-- BEGIN: pro -->
84         <td width="20%" scope="row"><slot>{$MOD.LBL_TEAM}</slot></td>
85         <td width="30%"><slot>{$TEAM_NAME}</slot></td>
86 <!-- END: pro -->
87 <!-- BEGIN: open_source -->
88         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
89         <td width="30%"><slot>&nbsp;</slot></td>
90 <!-- END: open_source -->
91         </tr><tr>
92         <td width="20%" scope="row"><slot>{$MOD.LBL_CAMPAIGN_START_DATE}</slot></td>
93         <td width="30%"><slot>{$START_DATE}</slot></td>
94         <td scope="row"><slot>{$APP.LBL_DATE_MODIFIED}&nbsp;</slot></td>
95         <td><slot>{$DATE_MODIFIED} {$APP.LBL_BY} {$MODIFIED_BY}</slot></td>
96         </tr><tr>
97         <td width="20%" scope="row"><slot>{$MOD.LBL_CAMPAIGN_END_DATE}</slot></td>
98         <td width="30%"><slot>{$END_DATE}</slot></td>
99         <td scope="row"><slot>{$APP.LBL_DATE_ENTERED}&nbsp;</slot></td>
100         <td><slot>{$DATE_ENTERED} {$APP.LBL_BY} {$CREATED_BY}</slot></td>
101         </tr><tr>
102         <td width="20%" scope="row"><slot>{$MOD.LBL_CAMPAIGN_TYPE}</slot></td>
103         <td width="30%"><slot>{$TYPE}</slot></td>
104         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
105         <td width="30%"><slot>&nbsp;</slot></td>
106         </tr><tr>
107         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
108         <td width="30%"><slot>&nbsp;</slot></td>
109         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
110         <td width="30%"><slot>&nbsp;</slot></td>
111         </tr><tr>
112         <td width="20%" nowrap scope="row"><slot>{$MOD.LBL_CAMPAIGN_BUDGET} ({$CURRENCY})</slot></td>
113         <td width="30%"><slot>{$BUDGET}</slot></td>
114         <td width="20%" nowrap scope="row"><slot>{$MOD.LBL_CAMPAIGN_ACTUAL_COST} ({$CURRENCY})</slot></td>
115         <td width="30%"><slot>{$ACTUAL_COST}</slot></td>
116         </tr><tr>
117         <td width="20%" nowrap scope="row"><slot>{$MOD.LBL_CAMPAIGN_EXPECTED_REVENUE} ({$CURRENCY})</slot></td>
118         <td width="30%" nowrap><slot>{$EXPECTED_REVENUE}</slot></td>
119         <td width="20%" nowrap scope="row"><slot>{$MOD.LBL_CAMPAIGN_EXPECTED_COST} ({$CURRENCY})</slot></td>
120         <td width="30%"><slot>{$EXPECTED_COST}</slot></td>
121         </tr><tr>
122         </tr><tr>
123         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
124         <td width="30%"><slot>&nbsp;</slot></td>
125         <td width="20%" scope="row"><slot>&nbsp;</slot></td>
126         <td width="30%"><slot>&nbsp;</slot></td>
127         </tr>
128         <tr>
129         <td width="20%" valign="top" scope="row"><slot>{$MOD.LBL_CAMPAIGN_OBJECTIVE}</slot></td>
130         <td colspan="3"><slot>{$OBJECTIVE}</slot></td>
131 </tr><tr>
132         <td width="20%" valign="top" scope="row"><slot>{$MOD.LBL_CAMPAIGN_CONTENT}</slot></td>
133         <td colspan="3"><slot>{$CONTENT}</slot></td>
134 </tr>
135 </table>
136 </div>
137         <table border='0' width='100%'>
138                 <tr>
139                         <td width="10%">{$FILTER_LABEL}</td>
140                         <td width="70%">{$MKT_DROP_DOWN}</td>
141                         <td width="20%">&nbsp;</td>                     
142                 </tr>
143                 <tr>
144                         <td colspan="3"><div class="reportChartContainer">{$MY_CHART}</div></td>                                
145                 </tr>
146         </table>
147 </form>
148 <script type="text/javascript" language="javascript">
149 {literal}
150 function re_draw_chart(x){
151 alert(x.value);
152 }
153
154 var toggle = 0;
155         function show_more_info(tog){
156                 elem = document.getElementById('more_info');
157                 if (tog == 0){
158                         toggle=1;
159                         elem.style.display = '';
160                 }else{
161                         toggle=0;               
162                         elem.style.display = 'none';                    
163                 }
164         }
165 {/literal}
166 </script>
167
168 <!-- END: main -->
169
170 <!-- BEGIN: subpanel -->
171 {sugar_getscript file="modules/Campaigns/DetailView.js"}
172 <slot>{$SUBPANEL}</slot>