2 /*********************************************************************************
3 * SugarCRM is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
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.
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
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
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.
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.
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 ********************************************************************************/
37 /*********************************************************************************
39 ********************************************************************************/
42 <table width="100%" cellpadding="0" cellspacing="0" border="0">
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="">
59 <td align='right'></td>
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}
66 <td align='right'>{ADMIN_EDIT}</td>
69 <div class="detail view">
70 <table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
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>
78 <td width="20%" scope="row"><slot>{MOD.LBL_CAMPAIGN_STATUS}</slot></td>
79 <td width="30%"><slot>{STATUS}</slot></td>
81 <td width="20%" scope="row"><slot>{MOD.LBL_TEAM}</slot></td>
82 <td width="30%"><slot>{TEAM_NAME}</slot></td>
84 <!-- BEGIN: open_source -->
85 <td width="20%" scope="row"><slot> </slot></td>
86 <td width="30%"><slot> </slot></td>
87 <!-- END: open_source -->
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} </slot></td>
92 <td><slot>{DATE_MODIFIED} {APP.LBL_BY} {MODIFIED_BY}</slot></td>
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} </slot></td>
97 <td><slot>{DATE_ENTERED} {APP.LBL_BY} {CREATED_BY}</slot></td>
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> </slot></td>
102 <td width="30%"><slot> </slot></td>
104 <td width="20%" scope="row"><slot> </slot></td>
105 <td width="30%"><slot> </slot></td>
106 <td width="20%" scope="row"><slot> </slot></td>
107 <td width="30%"><slot> </slot></td>
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>
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>
120 <td width="20%" scope="row"><slot> </slot></td>
121 <td width="30%"><slot> </slot></td>
122 <td width="20%" scope="row"><slot> </slot></td>
123 <td width="30%"><slot> </slot></td>
126 <td width="20%" valign="top" scope="row"><slot>{MOD.LBL_CAMPAIGN_OBJECTIVE}</slot></td>
127 <td colspan="3"><slot>{OBJECTIVE}</slot></td>
129 <td width="20%" valign="top" scope="row"><slot>{MOD.LBL_CAMPAIGN_CONTENT}</slot></td>
130 <td colspan="3"><slot>{CONTENT}</slot></td>
134 <table border='0' width='100%'>
136 <td width="10%">{FILTER_LABEL}</td>
137 <td width="70%">{MKT_DROP_DOWN}</td>
138 <td width="20%"> </td>
141 <td width="10%" > </td>
142 <td><p align=center>{MY_CHART}</p></td>
143 <td width="20%"> </td>
147 <script type="text/javascript" language="javascript">
149 function re_draw_chart(x){
154 function show_more_info(tog){
155 elem = document.getElementById('more_info');
158 elem.style.display = '';
161 elem.style.display = 'none';
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 -->