summaryrefslogtreecommitdiff
path: root/httemplate/search/quotation.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-01-18 14:03:07 -0800
committerIvan Kohler <ivan@freeside.biz>2015-01-18 14:03:07 -0800
commit85c78d955fbc2fd6c3991156b387d37c185b9f64 (patch)
tree682733a1bd4cd3e33434dac083569ca86e75d347 /httemplate/search/quotation.html
parent89f9957267f05520fc676c378694383d16eedeb1 (diff)
disable quotations, RT#20688, RT#22232
Diffstat (limited to 'httemplate/search/quotation.html')
-rwxr-xr-xhttemplate/search/quotation.html38
1 files changed, 20 insertions, 18 deletions
diff --git a/httemplate/search/quotation.html b/httemplate/search/quotation.html
index fbc35bea1..6badb13b7 100755
--- a/httemplate/search/quotation.html
+++ b/httemplate/search/quotation.html
@@ -1,20 +1,22 @@
<& elements/search.html,
- 'title' => emt('Quotation Search Results'),
- 'html_init' => $html_init,
- 'menubar' => $menubar,
- 'name' => 'quotations',
- 'query' => $sql_query,
- 'count_query' => $count_query,
- 'count_addl' => $count_addl,
- 'redirect' => $link,
- 'header' => [ emt('Quotation #'),
- emt('Setup'),
- emt('Recurring'),
- emt('Date'),
- emt('Prospect'),
- emt('Customer'),
- ],
- 'fields' => [
+ 'title' => emt('Quotation Search Results'),
+ 'html_init' => $html_init,
+ 'menubar' => $menubar,
+ 'name' => 'quotations',
+ 'query' => $sql_query,
+ 'count_query' => $count_query,
+ 'count_addl' => $count_addl,
+ 'redirect' => $link,
+ 'disableable' => 1,
+ 'disabled_statuspos' => 1,
+ 'header' => [ emt('Quotation #'),
+ emt('Setup'),
+ emt('Recurring'),
+ emt('Date'),
+ emt('Prospect'),
+ emt('Customer'),
+ ],
+ 'fields' => [
'quotationnum',
sub { $money_char. shift->total_setup },
sub { $money_char. shift->total_recur },
@@ -27,7 +29,7 @@
},
#\&FS::UI::Web::cust_fields,
],
- 'sort_fields' => [
+ 'sort_fields' => [
'quotationnum',
'', #FS::quotation->total_setup_sql,
'', #FS::quotation->total_recur_sql,
@@ -43,7 +45,7 @@
$link,
$prospect_link,
$cust_link,
- #( map { $_ ne 'Cust. Status' ? $clink : '' }
+ #( map { $_ ne 'Cust. Status' ? $cust_link : '' }
# FS::UI::Web::cust_header()
#),
],