diff --git a/Layout/default/Address/Form.php b/Layout/default/Address/Form.php index 42157b8da..3405d689b 100644 --- a/Layout/default/Address/Form.php +++ b/Layout/default/Address/Form.php @@ -128,6 +128,8 @@ + + diff --git a/Layout/default/Network/Index.php b/Layout/default/Network/Index.php index 41fc90e54..70ce75732 100644 --- a/Layout/default/Network/Index.php +++ b/Layout/default/Network/Index.php @@ -70,55 +70,86 @@

Details zu name?>

- - - - - - - - - - - - - -
Namename?>
Besitzerowner->getCompanyOrName()?>
Interne Notiznote)?>
+
+
+ + + + + + + + + + + + + +
Namename?>
Besitzerowner->getCompanyOrName()?>
Interne Notiznote)?>
+
+

POPs in name?>

- pops) && count($network->pops)): ?> - - - - - - - - pops as $pop): ?> - - - - - - - -
NameGPS (Breite, Länge)Standortinfo
name?>gps_lat?>, gps_long?>location)?> - $pop->id])?>"> - $pop->id])?>" class="text-danger" title="Löschen"> -
- -

Keine POPs vorhanden

- -
+ pops) && count($network->pops)): ?> + + + + + + + + pops as $pop): ?> + + + + + + + +
NameGPS (Breite, Länge)Standortinfo
name?>gps_lat?>, gps_long?>location)?> + $pop->id])?>"> + $pop->id])?>" class="text-danger" title="Löschen"> +
+ +

Keine POPs vorhanden.

+ +
$network->id])?>"> Neuen POP anlegen

Berechtigungen

+
+
+ pops) && count($network->pops)): ?> + + + + + + + + pops as $pop): ?> + + + + + + + +
NameGPS (Breite, Länge)Standortinfo
name?>gps_lat?>, gps_long?>location)?> + $pop->id])?>"> + $pop->id])?>" class="text-danger" title="Löschen"> +
+ +

Keine berechtigten Firmen/Personen vorhanden.

+ +
+
diff --git a/Layout/default/Pop/Form.php b/Layout/default/Pop/Form.php index c328e37ab..dfd5971e7 100644 --- a/Layout/default/Pop/Form.php +++ b/Layout/default/Pop/Form.php @@ -56,14 +56,14 @@
- +
- +
diff --git a/application/Address/AddressModel.php b/application/Address/AddressModel.php index 4f3885848..0d49b44dc 100644 --- a/application/Address/AddressModel.php +++ b/application/Address/AddressModel.php @@ -109,6 +109,12 @@ class AddressModel { if(in_array("lineworker", $at)) { $in[] = "Addresstype.type = 'lineworker'"; } + if(in_array("pipeplanner", $at)) { + $in[] = "Addresstype.type = 'pipeplanner'"; + } + if(in_array("lineplanner", $at)) { + $in[] = "Addresstype.type = 'lineplanner'"; + } if(in_array("netoperator", $at)) { $in[] = "Addresstype.type = 'netoperator'"; } diff --git a/contrib/migrations/20210629-01-addresstype-planner-vlan.sql b/contrib/migrations/20210629-01-addresstype-planner-vlan.sql index 5c7f7b473..4b20895b1 100644 --- a/contrib/migrations/20210629-01-addresstype-planner-vlan.sql +++ b/contrib/migrations/20210629-01-addresstype-planner-vlan.sql @@ -1,4 +1,4 @@ -ALTER TABLE `Addresstype` CHANGE `type` `type` ENUM('systemowner','netowner','salespartner','pipeworker','lineworker','netoperator','planner','support','billing','employee','customer','supplier','contact'); +ALTER TABLE `Addresstype` CHANGE `type` `type` ENUM('systemowner','netowner','salespartner','pipeworker','lineworker','pipeplanner','lineplanner','netoperator','support','billing','employee','customer','supplier','contact') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL; ALTER TABLE `Pop` ADD `vlan_public` INT(4) NULL DEFAULT NULL AFTER `location`; ALTER TABLE `Pop` ADD `vlan_nat` INT(4) NULL DEFAULT NULL AFTER `vlan_public`; ALTER TABLE `Pop` ADD `vlan_ipv6` INT(4) NULL DEFAULT NULL AFTER `vlan_nat`; diff --git a/lang/de.php b/lang/de.php index bba6348ea..b689f0cf1 100644 --- a/lang/de.php +++ b/lang/de.php @@ -6,6 +6,8 @@ $l['netowner'] = "Netzeigentümer"; $l['salespartner'] = "Vertriebspartner"; $l['pipeworker'] = "Tiefbau"; $l['lineworker'] = "Leitungsbau"; +$l['pipeplanner'] = "Rohrplaner"; +$l['lineplanner'] = "Faserplaner"; $l['netoperator'] = "Netzbetreiber"; $l['planner'] = "Planer"; $l['support'] = "Support";