2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2013 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 ********************************************************************************/
41 <script>SUGAR.loadChart = true;</script>
43 <table width="100%" cellpadding="0" cellspacing="0" border="0">
46 <form action="index.php" method="post" name="DetailView" id="form">
47 <input type="hidden" name="module" value="CampaignLog">
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 <input id="deleteTestEntriesButtonId" title="{$MOD.LBL_TRACK_DELETE_BUTTON_TITLE}" class="button" onclick="this.form.module.value='Campaigns'; this.form.action.value='Delete';this.form.return_module.value='Campaigns'; this.form.return_action.value='TrackDetailView';this.form.mode.value='Test';return confirm('{$MOD.LBL_TRACK_DELETE_CONFIRM}');" type="submit" name="button" value=" {$MOD.LBL_TRACK_DELETE_BUTTON_LABEL} ">
58 <td align='right'><span style="{$DISABLE_LINK}" >
59 <input type="button" class="button" id="launch_wizard_button" onclick="javascript:window.location='index.php?module=Campaigns&action=WizardHome&record={$ID}';" value="{$MOD.LBL_TO_WIZARD_TITLE}" />
60 <input type="button" class="button" id="view_status_button" onclick="javascript:window.location='index.php?module=Campaigns&action=TrackDetailView&record={$ID}';" value="{$MOD.LBL_TRACK_BUTTON_LABEL}" /></SPAN>{$ADMIN_EDIT}
61 <input type="button" class="button" id="view_details_button" onclick="javascript:window.location='index.php?module=Campaigns&action=DetailView&record={$ID}';" value="{$MOD.LBL_TODETAIL_BUTTON_LABEL}" />
64 <td align='right'>{$ADMIN_EDIT}</td>
68 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="detail view">
71 <td width="20%"><slot>{$MOD.LBL_NAME}</slot></td>
72 <td width="30%"><slot>{$NAME}</slot></td>
73 <td width="20%"><slot>{$MOD.LBL_ASSIGNED_TO}</slot></td>
74 <td width="30%"><slot>{$ASSIGNED_TO}</slot></td>
76 <td width="20%"><slot>{$MOD.LBL_CAMPAIGN_STATUS}</slot></td>
77 <td width="30%"><slot>{$STATUS}</slot></td>
78 <td width="20%"><slot> </slot></td>
79 <td width="30%"><slot> </slot></td>
81 <td width="20%"><slot>{$MOD.LBL_CAMPAIGN_START_DATE}</slot></td>
82 <td width="30%"><slot>{$START_DATE}</slot></td>
83 <td ><slot>{$APP.LBL_DATE_MODIFIED} </slot></td>
84 <td ><slot>{$DATE_MODIFIED} {$APP.LBL_BY} {$MODIFIED_BY}</slot></td>
86 <td width="20%"><slot>{$MOD.LBL_CAMPAIGN_END_DATE}</slot></td>
87 <td width="30%"><slot>{$END_DATE}</slot></td>
88 <td ><slot>{$APP.LBL_DATE_ENTERED} </slot></td>
89 <td ><slot>{$DATE_ENTERED} {$APP.LBL_BY} {$CREATED_BY}</slot></td>
91 <td width="20%"><slot>{$MOD.LBL_CAMPAIGN_TYPE}</slot></td>
92 <td width="30%"><slot>{$TYPE}</slot></td>
93 <td width="20%"><slot> </slot></td>
94 <td width="30%"><slot> </slot></td>
96 <td width="20%"><slot> </slot></td>
97 <td width="30%"><slot> </slot></td>
98 <td width="20%"><slot> </slot></td>
99 <td width="30%"><slot> </slot></td>
101 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_BUDGET} ({$CURRENCY})</slot></td>
102 <td width="30%"><slot>{$BUDGET}</slot></td>
103 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_IMPRESSIONS}</slot></td>
104 <td width="30%" nowrap><slot>{$IMPRESSIONS}</slot></td>
106 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_EXPECTED_COST} ({$CURRENCY})</slot></td>
107 <td width="30%"><slot>{$EXPECTED_COST}</slot></td>
108 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_OPPORTUNITIES_WON}</slot></td>
109 <td width="30%"><slot>{$OPPORTUNITIES_WON}</slot></td>
112 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_ACTUAL_COST} ({$CURRENCY})</slot></td>
113 <td width="30%"><slot>{$ACTUAL_COST}</slot></td>
114 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_COST_PER_IMPRESSION} ({$CURRENCY})</slot></td>
115 <td width="30%" nowrap><slot>{$COST_PER_IMPRESSION}</slot></td>
117 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_EXPECTED_REVENUE} ({$CURRENCY})</slot></td>
118 <td width="30%" nowrap><slot>{$EXPECTED_REVENUE}</slot></td>
119 <td width="20%" nowrap><slot>{$MOD.LBL_CAMPAIGN_COST_PER_CLICK_THROUGH} ({$CURRENCY})</slot></td>
120 <td width="30%"><slot>{$COST_PER_CLICK_THROUGH}</slot></td>
122 <td width="20%"><slot> </slot></td>
123 <td width="30%"><slot> </slot></td>
124 <td width="20%"><slot> </slot></td>
125 <td width="30%"><slot> </slot></td>
129 <td width="20%" valign="top" valign="top"><slot>{$MOD.LBL_CAMPAIGN_OBJECTIVE}</slot></td>
130 <td colspan="3"><slot>{$OBJECTIVE}</slot></td>
132 <td width="20%" valign="top" valign="top"><slot>{$MOD.LBL_CAMPAIGN_CONTENT}</slot></td>
133 <td colspan="3"><slot>{$CONTENT}</slot></td>
138 <div align=center class="reportChartContainer">{$MY_CHART_ROI}</div>