2 // created: 2010-03-12 15:05:37
19 'customCode' => '<input title="{$APP.LBL_DUP_MERGE}" accesskey="M" class="button" onclick="this.form.return_module.value=\'Opportunities\';this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Step1\'; this.form.module.value=\'MergeRecords\';" name="button" value="{$APP.LBL_DUP_MERGE}" type="submit">',
23 'customCode' => '<input title="Close Wizard" accesskey="Z" class="button" onclick="this.form.return_module.value=\'Opportunities\';this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'OpportunityWizard\'; this.form.module.value=\'Opportunities\';" name="button" value="Close Wizard" type="submit">',
51 'label' => 'LBL_OPPORTUNITY_NAME',
56 'label' => '{$MOD.LBL_AMOUNT} ({$CURRENCY})',
63 'name' => 'account_name',
64 'label' => 'LBL_ACCOUNT_NAME',
68 'name' => 'date_closed',
69 'label' => 'LBL_DATE_CLOSED',
83 'name' => 'discount_code_c',
84 'label' => 'LBL_DISCOUNT_CODE',
91 'name' => 'opportunity_type',
92 'label' => 'LBL_TYPE',
97 'label' => 'LBL_USERS_1',
104 'name' => 'email_client',
105 'label' => 'LBL_EMAIL_CLIENT',
109 'name' => 'additional_support_cases_c',
110 'label' => 'Additional_Support_Cases__c',
117 'name' => 'processed_by_moofcart_c',
118 'label' => 'LBL_PROCESSED_BY_MOOFCART',
122 'name' => 'additional_training_credits_c',
123 'label' => 'Learning_Credits__c',
130 'name' => 'trial_name_c',
131 'label' => 'Trial URL',
135 'name' => 'sales_stage',
136 'label' => 'LBL_SALES_STAGE',
143 'name' => 'trial_expiration_c',
144 'label' => 'Trial Expiration',
145 'customCode' => '{php} $myTimeDate = new TimeDate(); $this->assign("jmo_trialExpirationDB", $myTimeDate->to_db($this->_tpl_vars["fields"]["trial_expiration_c"]["value"])); unset($myTimeDate); {/php} {$fields.trial_expiration_c.value}{if $fields.trial_extended_c.value eq 0 && !empty($fields.trial_name_c.value) && strtotime("now") < $jmo_trialExpirationDB|date_format:"%s"} <button type="submit" onClick="document.location=\'/scripts/7daytrials/trials.php?opportunity_id={$fields.id.value}\';">Extend Trial</button>{/if}',
149 'name' => 'probability',
150 'label' => 'LBL_PROBABILITY',
157 'name' => 'campaign_name',
158 'label' => 'LBL_CAMPAIGN',
166 'name' => 'lead_source',
167 'label' => 'LBL_LEAD_SOURCE',
175 'name' => 'current_solution',
176 'label' => 'LBL_CURRENT_SOLUTION',
181 'label' => 'Term__c',
188 'name' => 'competitor_1',
189 'label' => 'LBL_COMPETITOR_1',
193 'name' => 'Revenue_Type_c',
194 'label' => 'Revenue_Type__c',
201 'name' => 'competitor_2',
202 'label' => 'LBL_COMPETITOR_2',
206 'name' => 'renewal_date_c',
207 'label' => 'Renewal_Date_c',
214 'name' => 'competitor_3',
215 'label' => 'LBL_COMPETITOR_3',
219 'name' => 'order_number',
220 'label' => 'LBL_ORDER_NUMBER',
221 'customCode' => '<a href="http://www.sugarcrm.com/sugarshop/admin/order.php?orderid={$fields.order_number.value}">{$fields.order_number.value}</a>',
228 'name' => 'competitor_expiration_c',
229 'label' => 'LBL_COMPETITOR_EXPIRATION',
233 'name' => 'order_type_c',
234 'label' => 'LBL_ORDER_TYPE_C',
242 'name' => 'next_step',
243 'label' => 'LBL_NEXT_STEP',
255 'name' => 'next_step_due_date',
256 'label' => 'LBL_NEXT_STEP_DUE_DATE',
263 'name' => 'demo_date_c',
264 'label' => 'Demo Date',
268 'name' => 'top20deal_c',
269 'label' => 'LBL_TOP20DEAL',
276 'name' => 'evaluation',
277 'label' => 'LBL_EVALUATION',
281 'name' => 'closed_lost_reason_c',
282 'label' => 'LBL_CLOSED_LOST_REASON_C',
289 'name' => 'evaluation_start_date',
290 'label' => 'LBL_EVALUATION_START_DATE',
294 'name' => 'closed_lost_reason_detail_c',
295 'label' => 'LBL_CLOSED_LOST_REASON_DETAIL',
302 'name' => 'Evaluation_Close_Date_c',
303 'label' => 'Evaluation_Close_Date__c',
307 'name' => 'primary_reason_competitor_c',
308 'label' => 'LBL_PRIMARY_REASON_COMPETITOR',
318 'name' => 'closed_lost_description',
319 'label' => 'LBL_CLOSED_LOST_DESCRIPTION',
326 'name' => 'partner_assigned_to_c',
327 'label' => 'Partner_Assigned_To_c',
328 'customCode' => '{assign var=partner_assigned_to_key value=$fields.partner_assigned_to_c.value}<a href="index.php?module=Accounts&action=DetailView&record={$partner_assigned_to_key}">{$APP_LIST_STRINGS.partner_assigned_to.$partner_assigned_to_key}</a>',
332 'name' => 'accepted_by_partner_c',
333 'label' => 'LBL_ACCEPTED_BY_PARTNER',
340 'name' => 'team_name',
341 'label' => 'LBL_TEAM',
345 'name' => 'partner_contact_c',
346 'label' => 'LBL_PARTNER_CONTACT',
353 'name' => 'assigned_user_name',
354 'label' => 'LBL_ASSIGNED_TO_NAME',
358 'name' => 'date_modified',
359 'label' => 'LBL_DATE_MODIFIED',
360 'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
367 'name' => 'associated_rep_c',
368 'label' => 'Associated_Rep_c',
372 'name' => 'date_entered',
373 'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
374 'label' => 'LBL_DATE_ENTERED',
381 'name' => 'description',
383 'label' => 'LBL_DESCRIPTION',