summaryrefslogtreecommitdiff
path: root/httemplate/edit/deploy_zone-mobile.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-08-28 11:50:25 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-08-29 08:52:58 -0400
commitd2bcbc27dcf98be7d183aa8e71b029a647e6200c (patch)
treed53f940c9f13ddf8de25028a5e4c3577a733e15e /httemplate/edit/deploy_zone-mobile.html
parent854285c1b4abfab0dc9f781026713dc05521d5e1 (diff)
RT# 77200 - Changed fixed active date to a user input date
Diffstat (limited to 'httemplate/edit/deploy_zone-mobile.html')
-rw-r--r--httemplate/edit/deploy_zone-mobile.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/edit/deploy_zone-mobile.html b/httemplate/edit/deploy_zone-mobile.html
index 8cec298bf..e7f534cb8 100644
--- a/httemplate/edit/deploy_zone-mobile.html
+++ b/httemplate/edit/deploy_zone-mobile.html
@@ -23,8 +23,11 @@
},
'description',
{ field => 'active_date',
- type => 'fixed-date',
- value => time,
+ type => 'input-date-field',
+ curr_value_callback => sub {
+ my ($cgi, $object) = @_;
+ $cgi->param('active_date') || $object->active_date || time;
+ },
},
{ field => 'agentnum',
type => 'select-agent',