new v3 layout
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
class CpeprovisioningController extends mfBaseController
|
||||
{
|
||||
protected function init() {
|
||||
// disable error display for all requests to avoid information leakage
|
||||
ini_set('display_errors', '0');
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
|
||||
|
||||
if (defined('TT_CPE_PROV_ALLOW_COUNTS_IP') &&
|
||||
in_array($_SERVER['REMOTE_ADDR'], TT_CPE_PROV_ALLOW_COUNTS_IP) &&
|
||||
!mfLoginController::isLoggedIn()) {
|
||||
@@ -482,6 +486,8 @@ class CpeprovisioningController extends mfBaseController
|
||||
'id' => $product->id, 'order_id' => $product->order_id, 'termination_id' => $product->termination_id, 'orderproduct_id' => $product->id,
|
||||
'network' => $term->building->network->name ?? "{$order->owner->zip} {$order->owner->city}",
|
||||
'spin' => $order->owner->spin, 'customer' => $order->owner->getCompanyOrName(),
|
||||
'owner_email' => $order->owner->email,
|
||||
'owner_phone' => $order->owner->phone,
|
||||
'product_name' => $product->product->name, 'product_code' => $term->code ?? '',
|
||||
'access_type' => $attrs['bras_type']->value,
|
||||
'access_type_down' => $attrs["bw_down"]->value,
|
||||
@@ -557,9 +563,12 @@ class CpeprovisioningController extends mfBaseController
|
||||
],
|
||||
"ROUTER_SHIPPING_DATA" => [
|
||||
"TP-Link Archer C80" => ["weight" => 1, "length" => 35, "width" => 24, "height" => 8],
|
||||
"FritzBox 5530" => ["weight" => 1, "length" => 27, "width" => 19, "height" => 7],
|
||||
"FritzBox 4050" => ["weight" => 1, "length" => 27, "width" => 19, "height" => 7],
|
||||
"FritzBox 7690" => ["weight" => 1, "length" => 27, "width" => 19, "height" => 7],
|
||||
"FritzBox 4040" => ["weight" => 1, "length" => 30, "width" => 24, "height" => 7],
|
||||
"FritzBox 7530" => ["weight" => 1, "length" => 26, "width" => 19, "height" => 7],
|
||||
"FritzBox 7590" => ["weight" => 1, "length" => 30, "width" => 24, "height" => 7],
|
||||
"FritzBox 7530" => ["weight" => 1, "length" => 27, "width" => 19, "height" => 7],
|
||||
"FritzBox 7590" => ["weight" => 1, "length" => 27, "width" => 19, "height" => 7],
|
||||
"FritzBox 6490 Cable" => ["weight" => 1, "length" => 30, "width" => 26, "height" => 8]
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user