Dumped Contents
In
ProductoService.php
line 141:
$response = $this->apiService->productInputList($producto->getSubGrupoProducto()->getPlantilla());
if ($_ENV['DEV_DEBUG'] == "true") {
dump($response);
// die;
}
if ($response->success == "true") {
{#1163
+"success": "true"
+"inputs": {#1164
+"input": array:61 [
0 => {#1165
+"inputCode": "e_diseno"
+"description": "Diseño"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "999999"
}
1 => {#1280
+"inputCode": "e_material"
+"description": "Material"
+"inputType": "UI_TYPE_ITEM_LOOKUP"
}
2 => {#1279
+"inputCode": "e_maquina"
+"description": "Máquina"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1352
+"entry": array:4 [
0 => {#1278
+"code": "ANATOL"
+"name": "Pulpo 6 Colores"
}
1 => {#1277
+"code": "BROTHER GTX"
+"name": "Brother GTX"
}
2 => {#1345
+"code": "DIGIFLEX"
+"name": "Digiflex"
}
3 => {#1353
+"code": "PULPO"
+"name": "Pulpo 2 Colores"
}
]
}
}
3 => {#1351
+"inputCode": "e_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_BOOLEAN"
}
4 => {#1350
+"inputCode": "e_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_BOOLEAN"
}
5 => {#1349
+"inputCode": "e_sep_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
6 => {#1348
+"inputCode": "e_sg_calidad"
+"description": "Calidad"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1341
+"entry": array:3 [
0 => {#1347
+"code": "ALTA"
+"name": "Calidad Alta (70)"
}
1 => {#1346
+"code": "MUY ALTA"
+"name": "Calidad Muy Alta (120)"
}
2 => {#1276
+"code": "PREMIUM"
+"name": "Calidad Premium (200)"
}
]
}
}
7 => {#1344
+"inputCode": "e_sg_tipo_imp"
+"description": "Impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1259
+"entry": array:26 [
0 => {#1343
+"code": "1/0 LACA"
+"name": "1/0 Laca"
}
1 => {#1342
+"code": "1/0 PLASTICA"
+"name": "1/0 Plástica"
}
2 => {#1275
+"code": "1/1 LACA"
+"name": "1/1 Laca"
}
3 => {#1274
+"code": "1/1 PLASTICA"
+"name": "1/1 Plástica"
}
4 => {#1273
+"code": "2/0 LACA"
+"name": "2/0 Laca"
}
5 => {#1272
+"code": "2/0 PLASTICA"
+"name": "2/0 Plástica"
}
6 => {#1271
+"code": "2/1 LACA"
+"name": "2/1 Laca"
}
7 => {#1270
+"code": "2/1 PLASTICA"
+"name": "2/1 Plástica"
}
8 => {#1269
+"code": "2/2 LACA"
+"name": "2/2 Laca"
}
9 => {#1337
+"code": "2/2 PLASTICA"
+"name": "2/2 Plástica"
}
10 => {#1340
+"code": "3/0 LACA"
+"name": "3/0 Laca"
}
11 => {#1339
+"code": "3/0 PLASTICA"
+"name": "3/0 Plastica"
}
12 => {#1338
+"code": "3/3 LACA"
+"name": "3/3 Laca"
}
13 => {#1268
+"code": "3/3 PLASTICA"
+"name": "3/3 Plastica"
}
14 => {#1267
+"code": "4/0 LACA"
+"name": "4/0 Laca"
}
15 => {#1266
+"code": "4/0 PLASTICA"
+"name": "4/0 Plastica"
}
16 => {#1265
+"code": "4/4 LACA"
+"name": "4/4 Laca"
}
17 => {#1264
+"code": "4/4 PLASTICA"
+"name": "4/4 Plastica"
}
18 => {#1263
+"code": "5/0 LACA"
+"name": "5/0 Laca"
}
19 => {#1262
+"code": "5/0 PLASTICA"
+"name": "5/0 Plastica"
}
20 => {#1333
+"code": "5/5 LACA"
+"name": "5/5 Laca"
}
21 => {#1336
+"code": "5/5 PLASTICA"
+"name": "5/5 Plastica"
}
22 => {#1335
+"code": "6/0 LACA"
+"name": "6/0 Laca"
}
23 => {#1334
+"code": "6/0 PLASTICA"
+"name": "6/0 Plastica"
}
24 => {#1261
+"code": "6/6 LACA"
+"name": "6/6 Laca"
}
25 => {#1260
+"code": "6/6 PLASTICA"
+"name": "6/6 Plastica"
}
]
}
}
8 => {#1258
+"inputCode": "e_sg_cobertura"
+"description": "Porcentaje de Cobertura"
+"inputType": "UI_TYPE_DECIMAL"
+"minValue": "0.01"
+"maxValue": "100.00"
}
9 => {#1257
+"inputCode": "e_sg_nota"
+"description": "Notas"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "50"
+"upperCase": "false"
}
10 => {#1256
+"inputCode": "e_sep_serigrafia_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
11 => {#1255
+"inputCode": "e_sep_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
12 => {#1329
+"inputCode": "e_dg_pr_1_si"
+"description": "Punto 1"
+"inputType": "UI_TYPE_BOOLEAN"
}
13 => {#1332
+"inputCode": "e_dg_pr_1_desc"
+"description": "Zona de impresión de 1"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
14 => {#1331
+"inputCode": "e_dg_pr_1_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1252
+"entry": array:3 [
0 => {#1330
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1254
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1253
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
15 => {#1251
+"inputCode": "e_dg_pr_1_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
16 => {#1250
+"inputCode": "e_dg_pr_1_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
17 => {#1249
+"inputCode": "e_dg_pr_1_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
18 => {#1248
+"inputCode": "e_dg_pr_1_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
19 => {#1325
+"inputCode": "e_dg_pr_2_si"
+"description": "Punto 2"
+"inputType": "UI_TYPE_BOOLEAN"
}
20 => {#1328
+"inputCode": "e_dg_pr_2_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
21 => {#1327
+"inputCode": "e_dg_pr_2_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1245
+"entry": array:3 [
0 => {#1326
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1247
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1246
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
22 => {#1244
+"inputCode": "e_dg_pr_2_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
23 => {#1243
+"inputCode": "e_dg_pr_2_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
24 => {#1242
+"inputCode": "e_dg_pr_2_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
25 => {#1241
+"inputCode": "e_dg_pr_2_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
26 => {#1321
+"inputCode": "e_dg_pr_3_si"
+"description": "Punto 3"
+"inputType": "UI_TYPE_BOOLEAN"
}
27 => {#1324
+"inputCode": "e_dg_pr_3_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
28 => {#1323
+"inputCode": "e_dg_pr_3_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1238
+"entry": array:3 [
0 => {#1322
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1240
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1239
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
29 => {#1237
+"inputCode": "e_dg_pr_3_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
30 => {#1236
+"inputCode": "e_dg_pr_3_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
31 => {#1235
+"inputCode": "e_dg_pr_3_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
32 => {#1234
+"inputCode": "e_dg_pr_3_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
33 => {#1317
+"inputCode": "e_dg_pr_4_si"
+"description": "Punto 4"
+"inputType": "UI_TYPE_BOOLEAN"
}
34 => {#1320
+"inputCode": "e_dg_pr_4_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
35 => {#1319
+"inputCode": "e_dg_pr_4_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1231
+"entry": array:3 [
0 => {#1318
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1233
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1232
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
36 => {#1230
+"inputCode": "e_dg_pr_4_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
37 => {#1229
+"inputCode": "e_dg_pr_4_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
38 => {#1228
+"inputCode": "e_dg_pr_4_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
39 => {#1227
+"inputCode": "e_dg_pr_4_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
40 => {#1290
+"inputCode": "e_dg_pr_5_si"
+"description": "Punto 5"
+"inputType": "UI_TYPE_BOOLEAN"
}
41 => {#1316
+"inputCode": "e_dg_pr_5_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
42 => {#1315
+"inputCode": "e_dg_pr_5_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1311
+"entry": array:3 [
0 => {#1314
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1313
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1312
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
43 => {#1310
+"inputCode": "e_dg_pr_5_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
44 => {#1309
+"inputCode": "e_dg_pr_5_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
45 => {#1308
+"inputCode": "e_dg_pr_5_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
46 => {#1307
+"inputCode": "e_dg_pr_5_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
47 => {#1306
+"inputCode": "e_dg_pr_6_si"
+"description": "Punto 6"
+"inputType": "UI_TYPE_BOOLEAN"
}
48 => {#1305
+"inputCode": "e_dg_pr_6_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
49 => {#1304
+"inputCode": "e_dg_pr_6_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1300
+"entry": array:3 [
0 => {#1303
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1302
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1301
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
50 => {#1299
+"inputCode": "e_dg_pr_6_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
51 => {#1298
+"inputCode": "e_dg_pr_6_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
52 => {#1297
+"inputCode": "e_dg_pr_6_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
53 => {#1296
+"inputCode": "e_dg_pr_6_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
54 => {#1295
+"inputCode": "e_sep_digital_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
55 => {#1294
+"inputCode": "e_sep_entrega"
+"description": "Entrega"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
56 => {#1293
+"inputCode": "e_ent_tipo"
+"description": "Entrega"
+"inputType": "UI_TYPE_CHOICE"
+"options": {#1286
+"option": array:3 [
0 => {#1292
+"label": "Agencia"
+"value": "AGENCIA"
}
1 => {#1291
+"label": "Recoge Cliente"
+"value": "CLIENTE"
}
2 => {#1226
+"label": "Nuestros Medios"
+"value": "N_MEDIOS"
}
]
}
}
57 => {#1289
+"inputCode": "e_ent_destino"
+"description": "Entrega en"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1284
+"entry": array:8 [
0 => {#1288
+"code": "EL HIERRO"
+"name": "El Hierro"
}
1 => {#1287
+"code": "FUERTEVENTURA"
+"name": "Fuerteventura"
}
2 => {#1225
+"code": "LA GOMERA"
+"name": "La Gomera"
}
3 => {#1223
+"code": "LA PALMA"
+"name": "La Palma"
}
4 => {#1224
+"code": "LANZAROTE"
+"name": "Lanzarote"
}
5 => {#1221
+"code": "LAS PALMAS"
+"name": "Las Palmas"
}
6 => {#1281
+"code": "SANTA CRUZ"
+"name": "Santa Cruz"
}
7 => {#1285
+"code": "TENERIFE"
+"name": "Tenerife"
}
]
}
}
58 => {#1283
+"inputCode": "e_sep_entrega_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
59 => {#1282
+"inputCode": "e_texto_oferta"
+"description": "Texto de oferta"
+"inputType": "UI_TYPE_TEXT"
}
60 => {#1220
+"inputCode": "e_texto_oferta_mod"
+"description": "Mod."
+"inputType": "UI_TYPE_BOOLEAN"
}
]
}
}
In
ProductoService.php
line 168:
if ($_ENV['DEV_DEBUG'] == "true") {
dump($body);
dump($response);
// die;
}
"<?xml version="1.0" encoding="UTF-8" ?><enquiry><jobTemplateCode></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>puntual</value></jobVariable><jobVariable><name>ep_titulo</name><type>string</type><value>Pedido WEB</value></jobVariable><line><!-- Tipo de Trabajo. --><productCode>VARIOS</productCode><!-- Título de la línea de oferta. --><description>WEB SERVICES</description><quantity>100</quantity></line></enquiry>"
In
ProductoService.php
line 169:
if ($_ENV['DEV_DEBUG'] == "true") {
dump($body);
dump($response);
// die;
}
if ($response->success == "true") {
{#1288
+"success": "true"
+"lineQtyPrice": {#1224
+"lineNumber": "1"
+"quantity": "100"
+"price": "0"
+"taxValue": "0"
+"foreignPrice": "0"
+"foreignTaxValue": "0"
+"isUnresolved": "true"
+"whyUnresolved": """
Imposible evaluar el valor de atributo 'technicalSpec': Ha ocurrido un error evaluando la expresión para el elemento XML 'technicalSpec', línea 654: Error asignando a la variable 'te_text': Ocurrió un error al llamar a la función ITEM_NAME: Variable no definida 'e_material'\n
[ al llamar a FUNC get_tech_spec() ]\n
(Línea 1, producto 'VARIOS')
"""
}
}
In
ProductoController.php
line 150:
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 151:
if($_ENV['DEV_DEBUG'] == "true"){
dump($producto->getSubGrupoProducto()->getPlantilla());
dump($precio);
}
// Si no obtenemos un precio volvemos a las categorias
if(!isset($precio)){
null