OLT ONT Implementation Devices
Snmp Version

Devicetypes:
Olt Flag
This commit is contained in:
Spitzer_Daniel
2023-07-04 18:19:30 +02:00
parent ebcccafb82
commit 81ba7c633c
8 changed files with 1087 additions and 9 deletions
@@ -81,11 +81,17 @@ class DevicetypeController extends mfBaseController
$power = $r->power;
}
if ($r->olt) {
$olt = "1";
}
$data = [];
$data['name'] = trim($r->name);
$data['devicemanufactor_id'] = $r->devicemanufactor_id;
$data['price'] = $price;
$data['power'] = $power;
$data['olt'] = $olt;
if (!$data['name']) {
$this->layout()->setFlash("Name darf nicht leer sein", "error");