10 'closeFormBeforeCustomButtons' => true,
13 0 => '{$MOD.PDF_FORMAT} <select name="layout" id="layout">{$LAYOUT_OPTIONS}</select></form>',
22 'customCode' => '<form action="index.php" method="POST" name="Quote2Opp" id="form"><input type="hidden" name="module" value="Quotes"><input type="hidden" name="record" value="{$fields.id.value}"><input type="hidden" name="user_id" value="{$current_user->id}"><input type="hidden" name="team_id" value="{$fields.team_id.value}"><input type="hidden" name="user_name" value="{$current_user->user_name}"><input type="hidden" name="action" value="QuoteToOpportunity"><input type="hidden" name="opportunity_subject" value="{$fields.name.value}"><input type="hidden" name="opportunity_name" value="{$fields.name.value}"><input type="hidden" name="opportunity_id" value="{$fields.billing_account_id.value}"><input type="hidden" name="amount" value="{$fields.total.value}"><input type="hidden" name="valid_until" value="{$fields.date_quote_expected_closed.value}"><input type="hidden" name="currency_id" value="{$fields.currency_id.value}"><input title="{$APP.LBL_QUOTE_TO_OPPORTUNITY_TITLE}" accessKey="{$APP.LBL_QUOTE_TO_OPPORTUNITY_KEY}" class="button" type="submit" name="opp_to_quote_button" value="{$APP.LBL_QUOTE_TO_OPPORTUNITY_LABEL}"></form>',
26 'customCode' => '<form action="index.php" method="{$PDFMETHOD}" name="ViewPDF" id="form"><input type="hidden" name="module" value="Quotes"><input type="hidden" name="record" value="{$fields.id.value}"><input type="hidden" name="action" value="Layouts"><input type="hidden" name="entryPoint" value="pdf"><input type="hidden" name="email_action"><input title="{$APP.LBL_EMAIL_PDF_BUTTON_TITLE}" accessKey="{$APP.LBL_EMAIL_PDF_BUTTON_KEY}" class="button" type="submit" name="button" value="{$APP.LBL_EMAIL_PDF_BUTTON_LABEL}" onclick="this.form.email_action.value=\'EmailLayout\';"> <input title="{$APP.LBL_VIEW_PDF_BUTTON_TITLE}" accessKey="{$APP.LBL_VIEW_PDF_BUTTON_KEY}" class="button" type="submit" name="button" value="{$APP.LBL_VIEW_PDF_BUTTON_LABEL}">',
29 'footerTpl' => 'modules/Quotes/tpls/DetailViewFooter.tpl',
55 'label' => 'LBL_QUOTE_NAME',
59 'name' => 'opportunity_name',
60 'label' => 'LBL_OPPORTUNITY_NAME',
67 'name' => 'quote_num',
68 'label' => 'LBL_QUOTE_NUM',
72 'name' => 'quote_stage',
73 'label' => 'LBL_QUOTE_STAGE',
80 'name' => 'purchase_order_num',
81 'label' => 'LBL_PURCHASE_ORDER_NUM',
85 'name' => 'date_quote_expected_closed',
86 'label' => 'LBL_DATE_QUOTE_EXPECTED_CLOSED',
93 'name' => 'payment_terms',
94 'label' => 'LBL_PAYMENT_TERMS',
98 'name' => 'original_po_date',
99 'label' => 'LBL_ORIGINAL_PO_DATE',
106 'name' => 'team_name',
107 'label' => 'LBL_TEAM',
111 'name' => 'date_entered',
112 'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
113 'label' => 'LBL_DATE_ENTERED',
120 'name' => 'assigned_user_name',
121 'label' => 'LBL_ASSIGNED_TO_NAME',
125 'name' => 'date_modified',
126 'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
127 'label' => 'LBL_DATE_MODIFIED',
134 'name' => 'billing_account_name',
135 'label' => 'LBL_BILLING_ACCOUNT_NAME',
139 'name' => 'shipping_account_name',
140 'label' => 'LBL_SHIPPING_ACCOUNT_NAME',
147 'name' => 'billing_contact_name',
148 'label' => 'LBL_BILLING_CONTACT_NAME',
152 'name' => 'shipping_contact_name',
153 'label' => 'LBL_SHIPPING_CONTACT_NAME',
160 'name' => 'billing_address_street',
161 'label' => 'LBL_BILL_TO',
170 'name' => 'shipping_address_street',
171 'label' => 'LBL_SHIP_TO',
183 'name' => 'description',
184 'label' => 'LBL_DESCRIPTION',
188 'name' => 'contacts_quotes_name',
189 'label' => 'LBL_CONTACTS_QUOTES_FROM_CONTACTS_TITLE',
196 'name' => 'contacts_quotes_1_name',
197 'label' => 'LBL_CONTACTS_QUOTES_1_FROM_CONTACTS_TITLE',
201 'name' => 'contacts_quotes_2_name',