summaryrefslogtreecommitdiff
path: root/httemplate/edit/quotation.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-09-16 23:41:40 -0700
committerIvan Kohler <ivan@freeside.biz>2014-09-16 23:41:40 -0700
commitee17093f5b41c1544d00a2670d26794aee33077a (patch)
tree6d11ca503666b991dd4b8987e301826c3fe9291f /httemplate/edit/quotation.html
parentf58e37b603c27dd0b2d2232e8cb0392088409437 (diff)
customer quotations are work orders? RT#25561
Diffstat (limited to 'httemplate/edit/quotation.html')
-rw-r--r--httemplate/edit/quotation.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/httemplate/edit/quotation.html b/httemplate/edit/quotation.html
index 8b6062355..cc95d8781 100644
--- a/httemplate/edit/quotation.html
+++ b/httemplate/edit/quotation.html
@@ -1,19 +1,20 @@
<% include( 'elements/edit.html',
- 'name' => 'Quotation',
- 'table' => 'quotation',
- 'labels' => {
- 'quotationnum' => 'Quotation number',
- 'prospectnum' => 'Prospect',
- 'custnum' => 'Customer',
- '_date' => 'Date',
- 'disabled' => 'Disabled',
- },
- 'fields' => [
+ 'name' => 'Quotation',
+ 'table' => 'quotation',
+ 'menubar' => [],
+ 'labels' => {
+ 'quotationnum' => 'Quotation number',
+ 'prospectnum' => 'Prospect',
+ 'custnum' => 'Customer',
+ '_date' => 'Date',
+ 'disabled' => 'Disabled',
+ },
+ 'fields' => [
{ field=>'prospectnum', type=>'fixed-prospect_main' },
{ field=>'custnum', type=>'fixed-cust_main' },
{ field=>'_date', type=>'fixed-date' },
{ field=>'disabled', type=>'checkbox', value=>'Y'},
- ],
+ ],
#XXX some way to disable the "view all"
'new_callback' => sub { my( $cgi, $quotation) = @_;
$quotation->$_( $cgi->param($_) )