|
@@ -290,6 +290,7 @@ class ONUAdmin extends WorkflowBaseAdmin
|
|
|
'readonly' => $readonly,
|
|
|
],
|
|
|
])
|
|
|
+ ->add('catv')
|
|
|
->end()
|
|
|
->with('Huawei', ['class' => "col-md-12 {$hidden['Huawei']} olt_mark Huawei"])
|
|
|
->add('servicePorts', CollectionType::class, array(
|
|
@@ -318,7 +319,6 @@ class ONUAdmin extends WorkflowBaseAdmin
|
|
|
'readonly' => $readonly,
|
|
|
],
|
|
|
])
|
|
|
- ->add('catv')
|
|
|
->end()
|
|
|
->with("FiberLink | FiberHome", ['class' => "col-md-12 olt_mark FiberLink FiberHome"])
|
|
|
->add('vlans', null, array(
|
|
@@ -342,7 +342,8 @@ class ONUAdmin extends WorkflowBaseAdmin
|
|
|
'ponSerialNumberAux' => $this->trans("helps.onu_pon_serial_number_aux"),
|
|
|
'servicePorts' => $this->trans("helps.service_port"),
|
|
|
'mac' => $this->trans("helps.mac"),
|
|
|
- 'radiusAuth' => $this->trans("helps.radiusAuth")
|
|
|
+ 'radiusAuth' => $this->trans("helps.radiusAuth"),
|
|
|
+ 'catv' => $this->trans("helps.catv")
|
|
|
));
|
|
|
|
|
|
|
|
@@ -535,6 +536,7 @@ class ONUAdmin extends WorkflowBaseAdmin
|
|
|
->add('onuProfile')
|
|
|
->add('trafficProfileIn')
|
|
|
->add('trafficProfileOut')
|
|
|
+ ->add('catv')
|
|
|
;
|
|
|
|
|
|
// Consulto en stats la url del detalle de onu
|
|
@@ -561,7 +563,6 @@ class ONUAdmin extends WorkflowBaseAdmin
|
|
|
->add('vlan')
|
|
|
->add('vlanProfile', null, $optionsZTEV4)
|
|
|
->add('tcontprofile')
|
|
|
- ->add('catv')
|
|
|
->end()
|
|
|
->with('FiberLink', ['class' => "col-md-12 {$hidden['FiberLink']} olt_mark FiberLink"])
|
|
|
->add('vlans', null, array(
|
|
@@ -773,6 +774,10 @@ class ONUAdmin extends WorkflowBaseAdmin
|
|
|
if($tcontprofile = $template->getTcontprofile()) {
|
|
|
$form->add('tcontprofile', null, array('data' => $tcontprofile));
|
|
|
}
|
|
|
+
|
|
|
+ if($catv = $template->getCatv()) {
|
|
|
+ $form->add('catv', null, array('data' => $catv));
|
|
|
+ }
|
|
|
|
|
|
if($vlans = $template->getVlans()) {
|
|
|
$form->add('vlans', null, array('data' => $vlans));
|