RT# 74665 - set a default close date if global config quotation_disable_after_days...
authorChristopher Burger <burgerc@freeside.biz>
Thu, 6 Apr 2017 13:09:57 +0000 (09:09 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Thu, 13 Jul 2017 12:42:50 +0000 (08:42 -0400)
Conflicts:
httemplate/edit/quotation.html

httemplate/edit/quotation.html

index ab1d524..25966e4 100644 (file)
@@ -18,7 +18,7 @@
                    { field=>'custnum',               type=>'fixed-cust_main' },
                    { field=>'_date',                 type=>'fixed-date' },
                    { field=>'quotation_description', type=>'text', size=>50 },
-                   { field=>'close_date',            type=>'input-date-field' },
+                   { field=>'close_date',            type=>'input-date-field', value=>'30' },
                    { field=>'confidence',            type=>'text', size=>3, postfix=>'%' },
                    ($can_disable ? { field=>'disabled', type=>'checkbox', value=>'Y'} : ()),
                               ],
@@ -44,4 +44,4 @@ my $conf = new FS::Conf;
 
 my $default_close_days ||= $conf->config('quotation_disable_after_days');
 
-</%init>
+</%init>
\ No newline at end of file