Dumped Contents
In
ProductoService.php
line 155:
if($_ENV['DEV_DEBUG'] == "true"){
dump($body);
dump($response);
// die;
}
"<?xml version="1.0" encoding="UTF-8" ?><enquiry><jobTemplateCode>PEDIDO</jobTemplateCode><customerCode>ABAMA</customerCode><addressNumber>1</addressNumber><customerRef>Ref. Cliente</customerRef><contactName>Contacto</contactName><telephone>34 555 99 99 99</telephone><emailAddress>pruebas@acme.es</emailAddress><repCode>WEB</repCode><origCode>BERTO</origCode><currencyCode></currencyCode><dueAt>2022-12-31T17:00</dueAt><!-- Opcional. --><!-- <jobVariable><name>ep_fecha_entrega</name><type>datetime</type><value>2023-12-30T12:00</value></jobVariable>--><!-- Obligatorio. Depende del producto oferta. --><jobVariable><name>ep_tipo_pedido</name><type>string</type><value>CAMISAS</value></jobVariable><jobVariable><name>ep_titulo</name><type>string</type><value>Pedido WEB</value></jobVariable><jobVariable><name>ep_fecha_entrega</name><type>datetime</type><value>2025-12-24T12:00</value></jobVariable><line><!-- Tipo de Trabajo. --><productCode>VARIOS</productCode><!-- Título de la línea de oferta. --><description>WEB SERVICES</description><quantity>1</quantity><productVariable><name>e_diseno</name><type>integer</type><value>0</value></productVariable><productVariable><name>e_serigrafia</name><type>boolean</type><value>1</value></productVariable><productVariable><name>e_sg_calidad</name><type>string</type><value>ALTA</value></productVariable><productVariable><name>e_sg_cobertura</name><type>decimal</type><value>60.00</value></productVariable><productVariable><name>e_ent_tipo</name><type>string</type><value>N_MEDIOS</value></productVariable><productVariable><name>e_ent_destino</name><type>string</type><value>TENERIFE</value></productVariable><productVariable><name>e_material</name><type>string</type><value>CAJHKTSRA150XSWH</value></productVariable><productVariable><name>e_maquina</name><type>string</type><value>PULPO</value></productVariable><productVariable><name>e_sg_tipo_imp</name><type>string</type><value>1/0 PLASTICA</value></productVariable><productVariable><name>e_digital</name><type>boolean</type><value>0</value></productVariable></line></enquiry>"
In
ProductoService.php
line 156:
if($_ENV['DEV_DEBUG'] == "true"){
dump($body);
dump($response);
// die;
}
if($response->success == "true"){
{#1245
+"success": "true"
+"lineQtyPrice": {#1244
+"lineNumber": "1"
+"quantity": "1"
+"price": "69.63"
+"taxValue": "0"
+"foreignPrice": "0"
+"foreignTaxValue": "0"
+"isUnresolved": "false"
+"whyUnresolved": {#1243}
}
}
In
ProductoController.php
line 148:
if($_ENV['DEV_DEBUG'] == "true"){
dump($producto->getSubGrupoProducto()->getPlantilla());
dump($precio);
}
// Si no obtenemos un precio volvemos a las categorias
"VARIOS"
In
ProductoController.php
line 149:
if($_ENV['DEV_DEBUG'] == "true"){
dump($producto->getSubGrupoProducto()->getPlantilla());
dump($precio);
}
// Si no obtenemos un precio volvemos a las categorias
if(!isset($precio)){
69.63
In
ProductoService.php
line 129:
$response = $this->apiService->productInputList($producto->getSubGrupoProducto()->getPlantilla());
if($_ENV['DEV_DEBUG'] == "true"){
dump($response);
// die;
}
if($response->success == "true"){
{#1264
+"success": "true"
+"inputs": {#1266
+"input": array:61 [
0 => {#1265
+"inputCode": "e_diseno"
+"description": "Diseño"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "999999"
}
1 => {#1326
+"inputCode": "e_material"
+"description": "Material"
+"inputType": "UI_TYPE_ITEM_LOOKUP"
}
2 => {#1325
+"inputCode": "e_maquina"
+"description": "Máquina"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1398
+"entry": array:4 [
0 => {#1324
+"code": "ANATOL"
+"name": "Pulpo 6 Colores"
}
1 => {#1323
+"code": "BROTHER GTX"
+"name": "Brother GTX"
}
2 => {#1391
+"code": "DIGIFLEX"
+"name": "Digiflex"
}
3 => {#1399
+"code": "PULPO"
+"name": "Pulpo 2 Colores"
}
]
}
}
3 => {#1397
+"inputCode": "e_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_BOOLEAN"
}
4 => {#1396
+"inputCode": "e_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_BOOLEAN"
}
5 => {#1395
+"inputCode": "e_sep_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
6 => {#1394
+"inputCode": "e_sg_calidad"
+"description": "Calidad"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1387
+"entry": array:3 [
0 => {#1393
+"code": "ALTA"
+"name": "Calidad Alta (70)"
}
1 => {#1392
+"code": "MUY ALTA"
+"name": "Calidad Muy Alta (120)"
}
2 => {#1322
+"code": "PREMIUM"
+"name": "Calidad Premium (200)"
}
]
}
}
7 => {#1390
+"inputCode": "e_sg_tipo_imp"
+"description": "Impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1305
+"entry": array:26 [
0 => {#1389
+"code": "1/0 LACA"
+"name": "1/0 Laca"
}
1 => {#1388
+"code": "1/0 PLASTICA"
+"name": "1/0 Plástica"
}
2 => {#1321
+"code": "1/1 LACA"
+"name": "1/1 Laca"
}
3 => {#1320
+"code": "1/1 PLASTICA"
+"name": "1/1 Plástica"
}
4 => {#1319
+"code": "2/0 LACA"
+"name": "2/0 Laca"
}
5 => {#1318
+"code": "2/0 PLASTICA"
+"name": "2/0 Plástica"
}
6 => {#1317
+"code": "2/1 LACA"
+"name": "2/1 Laca"
}
7 => {#1316
+"code": "2/1 PLASTICA"
+"name": "2/1 Plástica"
}
8 => {#1315
+"code": "2/2 LACA"
+"name": "2/2 Laca"
}
9 => {#1383
+"code": "2/2 PLASTICA"
+"name": "2/2 Plástica"
}
10 => {#1386
+"code": "3/0 LACA"
+"name": "3/0 Laca"
}
11 => {#1385
+"code": "3/0 PLASTICA"
+"name": "3/0 Plastica"
}
12 => {#1384
+"code": "3/3 LACA"
+"name": "3/3 Laca"
}
13 => {#1314
+"code": "3/3 PLASTICA"
+"name": "3/3 Plastica"
}
14 => {#1313
+"code": "4/0 LACA"
+"name": "4/0 Laca"
}
15 => {#1312
+"code": "4/0 PLASTICA"
+"name": "4/0 Plastica"
}
16 => {#1311
+"code": "4/4 LACA"
+"name": "4/4 Laca"
}
17 => {#1310
+"code": "4/4 PLASTICA"
+"name": "4/4 Plastica"
}
18 => {#1309
+"code": "5/0 LACA"
+"name": "5/0 Laca"
}
19 => {#1308
+"code": "5/0 PLASTICA"
+"name": "5/0 Plastica"
}
20 => {#1379
+"code": "5/5 LACA"
+"name": "5/5 Laca"
}
21 => {#1382
+"code": "5/5 PLASTICA"
+"name": "5/5 Plastica"
}
22 => {#1381
+"code": "6/0 LACA"
+"name": "6/0 Laca"
}
23 => {#1380
+"code": "6/0 PLASTICA"
+"name": "6/0 Plastica"
}
24 => {#1307
+"code": "6/6 LACA"
+"name": "6/6 Laca"
}
25 => {#1306
+"code": "6/6 PLASTICA"
+"name": "6/6 Plastica"
}
]
}
}
8 => {#1304
+"inputCode": "e_sg_cobertura"
+"description": "Porcentaje de Cobertura"
+"inputType": "UI_TYPE_DECIMAL"
+"minValue": "0.01"
+"maxValue": "100.00"
}
9 => {#1303
+"inputCode": "e_sg_nota"
+"description": "Notas"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "50"
+"upperCase": "false"
}
10 => {#1302
+"inputCode": "e_sep_serigrafia_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
11 => {#1301
+"inputCode": "e_sep_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
12 => {#1375
+"inputCode": "e_dg_pr_1_si"
+"description": "Punto 1"
+"inputType": "UI_TYPE_BOOLEAN"
}
13 => {#1378
+"inputCode": "e_dg_pr_1_desc"
+"description": "Zona de impresión de 1"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
14 => {#1377
+"inputCode": "e_dg_pr_1_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1298
+"entry": array:3 [
0 => {#1376
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1300
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1299
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
15 => {#1297
+"inputCode": "e_dg_pr_1_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
16 => {#1296
+"inputCode": "e_dg_pr_1_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
17 => {#1295
+"inputCode": "e_dg_pr_1_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
18 => {#1294
+"inputCode": "e_dg_pr_1_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
19 => {#1371
+"inputCode": "e_dg_pr_2_si"
+"description": "Punto 2"
+"inputType": "UI_TYPE_BOOLEAN"
}
20 => {#1374
+"inputCode": "e_dg_pr_2_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
21 => {#1373
+"inputCode": "e_dg_pr_2_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1291
+"entry": array:3 [
0 => {#1372
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1293
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1292
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
22 => {#1290
+"inputCode": "e_dg_pr_2_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
23 => {#1289
+"inputCode": "e_dg_pr_2_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
24 => {#1288
+"inputCode": "e_dg_pr_2_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
25 => {#1287
+"inputCode": "e_dg_pr_2_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
26 => {#1367
+"inputCode": "e_dg_pr_3_si"
+"description": "Punto 3"
+"inputType": "UI_TYPE_BOOLEAN"
}
27 => {#1370
+"inputCode": "e_dg_pr_3_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
28 => {#1369
+"inputCode": "e_dg_pr_3_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1284
+"entry": array:3 [
0 => {#1368
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1286
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1285
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
29 => {#1283
+"inputCode": "e_dg_pr_3_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
30 => {#1282
+"inputCode": "e_dg_pr_3_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
31 => {#1281
+"inputCode": "e_dg_pr_3_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
32 => {#1280
+"inputCode": "e_dg_pr_3_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
33 => {#1363
+"inputCode": "e_dg_pr_4_si"
+"description": "Punto 4"
+"inputType": "UI_TYPE_BOOLEAN"
}
34 => {#1366
+"inputCode": "e_dg_pr_4_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
35 => {#1365
+"inputCode": "e_dg_pr_4_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1277
+"entry": array:3 [
0 => {#1364
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1279
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1278
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
36 => {#1276
+"inputCode": "e_dg_pr_4_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
37 => {#1275
+"inputCode": "e_dg_pr_4_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
38 => {#1274
+"inputCode": "e_dg_pr_4_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
39 => {#1273
+"inputCode": "e_dg_pr_4_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
40 => {#1336
+"inputCode": "e_dg_pr_5_si"
+"description": "Punto 5"
+"inputType": "UI_TYPE_BOOLEAN"
}
41 => {#1362
+"inputCode": "e_dg_pr_5_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
42 => {#1361
+"inputCode": "e_dg_pr_5_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1357
+"entry": array:3 [
0 => {#1360
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1359
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1358
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
43 => {#1356
+"inputCode": "e_dg_pr_5_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
44 => {#1355
+"inputCode": "e_dg_pr_5_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
45 => {#1354
+"inputCode": "e_dg_pr_5_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
46 => {#1353
+"inputCode": "e_dg_pr_5_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
47 => {#1352
+"inputCode": "e_dg_pr_6_si"
+"description": "Punto 6"
+"inputType": "UI_TYPE_BOOLEAN"
}
48 => {#1351
+"inputCode": "e_dg_pr_6_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
49 => {#1350
+"inputCode": "e_dg_pr_6_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1346
+"entry": array:3 [
0 => {#1349
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1348
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1347
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
50 => {#1345
+"inputCode": "e_dg_pr_6_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
51 => {#1344
+"inputCode": "e_dg_pr_6_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
52 => {#1343
+"inputCode": "e_dg_pr_6_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
53 => {#1342
+"inputCode": "e_dg_pr_6_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
54 => {#1341
+"inputCode": "e_sep_digital_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
55 => {#1340
+"inputCode": "e_sep_entrega"
+"description": "Entrega"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
56 => {#1339
+"inputCode": "e_ent_tipo"
+"description": "Entrega"
+"inputType": "UI_TYPE_CHOICE"
+"options": {#1332
+"option": array:3 [
0 => {#1338
+"label": "Agencia"
+"value": "AGENCIA"
}
1 => {#1337
+"label": "Recoge Cliente"
+"value": "CLIENTE"
}
2 => {#1272
+"label": "Nuestros Medios"
+"value": "N_MEDIOS"
}
]
}
}
57 => {#1335
+"inputCode": "e_ent_destino"
+"description": "Entrega en"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1330
+"entry": array:8 [
0 => {#1334
+"code": "EL HIERRO"
+"name": "El Hierro"
}
1 => {#1333
+"code": "FUERTEVENTURA"
+"name": "Fuerteventura"
}
2 => {#1271
+"code": "LA GOMERA"
+"name": "La Gomera"
}
3 => {#1270
+"code": "LA PALMA"
+"name": "La Palma"
}
4 => {#1269
+"code": "LANZAROTE"
+"name": "Lanzarote"
}
5 => {#1268
+"code": "LAS PALMAS"
+"name": "Las Palmas"
}
6 => {#1327
+"code": "SANTA CRUZ"
+"name": "Santa Cruz"
}
7 => {#1331
+"code": "TENERIFE"
+"name": "Tenerife"
}
]
}
}
58 => {#1329
+"inputCode": "e_sep_entrega_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
59 => {#1328
+"inputCode": "e_texto_oferta"
+"description": "Texto de oferta"
+"inputType": "UI_TYPE_TEXT"
}
60 => {#1267
+"inputCode": "e_texto_oferta_mod"
+"description": "Mod."
+"inputType": "UI_TYPE_BOOLEAN"
}
]
}
}
In
ProductoController.php
line 177:
if($_ENV['DEV_DEBUG'] == "true"){
dump($inputs_api);
// die;
}
$form = $this->createForm(ItemCarroCompraType::class, $itemCarroCompra, [
array:9 [
0 => array:14 [
"inputCode" => "e_diseno"
"inputType" => "UI_TYPE_NUMBER"
"description" => "Diseño"
"label_placeholder" => "Diseño"
"tipo" => "integer"
"options" => []
"min" => "0"
"max" => "999999"
"step" => 1
"id_detalle" => 1153
"visible" => false
"api_type" => "productVariable"
"value" => "0"
"required" => true
]
1 => array:14 [
"inputCode" => "e_serigrafia"
"inputType" => "UI_TYPE_BOOLEAN"
"description" => "Serigrafía"
"label_placeholder" => "Serigrafía"
"tipo" => "checkbox"
"options" => array:2 [
0 => array:2 [
"label" => "Sí"
"value" => "1"
]
1 => array:2 [
"label" => "No"
"value" => "0"
]
]
"id_detalle" => 1154
"visible" => false
"api_type" => "productVariable"
"value" => "1"
"id_relacion" => null
"has_relacion" => false
"disabled" => false
"required" => true
]
2 => array:14 [
"inputCode" => "e_sg_calidad"
"inputType" => "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
"description" => "Calidad"
"label_placeholder" => "Calidad"
"tipo" => "select"
"options" => array:3 [
0 => array:2 [
"label" => "Calidad Alta (70)"
"value" => "ALTA"
]
1 => array:2 [
"label" => "Calidad Muy Alta (120)"
"value" => "MUY ALTA"
]
2 => array:2 [
"label" => "Calidad Premium (200)"
"value" => "PREMIUM"
]
]
"id_detalle" => 1155
"visible" => false
"api_type" => "productVariable"
"value" => "ALTA"
"id_relacion" => null
"has_relacion" => false
"disabled" => false
"required" => true
]
3 => array:14 [
"inputCode" => "e_sg_cobertura"
"inputType" => "UI_TYPE_DECIMAL"
"description" => "Porcentaje de Cobertura"
"label_placeholder" => "Porcentaje de Cobertura"
"tipo" => "number"
"options" => []
"min" => "0.01"
"max" => "100.00"
"step" => 1
"id_detalle" => 1156
"visible" => false
"api_type" => "productVariable"
"value" => "60.00"
"required" => true
]
4 => array:16 [
"inputCode" => "e_ent_tipo"
"inputType" => "UI_TYPE_CHOICE"
"description" => "Entrega"
"label_placeholder" => "Entrega "
"tipo" => "radio"
"options" => array:3 [
0 => array:2 [
"label" => "Agencia"
"value" => "AGENCIA"
]
1 => array:2 [
"label" => "Recoge Cliente"
"value" => "CLIENTE"
]
2 => array:2 [
"label" => "Nuestros Medios"
"value" => "N_MEDIOS"
]
]
"id_detalle" => 1157
"visible" => true
"api_type" => "productVariable"
"value" => "N_MEDIOS"
"id_relacion" => null
"has_relacion" => false
"values_show_direccion" => array:2 [
0 => "AGENCIA"
1 => "N_MEDIOS"
]
"attribute_info" => "form.producto.help.entrega"
"disabled" => false
"required" => true
]
5 => array:14 [
"inputCode" => "e_ent_destino"
"inputType" => "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
"description" => "Entrega en"
"label_placeholder" => "Entrega en"
"tipo" => "select"
"options" => array:8 [
0 => array:2 [
"label" => "El Hierro"
"value" => "EL HIERRO"
]
1 => array:2 [
"label" => "Fuerteventura"
"value" => "FUERTEVENTURA"
]
2 => array:2 [
"label" => "La Gomera"
"value" => "LA GOMERA"
]
3 => array:2 [
"label" => "La Palma"
"value" => "LA PALMA"
]
4 => array:2 [
"label" => "Lanzarote"
"value" => "LANZAROTE"
]
5 => array:2 [
"label" => "Las Palmas"
"value" => "LAS PALMAS"
]
6 => array:2 [
"label" => "Santa Cruz"
"value" => "SANTA CRUZ"
]
7 => array:2 [
"label" => "Tenerife"
"value" => "TENERIFE"
]
]
"id_detalle" => 1158
"visible" => true
"api_type" => "productVariable"
"value" => "TENERIFE"
"id_relacion" => 853
"has_relacion" => false
"disabled" => false
"required" => true
]
6 => array:15 [
"inputCode" => "size"
"inputType" => "UI_TYPE_CHOICE"
"label_placeholder" => "Talla"
"tipo" => "radio"
"options" => array:7 [
0 => array:2 [
"label" => "XS"
"value" => "0"
]
1 => array:2 [
"label" => "S"
"value" => "1"
]
2 => array:2 [
"label" => "M"
"value" => "2"
]
3 => array:2 [
"label" => "L"
"value" => "3"
]
4 => array:2 [
"label" => "XL"
"value" => "4"
]
5 => array:2 [
"label" => "XXL"
"value" => "5"
]
6 => array:2 [
"label" => "XXXL"
"value" => "6"
]
]
"id_detalle" => 1159
"visible" => true
"api_type" => "custom"
"value" => "0"
"id_relacion" => null
"has_relacion" => false
"values_show_direccion" => []
"attribute_info" => null
"disabled" => false
"required" => true
]
7 => array:15 [
"inputCode" => "tinta"
"inputType" => "UI_TYPE_CHOICE"
"label_placeholder" => "Tinta"
"tipo" => "radio"
"options" => array:12 [
0 => array:2 [
"label" => "1/0 PLASTICA"
"value" => "0"
]
1 => array:2 [
"label" => "1/1 PLASTICA"
"value" => "1"
]
2 => array:2 [
"label" => "2/0 PLASTICA"
"value" => "2"
]
3 => array:2 [
"label" => "2/2 PLASTICA"
"value" => "3"
]
4 => array:2 [
"label" => "3/0 PLASTICA"
"value" => "4"
]
5 => array:2 [
"label" => "3/3 PLASTICA"
"value" => "5"
]
6 => array:2 [
"label" => "4/0 PLASTICA"
"value" => "6"
]
7 => array:2 [
"label" => "4/4 PLASTICA"
"value" => "7"
]
8 => array:2 [
"label" => "5/0 PLASTICA"
"value" => "8"
]
9 => array:2 [
"label" => "5/5 PLASTICA"
"value" => "9"
]
10 => array:2 [
"label" => "6/0 PLASTICA"
"value" => "10"
]
11 => array:2 [
"label" => "6/6 PLASTICA"
"value" => "11"
]
]
"id_detalle" => 1160
"visible" => true
"api_type" => "custom"
"value" => "0"
"id_relacion" => null
"has_relacion" => false
"values_show_direccion" => []
"attribute_info" => null
"disabled" => false
"required" => true
]
8 => array:11 [
"inputCode" => "ep_fecha_entrega"
"inputType" => "datetime"
"description" => ""
"label_placeholder" => "Fecha de entraga"
"tipo" => "datetime"
"options" => []
"id_detalle" => 1161
"visible" => true
"api_type" => "jobVariable"
"value" => DateTime @1766547005 {#1633
date: 2025-12-24 03:30:05.525895 Atlantic/Canary (+00:00)
}
"required" => true
]
]
In
ProductoService.php
line 129:
$response = $this->apiService->productInputList($producto->getSubGrupoProducto()->getPlantilla());
if($_ENV['DEV_DEBUG'] == "true"){
dump($response);
// die;
}
if($response->success == "true"){
{#1755
+"success": "true"
+"inputs": {#1791
+"input": array:61 [
0 => {#1773
+"inputCode": "e_diseno"
+"description": "Diseño"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "999999"
}
1 => {#1961
+"inputCode": "e_material"
+"description": "Material"
+"inputType": "UI_TYPE_ITEM_LOOKUP"
}
2 => {#1960
+"inputCode": "e_maquina"
+"description": "Máquina"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#2033
+"entry": array:4 [
0 => {#1959
+"code": "ANATOL"
+"name": "Pulpo 6 Colores"
}
1 => {#1958
+"code": "BROTHER GTX"
+"name": "Brother GTX"
}
2 => {#2026
+"code": "DIGIFLEX"
+"name": "Digiflex"
}
3 => {#2034
+"code": "PULPO"
+"name": "Pulpo 2 Colores"
}
]
}
}
3 => {#2032
+"inputCode": "e_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_BOOLEAN"
}
4 => {#2031
+"inputCode": "e_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_BOOLEAN"
}
5 => {#2030
+"inputCode": "e_sep_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
6 => {#2029
+"inputCode": "e_sg_calidad"
+"description": "Calidad"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#2022
+"entry": array:3 [
0 => {#2028
+"code": "ALTA"
+"name": "Calidad Alta (70)"
}
1 => {#2027
+"code": "MUY ALTA"
+"name": "Calidad Muy Alta (120)"
}
2 => {#1957
+"code": "PREMIUM"
+"name": "Calidad Premium (200)"
}
]
}
}
7 => {#2025
+"inputCode": "e_sg_tipo_imp"
+"description": "Impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1940
+"entry": array:26 [
0 => {#2024
+"code": "1/0 LACA"
+"name": "1/0 Laca"
}
1 => {#2023
+"code": "1/0 PLASTICA"
+"name": "1/0 Plástica"
}
2 => {#1956
+"code": "1/1 LACA"
+"name": "1/1 Laca"
}
3 => {#1955
+"code": "1/1 PLASTICA"
+"name": "1/1 Plástica"
}
4 => {#1954
+"code": "2/0 LACA"
+"name": "2/0 Laca"
}
5 => {#1953
+"code": "2/0 PLASTICA"
+"name": "2/0 Plástica"
}
6 => {#1952
+"code": "2/1 LACA"
+"name": "2/1 Laca"
}
7 => {#1951
+"code": "2/1 PLASTICA"
+"name": "2/1 Plástica"
}
8 => {#1950
+"code": "2/2 LACA"
+"name": "2/2 Laca"
}
9 => {#2018
+"code": "2/2 PLASTICA"
+"name": "2/2 Plástica"
}
10 => {#2021
+"code": "3/0 LACA"
+"name": "3/0 Laca"
}
11 => {#2020
+"code": "3/0 PLASTICA"
+"name": "3/0 Plastica"
}
12 => {#2019
+"code": "3/3 LACA"
+"name": "3/3 Laca"
}
13 => {#1949
+"code": "3/3 PLASTICA"
+"name": "3/3 Plastica"
}
14 => {#1948
+"code": "4/0 LACA"
+"name": "4/0 Laca"
}
15 => {#1947
+"code": "4/0 PLASTICA"
+"name": "4/0 Plastica"
}
16 => {#1946
+"code": "4/4 LACA"
+"name": "4/4 Laca"
}
17 => {#1945
+"code": "4/4 PLASTICA"
+"name": "4/4 Plastica"
}
18 => {#1944
+"code": "5/0 LACA"
+"name": "5/0 Laca"
}
19 => {#1943
+"code": "5/0 PLASTICA"
+"name": "5/0 Plastica"
}
20 => {#2014
+"code": "5/5 LACA"
+"name": "5/5 Laca"
}
21 => {#2017
+"code": "5/5 PLASTICA"
+"name": "5/5 Plastica"
}
22 => {#2016
+"code": "6/0 LACA"
+"name": "6/0 Laca"
}
23 => {#2015
+"code": "6/0 PLASTICA"
+"name": "6/0 Plastica"
}
24 => {#1942
+"code": "6/6 LACA"
+"name": "6/6 Laca"
}
25 => {#1941
+"code": "6/6 PLASTICA"
+"name": "6/6 Plastica"
}
]
}
}
8 => {#1939
+"inputCode": "e_sg_cobertura"
+"description": "Porcentaje de Cobertura"
+"inputType": "UI_TYPE_DECIMAL"
+"minValue": "0.01"
+"maxValue": "100.00"
}
9 => {#1938
+"inputCode": "e_sg_nota"
+"description": "Notas"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "50"
+"upperCase": "false"
}
10 => {#1937
+"inputCode": "e_sep_serigrafia_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
11 => {#1936
+"inputCode": "e_sep_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
12 => {#2010
+"inputCode": "e_dg_pr_1_si"
+"description": "Punto 1"
+"inputType": "UI_TYPE_BOOLEAN"
}
13 => {#2013
+"inputCode": "e_dg_pr_1_desc"
+"description": "Zona de impresión de 1"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
14 => {#2012
+"inputCode": "e_dg_pr_1_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1933
+"entry": array:3 [
0 => {#2011
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1935
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1934
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
15 => {#1932
+"inputCode": "e_dg_pr_1_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
16 => {#1931
+"inputCode": "e_dg_pr_1_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
17 => {#1930
+"inputCode": "e_dg_pr_1_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
18 => {#1929
+"inputCode": "e_dg_pr_1_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
19 => {#2006
+"inputCode": "e_dg_pr_2_si"
+"description": "Punto 2"
+"inputType": "UI_TYPE_BOOLEAN"
}
20 => {#2009
+"inputCode": "e_dg_pr_2_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
21 => {#2008
+"inputCode": "e_dg_pr_2_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1918
+"entry": array:3 [
0 => {#2007
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1928
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1926
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
22 => {#1917
+"inputCode": "e_dg_pr_2_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
23 => {#1916
+"inputCode": "e_dg_pr_2_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
24 => {#1915
+"inputCode": "e_dg_pr_2_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
25 => {#1913
+"inputCode": "e_dg_pr_2_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
26 => {#2002
+"inputCode": "e_dg_pr_3_si"
+"description": "Punto 3"
+"inputType": "UI_TYPE_BOOLEAN"
}
27 => {#2005
+"inputCode": "e_dg_pr_3_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
28 => {#2004
+"inputCode": "e_dg_pr_3_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1909
+"entry": array:3 [
0 => {#2003
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1911
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1910
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
29 => {#1886
+"inputCode": "e_dg_pr_3_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
30 => {#1895
+"inputCode": "e_dg_pr_3_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
31 => {#1876
+"inputCode": "e_dg_pr_3_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
32 => {#1864
+"inputCode": "e_dg_pr_3_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
33 => {#1998
+"inputCode": "e_dg_pr_4_si"
+"description": "Punto 4"
+"inputType": "UI_TYPE_BOOLEAN"
}
34 => {#2001
+"inputCode": "e_dg_pr_4_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
35 => {#2000
+"inputCode": "e_dg_pr_4_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1824
+"entry": array:3 [
0 => {#1999
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1865
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1867
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
36 => {#1826
+"inputCode": "e_dg_pr_4_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
37 => {#1831
+"inputCode": "e_dg_pr_4_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
38 => {#1832
+"inputCode": "e_dg_pr_4_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
39 => {#1825
+"inputCode": "e_dg_pr_4_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
40 => {#1971
+"inputCode": "e_dg_pr_5_si"
+"description": "Punto 5"
+"inputType": "UI_TYPE_BOOLEAN"
}
41 => {#1997
+"inputCode": "e_dg_pr_5_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
42 => {#1996
+"inputCode": "e_dg_pr_5_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1992
+"entry": array:3 [
0 => {#1995
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1994
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1993
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
43 => {#1991
+"inputCode": "e_dg_pr_5_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
44 => {#1990
+"inputCode": "e_dg_pr_5_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
45 => {#1989
+"inputCode": "e_dg_pr_5_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
46 => {#1988
+"inputCode": "e_dg_pr_5_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
47 => {#1987
+"inputCode": "e_dg_pr_6_si"
+"description": "Punto 6"
+"inputType": "UI_TYPE_BOOLEAN"
}
48 => {#1986
+"inputCode": "e_dg_pr_6_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
49 => {#1985
+"inputCode": "e_dg_pr_6_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1981
+"entry": array:3 [
0 => {#1984
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1983
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1982
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
50 => {#1980
+"inputCode": "e_dg_pr_6_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
51 => {#1979
+"inputCode": "e_dg_pr_6_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
52 => {#1978
+"inputCode": "e_dg_pr_6_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
53 => {#1977
+"inputCode": "e_dg_pr_6_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
54 => {#1976
+"inputCode": "e_sep_digital_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
55 => {#1975
+"inputCode": "e_sep_entrega"
+"description": "Entrega"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
56 => {#1974
+"inputCode": "e_ent_tipo"
+"description": "Entrega"
+"inputType": "UI_TYPE_CHOICE"
+"options": {#1967
+"option": array:3 [
0 => {#1973
+"label": "Agencia"
+"value": "AGENCIA"
}
1 => {#1972
+"label": "Recoge Cliente"
+"value": "CLIENTE"
}
2 => {#1657
+"label": "Nuestros Medios"
+"value": "N_MEDIOS"
}
]
}
}
57 => {#1970
+"inputCode": "e_ent_destino"
+"description": "Entrega en"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1965
+"entry": array:8 [
0 => {#1969
+"code": "EL HIERRO"
+"name": "El Hierro"
}
1 => {#1968
+"code": "FUERTEVENTURA"
+"name": "Fuerteventura"
}
2 => {#1666
+"code": "LA GOMERA"
+"name": "La Gomera"
}
3 => {#1669
+"code": "LA PALMA"
+"name": "La Palma"
}
4 => {#1707
+"code": "LANZAROTE"
+"name": "Lanzarote"
}
5 => {#1734
+"code": "LAS PALMAS"
+"name": "Las Palmas"
}
6 => {#1962
+"code": "SANTA CRUZ"
+"name": "Santa Cruz"
}
7 => {#1966
+"code": "TENERIFE"
+"name": "Tenerife"
}
]
}
}
58 => {#1964
+"inputCode": "e_sep_entrega_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
59 => {#1963
+"inputCode": "e_texto_oferta"
+"description": "Texto de oferta"
+"inputType": "UI_TYPE_TEXT"
}
60 => {#1748
+"inputCode": "e_texto_oferta_mod"
+"description": "Mod."
+"inputType": "UI_TYPE_BOOLEAN"
}
]
}
}