{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content} {$xajax} {include file="google-maps.html"}

{$layout.pagetitle}

{box_container id="netnode"} {box_header icon="netnode" label="Name"} {/box_header} {box_contents} {box_panel} {if $divisions} {box_row icon="division" icon_class="fa-fw" label="Division"} {/box_row} {/if} {box_row icon="type" icon_class="fa-fw" label="Type"} {/box_row} {box_row icon="status" icon_class="fa-fw" label="Status"} {/box_row} {box_row icon="invproject" icon_class="fa-fw" label="Project"} {/box_row} {box_row icon="user" icon_class="fa-fw" label="Ownership"} {/box_row} {box_row id="ownername" icon="division" icon_class="fa-fw" label="Owner identifier"} {/box_row} {box_row id="customer" icon="customer" icon_class="fa-fw" label="Owner"} {if isset($nodenode.id)} {customerlist form="netnode-form" customers=$customers selected=$customer.id version=2 selectname="customer" inputname="netnode[ownerid]" select_id="ownerid_select" input_id="ownerid_input" customOnChange="customerChanged()"} {else} {customerlist form="netnode-form" customers=$customers selected=$netnode.ownerid version=2 selectname="customer" inputname="netnode[ownerid]" select_id="ownerid_select" input_id="ownerid_input" customOnChange="customerChanged()"} {/if} {/box_row} {box_row id="location_select" icon="home" icon_class="fa-fw" label="Location"} {if $netnode.ownerid && $netnode.address_id > 0} {$selected_address_id = $netnode.address_id} {else} {$selected_address_id = null} {/if} {include file="customer/customeraddresses.html" id="customer_addresses" name="netnode[customer_address_id]" trigger="address_id" selected_address_id=$selected_address_id} {/box_row} {box_row id="location_box" icon="home" icon_class="fa-fw" label="Location"} {location_box prefix = "netnode" address_id = "{$netnode.address_id}" location_name = "{$netnode.location_name}" location_state_name = "{$netnode.location_state_name}" location_state = "{$netnode.location_state}" location_city_name = "{$netnode.location_city_name}" location_city = "{$netnode.location_city}" location_postoffice = "{$netnode.location_postoffice}" location_street_name = "{$netnode.location_street_name}" location_street = "{$netnode.location_street}" location_house = "{$netnode.location_house}" location_flat = "{$netnode.location_flat}" location_zip = "{$netnode.location_zip}" location_country_id = "{$netnode.location_country}" teryt = "{$netnode.teryt}" } {/box_row} {/box_panel} {box_panel} {box_row} {icon name="network"} {trans("Determine GPS coordinates automatically")} {/box_row} {box_row icon="location" icon_class="fa-fw" label="GPS longitude"} {button type="link" icon="map" tip="Click to select gps coordinates from map" onclick="return gpscoordschoosewin(document.netnode.elements['netnode[longitude]'], document.netnode.elements['netnode[latitude]']);"} {/box_row} {box_row icon="location" icon_class="fa-fw" label="GPS latitude"} {button type="link" icon="map" tip="Click to select gps coordinates from map" onclick="return gpscoordschoosewin(document.netnode.elements['netnode[longitude]'], document.netnode.elements['netnode[latitude]']);"} {/box_row} {box_row icon="share" icon_class="fa-fw" label="Sharing surface"} {/box_row} {box_row icon="antenna" icon_class="fa-fw" label="Antennas installation"} {/box_row} {box_row icon="note" icon_class="fa-fw" label="Note"} {/box_row} {box_row icon="calendar" icon_class="fa-fw" label="Last inspection"} {/box_row} {box_row icon="phone" icon_class="fa-fw" label="Administrative contact"} {/box_row} {/box_panel} {/box_contents} {box_buttons} {button type="submit" icon="save" accesskey="s" label="Submit"} {button icon="cancel" onclick="location.href='?m=netnodeinfo&id={$netnode.id}';" label="Cancel"} {/box_buttons} {/box_container} {/block}