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-28 11:50:25 -0400
commit5ead832579f92d08a6ed31b967925a980f99c249 (patch)
treed3c8f53c93413590cedfe659f41600f35c75a9b2 /httemplate/edit/deploy_zone-mobile.html
parent23c80f76dae49785318a5dac440558977a05c17c (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',