From 7ca292b76e8bdcda3b55ac6f5575f78ff5060a4d Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Thu, 6 Apr 2017 09:09:57 -0400 Subject: [PATCH] RT# 74665 - set a default close date if global config quotation_disable_after_days is set Conflicts: httemplate/edit/quotation.html --- httemplate/edit/quotation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/edit/quotation.html b/httemplate/edit/quotation.html index ab1d5242b..25966e4a9 100644 --- a/httemplate/edit/quotation.html +++ b/httemplate/edit/quotation.html @@ -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'); - + \ No newline at end of file -- 2.20.1