X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquotation.html;h=3cedef80ba1b9a07b389cc97cd3242ce611a8f84;hb=110e4ab13ff3b0d7df2265a68e92170c59d76e61;hp=437284094edc5d384dcd0a4ed7dba0057110c9ce;hpb=8b70832328eb02dc9253dab7b436c6479b588162;p=freeside.git diff --git a/httemplate/edit/quotation.html b/httemplate/edit/quotation.html index 437284094..3cedef80b 100644 --- a/httemplate/edit/quotation.html +++ b/httemplate/edit/quotation.html @@ -2,22 +2,25 @@ 'name' => 'Quotation', 'table' => 'quotation', 'menubar' => [], + 'html_table_class' => 'fsinnerbox', #default? 'labels' => { - 'quotationnum' => 'Quotation number', - 'prospectnum' => 'Prospect', - 'custnum' => 'Customer', - '_date' => 'Date', - 'close_date' => 'Close Date', - 'confidence' => 'Confidence', + 'quotationnum' => 'Quotation number', + 'prospectnum' => 'Prospect', + 'custnum' => 'Customer', + '_date' => 'Date', + 'close_date' => 'Close Date', + 'confidence' => 'Confidence', + 'quotation_description' => 'Description', ($can_disable ? ('disabled' => 'Disabled') : ()), }, 'fields' => [ - { field=>'prospectnum', type=>'fixed-prospect_main' }, - { field=>'custnum', type=>'fixed-cust_main' }, - { field=>'_date', type=>'fixed-date' }, - { field=>'close_date', type=>'input-date-field' }, - { field=>'confidence', type=>'text', size=>6 }, - ($can_disable ? { field=>'disabled', type=>'checkbox', value=>'Y'} : ()), + { field=>'prospectnum', type=>'fixed-prospect_main' }, + { field=>'custnum', type=>'fixed-cust_main' }, + { field=>'_date', type=>'fixed-date' }, + { field=>'close_date', type=>'input-date-field' }, + { field=>'confidence', type=>'text', size=>3, postfix=>'%' }, + { field=>'quotation_description', type=>'text', size=>50 }, + ($can_disable ? { field=>'disabled', type=>'checkbox', value=>'Y'} : ()), ], #XXX some way to disable the "view all" 'new_callback' => sub { my( $cgi, $quotation) = @_;