diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-03-23 11:21:35 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-03-23 11:21:35 -0700 |
| commit | 5719851af502c532bf6da05b46ca7210a7a3099d (patch) | |
| tree | 9c8b5192b6affafb9185e3f62b93762f4a1695db /httemplate/edit/process/REAL_cust_pkg.cgi | |
| parent | 366aebcc7afc387f52f83ac6da648bf150198891 (diff) | |
warn if adding a setup date too
Diffstat (limited to 'httemplate/edit/process/REAL_cust_pkg.cgi')
| -rwxr-xr-x | httemplate/edit/process/REAL_cust_pkg.cgi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/edit/process/REAL_cust_pkg.cgi b/httemplate/edit/process/REAL_cust_pkg.cgi index 9c36c8b77..3e0ef59c1 100755 --- a/httemplate/edit/process/REAL_cust_pkg.cgi +++ b/httemplate/edit/process/REAL_cust_pkg.cgi @@ -34,6 +34,10 @@ push @errors, '_setup_areyousure' if ! $hash{'setup'} && $old->setup # if the setup date was removed && ! $cgi->param('setup_areyousure'); # and it wasn't confirmed +push @errors, '_setupadd_areyousure' + if $hash{'setup'} && ! $old->setup # if the setup date was added + && ! $cgi->param('setupadd_areyousure'); # and it wasn't confirmed + push @errors, '_start' if $hash{'start_date'} && !$old->start_date # if a start date was added && $hash{'setup'}; # but there's a setup date |
