projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add option for exports to avoid suspending services, #20739
[freeside.git]
/
httemplate
/
edit
/
deploy_zone-mobile.html
diff --git
a/httemplate/edit/deploy_zone-mobile.html
b/httemplate/edit/deploy_zone-mobile.html
index
8e985b1
..
8cec298
100644
(file)
--- a/
httemplate/edit/deploy_zone-mobile.html
+++ b/
httemplate/edit/deploy_zone-mobile.html
@@
-2,6
+2,7
@@
'name_singular' => 'deployment zone',
'table' => 'deploy_zone',
'post_url' => popurl(1).'process/deploy_zone-mobile.html',
'name_singular' => 'deployment zone',
'table' => 'deploy_zone',
'post_url' => popurl(1).'process/deploy_zone-mobile.html',
+ 'viewall_dir' => 'browse',
'labels' => {
'description' => 'Description',
'agentnum' => 'Agent',
'labels' => {
'description' => 'Description',
'agentnum' => 'Agent',
@@
-48,14
+49,21
@@
'adv_speed_down',
'adv_speed_up',
{ type => 'tablebreak-tr-title', value => 'Footprint'},
'adv_speed_down',
'adv_speed_up',
{ type => 'tablebreak-tr-title', value => 'Footprint'},
- { field
=> 'vertexnum
',
- type
=> 'deploy_zone_vertex
',
- o2m_table => 'deploy_zone_vertex',
- m2_label => ' ',
- m2_error_callback => $m2_error_callback,
- },
- ],
+ { field
=> 'vertices
',
+ type
=> 'polygon
',
+ curr_value_callback => sub {
+ my ($cgi, $object) = @_;
+ $cgi->param('vertices') || $object->vertices_json;
+
},
+ }
+# { field => 'vertexnum',
+# type => 'deploy_zone_vertex',
+# o2m_table => 'deploy_zone_vertex',
+# m2_label => ' ',
+# m2_error_callback => $m2_error_callback,
+# },
+ ],
&>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
&>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;