2 /*********************************************************************************
3 * SugarCRM Community Edition 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 ********************************************************************************/
45 <table width="100%" cellpadding="0" cellspacing="0" border="0">
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="">
60 {$TRACK_DELETE_BUTTON}
62 <td align='right'></td>
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}
69 <td align='right'>{$ADMIN_EDIT}</td>
72 <div class="detail view">
73 <table width="100%" border="0" cellspacing="{$GRIDLINE}" cellpadding="0">
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>
81 <td width="20%" scope="row"><slot>{$MOD.LBL_CAMPAIGN_STATUS}</slot></td>
82 <td width="30%"><slot>{$STATUS}</slot></td>
84 <td width="20%" scope="row"><slot>{$MOD.LBL_TEAM}</slot></td>
85 <td width="30%"><slot>{$TEAM_NAME}</slot></td>
87 <!-- BEGIN: open_source -->
88 <td width="20%" scope="row"><slot> </slot></td>
89 <td width="30%"><slot> </slot></td>
90 <!-- END: open_source -->
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} </slot></td>
95 <td><slot>{$DATE_MODIFIED} {$APP.LBL_BY} {$MODIFIED_BY}</slot></td>
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} </slot></td>
100 <td><slot>{$DATE_ENTERED} {$APP.LBL_BY} {$CREATED_BY}</slot></td>
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> </slot></td>
105 <td width="30%"><slot> </slot></td>
107 <td width="20%" scope="row"><slot> </slot></td>
108 <td width="30%"><slot> </slot></td>
109 <td width="20%" scope="row"><slot> </slot></td>
110 <td width="30%"><slot> </slot></td>
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>
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>
123 <td width="20%" scope="row"><slot> </slot></td>
124 <td width="30%"><slot> </slot></td>
125 <td width="20%" scope="row"><slot> </slot></td>
126 <td width="30%"><slot> </slot></td>
129 <td width="20%" valign="top" scope="row"><slot>{$MOD.LBL_CAMPAIGN_OBJECTIVE}</slot></td>
130 <td colspan="3"><slot>{$OBJECTIVE}</slot></td>
132 <td width="20%" valign="top" scope="row"><slot>{$MOD.LBL_CAMPAIGN_CONTENT}</slot></td>
133 <td colspan="3"><slot>{$CONTENT}</slot></td>
137 <table border='0' width='100%'>
139 <td width="10%">{$FILTER_LABEL}</td>
140 <td width="70%">{$MKT_DROP_DOWN}</td>
141 <td width="20%"> </td>
144 <td colspan="3"><div class="reportChartContainer">{$MY_CHART}</div></td>
148 <script type="text/javascript" language="javascript">
150 function re_draw_chart(x){
155 function show_more_info(tog){
156 elem = document.getElementById('more_info');
159 elem.style.display = '';
162 elem.style.display = 'none';
170 <!-- BEGIN: subpanel -->
171 <script type="text/javascript" src="modules/Campaigns/DetailView.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
172 <slot>{$SUBPANEL}</slot>
173 <!-- END: subpanel -->