Browse Source

Revert "#36 show onu profile fields for all olt brands"

This reverts commit 58cd0d1219b9f276c3d3eee4891e9fca8fff3a41.
Guillermo Espinoza 6 years ago
parent
commit
bc882fe440
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/FTTHBundle/Admin/ONUAdmin.php

+ 3 - 4
src/FTTHBundle/Admin/ONUAdmin.php

@@ -237,7 +237,6 @@ class ONUAdmin extends WorkflowBaseAdmin
                             'MAC Address' => 'mac'
                         ]
                     ])
-                    ->add('onuProfile')
                 ->end()
                 ->with('Huawei', ['class' => "col-md-12 {$hidden['Huawei']} olt_mark Huawei"])
                     ->add('servicePorts', CollectionType::class, array(
@@ -251,6 +250,7 @@ class ONUAdmin extends WorkflowBaseAdmin
                 ->with('ZTE', ['class' => "col-md-12 {$hidden['ZTE']} olt_mark ZTE"])
                     ->add('vlan')
                     ->add('vlanProfile', null, $optionsZTEV4)
+                    ->add('onuProfile', null, $optionsZTEV4)
                     ->add('trafficProfileIn')
                     ->add('trafficProfileOut')
                     ->add('tcontprofile')
@@ -463,9 +463,7 @@ class ONUAdmin extends WorkflowBaseAdmin
                     ->add('olt')
                     ->add('currentState')
                     ->add('position')
-                    ->add('ip')
-                    ->add('onuProfile')
-                    ;
+                    ->add('ip');
 
                     // Consulto en stats la url del detalle de onu
                     $onuShowUrl = $this->getStatsShowOnuUrl();
@@ -490,6 +488,7 @@ class ONUAdmin extends WorkflowBaseAdmin
                 ->with('ZTE', ['class' => "col-md-12 {$hidden['ZTE']} olt_mark ZTE"])
                     ->add('vlan')
                     ->add('vlanProfile', null, $optionsZTEV4)
+                    ->add('onuProfile', null, $optionsZTEV4)
                     ->add('trafficProfileIn')
                     ->add('trafficProfileOut')
                     ->add('tcontprofile')