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>CAJHKTSRA150XSBK</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"){
{#939
+"success": "true"
+"lineQtyPrice": {#941
+"lineNumber": "1"
+"quantity": "1"
+"price": "70.16"
+"taxValue": "0"
+"foreignPrice": "0"
+"foreignTaxValue": "0"
+"isUnresolved": "false"
+"whyUnresolved": {#942}
}
}
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)){
70.16
In
ProductoService.php
line 129:
$response = $this->apiService->productInputList($producto->getSubGrupoProducto()->getPlantilla());
if($_ENV['DEV_DEBUG'] == "true"){
dump($response);
// die;
}
if($response->success == "true"){
{#1044
+"success": "true"
+"inputs": {#1046
+"input": array:61 [
0 => {#1045
+"inputCode": "e_diseno"
+"description": "Diseño"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "999999"
}
1 => {#1106
+"inputCode": "e_material"
+"description": "Material"
+"inputType": "UI_TYPE_ITEM_LOOKUP"
}
2 => {#1105
+"inputCode": "e_maquina"
+"description": "Máquina"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1178
+"entry": array:4 [
0 => {#1104
+"code": "ANATOL"
+"name": "Pulpo 6 Colores"
}
1 => {#1103
+"code": "BROTHER GTX"
+"name": "Brother GTX"
}
2 => {#1171
+"code": "DIGIFLEX"
+"name": "Digiflex"
}
3 => {#1179
+"code": "PULPO"
+"name": "Pulpo 2 Colores"
}
]
}
}
3 => {#1177
+"inputCode": "e_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_BOOLEAN"
}
4 => {#1176
+"inputCode": "e_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_BOOLEAN"
}
5 => {#1175
+"inputCode": "e_sep_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
6 => {#1174
+"inputCode": "e_sg_calidad"
+"description": "Calidad"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1167
+"entry": array:3 [
0 => {#1173
+"code": "ALTA"
+"name": "Calidad Alta (70)"
}
1 => {#1172
+"code": "MUY ALTA"
+"name": "Calidad Muy Alta (120)"
}
2 => {#1102
+"code": "PREMIUM"
+"name": "Calidad Premium (200)"
}
]
}
}
7 => {#1170
+"inputCode": "e_sg_tipo_imp"
+"description": "Impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1085
+"entry": array:26 [
0 => {#1169
+"code": "1/0 LACA"
+"name": "1/0 Laca"
}
1 => {#1168
+"code": "1/0 PLASTICA"
+"name": "1/0 Plástica"
}
2 => {#1101
+"code": "1/1 LACA"
+"name": "1/1 Laca"
}
3 => {#1100
+"code": "1/1 PLASTICA"
+"name": "1/1 Plástica"
}
4 => {#1099
+"code": "2/0 LACA"
+"name": "2/0 Laca"
}
5 => {#1098
+"code": "2/0 PLASTICA"
+"name": "2/0 Plástica"
}
6 => {#1097
+"code": "2/1 LACA"
+"name": "2/1 Laca"
}
7 => {#1096
+"code": "2/1 PLASTICA"
+"name": "2/1 Plástica"
}
8 => {#1095
+"code": "2/2 LACA"
+"name": "2/2 Laca"
}
9 => {#1163
+"code": "2/2 PLASTICA"
+"name": "2/2 Plástica"
}
10 => {#1166
+"code": "3/0 LACA"
+"name": "3/0 Laca"
}
11 => {#1165
+"code": "3/0 PLASTICA"
+"name": "3/0 Plastica"
}
12 => {#1164
+"code": "3/3 LACA"
+"name": "3/3 Laca"
}
13 => {#1094
+"code": "3/3 PLASTICA"
+"name": "3/3 Plastica"
}
14 => {#1093
+"code": "4/0 LACA"
+"name": "4/0 Laca"
}
15 => {#1092
+"code": "4/0 PLASTICA"
+"name": "4/0 Plastica"
}
16 => {#1091
+"code": "4/4 LACA"
+"name": "4/4 Laca"
}
17 => {#1090
+"code": "4/4 PLASTICA"
+"name": "4/4 Plastica"
}
18 => {#1089
+"code": "5/0 LACA"
+"name": "5/0 Laca"
}
19 => {#1088
+"code": "5/0 PLASTICA"
+"name": "5/0 Plastica"
}
20 => {#1159
+"code": "5/5 LACA"
+"name": "5/5 Laca"
}
21 => {#1162
+"code": "5/5 PLASTICA"
+"name": "5/5 Plastica"
}
22 => {#1161
+"code": "6/0 LACA"
+"name": "6/0 Laca"
}
23 => {#1160
+"code": "6/0 PLASTICA"
+"name": "6/0 Plastica"
}
24 => {#1087
+"code": "6/6 LACA"
+"name": "6/6 Laca"
}
25 => {#1086
+"code": "6/6 PLASTICA"
+"name": "6/6 Plastica"
}
]
}
}
8 => {#1084
+"inputCode": "e_sg_cobertura"
+"description": "Porcentaje de Cobertura"
+"inputType": "UI_TYPE_DECIMAL"
+"minValue": "0.01"
+"maxValue": "100.00"
}
9 => {#1083
+"inputCode": "e_sg_nota"
+"description": "Notas"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "50"
+"upperCase": "false"
}
10 => {#1082
+"inputCode": "e_sep_serigrafia_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
11 => {#1081
+"inputCode": "e_sep_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
12 => {#1155
+"inputCode": "e_dg_pr_1_si"
+"description": "Punto 1"
+"inputType": "UI_TYPE_BOOLEAN"
}
13 => {#1158
+"inputCode": "e_dg_pr_1_desc"
+"description": "Zona de impresión de 1"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
14 => {#1157
+"inputCode": "e_dg_pr_1_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1078
+"entry": array:3 [
0 => {#1156
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1080
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1079
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
15 => {#1077
+"inputCode": "e_dg_pr_1_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
16 => {#1076
+"inputCode": "e_dg_pr_1_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
17 => {#1075
+"inputCode": "e_dg_pr_1_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
18 => {#1074
+"inputCode": "e_dg_pr_1_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
19 => {#1151
+"inputCode": "e_dg_pr_2_si"
+"description": "Punto 2"
+"inputType": "UI_TYPE_BOOLEAN"
}
20 => {#1154
+"inputCode": "e_dg_pr_2_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
21 => {#1153
+"inputCode": "e_dg_pr_2_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1071
+"entry": array:3 [
0 => {#1152
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1073
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1072
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
22 => {#1070
+"inputCode": "e_dg_pr_2_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
23 => {#1069
+"inputCode": "e_dg_pr_2_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
24 => {#1068
+"inputCode": "e_dg_pr_2_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
25 => {#1067
+"inputCode": "e_dg_pr_2_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
26 => {#1147
+"inputCode": "e_dg_pr_3_si"
+"description": "Punto 3"
+"inputType": "UI_TYPE_BOOLEAN"
}
27 => {#1150
+"inputCode": "e_dg_pr_3_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
28 => {#1149
+"inputCode": "e_dg_pr_3_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1064
+"entry": array:3 [
0 => {#1148
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1066
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1065
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
29 => {#1063
+"inputCode": "e_dg_pr_3_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
30 => {#1062
+"inputCode": "e_dg_pr_3_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
31 => {#1061
+"inputCode": "e_dg_pr_3_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
32 => {#1060
+"inputCode": "e_dg_pr_3_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
33 => {#1143
+"inputCode": "e_dg_pr_4_si"
+"description": "Punto 4"
+"inputType": "UI_TYPE_BOOLEAN"
}
34 => {#1146
+"inputCode": "e_dg_pr_4_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
35 => {#1145
+"inputCode": "e_dg_pr_4_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1057
+"entry": array:3 [
0 => {#1144
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1059
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1058
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
36 => {#1056
+"inputCode": "e_dg_pr_4_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
37 => {#1055
+"inputCode": "e_dg_pr_4_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
38 => {#1054
+"inputCode": "e_dg_pr_4_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
39 => {#1053
+"inputCode": "e_dg_pr_4_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
40 => {#1116
+"inputCode": "e_dg_pr_5_si"
+"description": "Punto 5"
+"inputType": "UI_TYPE_BOOLEAN"
}
41 => {#1142
+"inputCode": "e_dg_pr_5_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
42 => {#1141
+"inputCode": "e_dg_pr_5_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1137
+"entry": array:3 [
0 => {#1140
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1139
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1138
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
43 => {#1136
+"inputCode": "e_dg_pr_5_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
44 => {#1135
+"inputCode": "e_dg_pr_5_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
45 => {#1134
+"inputCode": "e_dg_pr_5_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
46 => {#1133
+"inputCode": "e_dg_pr_5_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
47 => {#1132
+"inputCode": "e_dg_pr_6_si"
+"description": "Punto 6"
+"inputType": "UI_TYPE_BOOLEAN"
}
48 => {#1131
+"inputCode": "e_dg_pr_6_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
49 => {#1130
+"inputCode": "e_dg_pr_6_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1126
+"entry": array:3 [
0 => {#1129
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1128
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1127
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
50 => {#1125
+"inputCode": "e_dg_pr_6_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
51 => {#1124
+"inputCode": "e_dg_pr_6_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
52 => {#1123
+"inputCode": "e_dg_pr_6_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
53 => {#1122
+"inputCode": "e_dg_pr_6_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
54 => {#1121
+"inputCode": "e_sep_digital_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
55 => {#1120
+"inputCode": "e_sep_entrega"
+"description": "Entrega"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
56 => {#1119
+"inputCode": "e_ent_tipo"
+"description": "Entrega"
+"inputType": "UI_TYPE_CHOICE"
+"options": {#1112
+"option": array:3 [
0 => {#1118
+"label": "Agencia"
+"value": "AGENCIA"
}
1 => {#1117
+"label": "Recoge Cliente"
+"value": "CLIENTE"
}
2 => {#1052
+"label": "Nuestros Medios"
+"value": "N_MEDIOS"
}
]
}
}
57 => {#1115
+"inputCode": "e_ent_destino"
+"description": "Entrega en"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1110
+"entry": array:8 [
0 => {#1114
+"code": "EL HIERRO"
+"name": "El Hierro"
}
1 => {#1113
+"code": "FUERTEVENTURA"
+"name": "Fuerteventura"
}
2 => {#1051
+"code": "LA GOMERA"
+"name": "La Gomera"
}
3 => {#1050
+"code": "LA PALMA"
+"name": "La Palma"
}
4 => {#1049
+"code": "LANZAROTE"
+"name": "Lanzarote"
}
5 => {#1048
+"code": "LAS PALMAS"
+"name": "Las Palmas"
}
6 => {#1107
+"code": "SANTA CRUZ"
+"name": "Santa Cruz"
}
7 => {#1111
+"code": "TENERIFE"
+"name": "Tenerife"
}
]
}
}
58 => {#1109
+"inputCode": "e_sep_entrega_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
59 => {#1108
+"inputCode": "e_texto_oferta"
+"description": "Texto de oferta"
+"inputType": "UI_TYPE_TEXT"
}
60 => {#1047
+"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" => 1183
"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" => 1184
"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" => 1185
"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" => 1186
"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" => 1187
"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" => 1188
"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" => 1189
"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" => 1190
"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" => 1191
"visible" => true
"api_type" => "jobVariable"
"value" => DateTime @1766547011 {#1413
date: 2025-12-24 03:30:11.008838 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"){
{#1575
+"success": "true"
+"inputs": {#1543
+"input": array:61 [
0 => {#1561
+"inputCode": "e_diseno"
+"description": "Diseño"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "999999"
}
1 => {#1741
+"inputCode": "e_material"
+"description": "Material"
+"inputType": "UI_TYPE_ITEM_LOOKUP"
}
2 => {#1740
+"inputCode": "e_maquina"
+"description": "Máquina"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1813
+"entry": array:4 [
0 => {#1739
+"code": "ANATOL"
+"name": "Pulpo 6 Colores"
}
1 => {#1738
+"code": "BROTHER GTX"
+"name": "Brother GTX"
}
2 => {#1806
+"code": "DIGIFLEX"
+"name": "Digiflex"
}
3 => {#1814
+"code": "PULPO"
+"name": "Pulpo 2 Colores"
}
]
}
}
3 => {#1812
+"inputCode": "e_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_BOOLEAN"
}
4 => {#1811
+"inputCode": "e_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_BOOLEAN"
}
5 => {#1810
+"inputCode": "e_sep_serigrafia"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
6 => {#1809
+"inputCode": "e_sg_calidad"
+"description": "Calidad"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1802
+"entry": array:3 [
0 => {#1808
+"code": "ALTA"
+"name": "Calidad Alta (70)"
}
1 => {#1807
+"code": "MUY ALTA"
+"name": "Calidad Muy Alta (120)"
}
2 => {#1737
+"code": "PREMIUM"
+"name": "Calidad Premium (200)"
}
]
}
}
7 => {#1805
+"inputCode": "e_sg_tipo_imp"
+"description": "Impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1720
+"entry": array:26 [
0 => {#1804
+"code": "1/0 LACA"
+"name": "1/0 Laca"
}
1 => {#1803
+"code": "1/0 PLASTICA"
+"name": "1/0 Plástica"
}
2 => {#1736
+"code": "1/1 LACA"
+"name": "1/1 Laca"
}
3 => {#1735
+"code": "1/1 PLASTICA"
+"name": "1/1 Plástica"
}
4 => {#1734
+"code": "2/0 LACA"
+"name": "2/0 Laca"
}
5 => {#1733
+"code": "2/0 PLASTICA"
+"name": "2/0 Plástica"
}
6 => {#1732
+"code": "2/1 LACA"
+"name": "2/1 Laca"
}
7 => {#1731
+"code": "2/1 PLASTICA"
+"name": "2/1 Plástica"
}
8 => {#1730
+"code": "2/2 LACA"
+"name": "2/2 Laca"
}
9 => {#1798
+"code": "2/2 PLASTICA"
+"name": "2/2 Plástica"
}
10 => {#1801
+"code": "3/0 LACA"
+"name": "3/0 Laca"
}
11 => {#1800
+"code": "3/0 PLASTICA"
+"name": "3/0 Plastica"
}
12 => {#1799
+"code": "3/3 LACA"
+"name": "3/3 Laca"
}
13 => {#1729
+"code": "3/3 PLASTICA"
+"name": "3/3 Plastica"
}
14 => {#1728
+"code": "4/0 LACA"
+"name": "4/0 Laca"
}
15 => {#1727
+"code": "4/0 PLASTICA"
+"name": "4/0 Plastica"
}
16 => {#1726
+"code": "4/4 LACA"
+"name": "4/4 Laca"
}
17 => {#1725
+"code": "4/4 PLASTICA"
+"name": "4/4 Plastica"
}
18 => {#1724
+"code": "5/0 LACA"
+"name": "5/0 Laca"
}
19 => {#1723
+"code": "5/0 PLASTICA"
+"name": "5/0 Plastica"
}
20 => {#1794
+"code": "5/5 LACA"
+"name": "5/5 Laca"
}
21 => {#1797
+"code": "5/5 PLASTICA"
+"name": "5/5 Plastica"
}
22 => {#1796
+"code": "6/0 LACA"
+"name": "6/0 Laca"
}
23 => {#1795
+"code": "6/0 PLASTICA"
+"name": "6/0 Plastica"
}
24 => {#1722
+"code": "6/6 LACA"
+"name": "6/6 Laca"
}
25 => {#1721
+"code": "6/6 PLASTICA"
+"name": "6/6 Plastica"
}
]
}
}
8 => {#1719
+"inputCode": "e_sg_cobertura"
+"description": "Porcentaje de Cobertura"
+"inputType": "UI_TYPE_DECIMAL"
+"minValue": "0.01"
+"maxValue": "100.00"
}
9 => {#1718
+"inputCode": "e_sg_nota"
+"description": "Notas"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "50"
+"upperCase": "false"
}
10 => {#1717
+"inputCode": "e_sep_serigrafia_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
11 => {#1716
+"inputCode": "e_sep_digital"
+"description": "Digital"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
12 => {#1790
+"inputCode": "e_dg_pr_1_si"
+"description": "Punto 1"
+"inputType": "UI_TYPE_BOOLEAN"
}
13 => {#1793
+"inputCode": "e_dg_pr_1_desc"
+"description": "Zona de impresión de 1"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
14 => {#1792
+"inputCode": "e_dg_pr_1_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1713
+"entry": array:3 [
0 => {#1791
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1715
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1714
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
15 => {#1712
+"inputCode": "e_dg_pr_1_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
16 => {#1711
+"inputCode": "e_dg_pr_1_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
17 => {#1710
+"inputCode": "e_dg_pr_1_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
18 => {#1709
+"inputCode": "e_dg_pr_1_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
19 => {#1786
+"inputCode": "e_dg_pr_2_si"
+"description": "Punto 2"
+"inputType": "UI_TYPE_BOOLEAN"
}
20 => {#1789
+"inputCode": "e_dg_pr_2_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
21 => {#1788
+"inputCode": "e_dg_pr_2_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1698
+"entry": array:3 [
0 => {#1787
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1708
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1706
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
22 => {#1697
+"inputCode": "e_dg_pr_2_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
23 => {#1696
+"inputCode": "e_dg_pr_2_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
24 => {#1695
+"inputCode": "e_dg_pr_2_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
25 => {#1693
+"inputCode": "e_dg_pr_2_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
26 => {#1782
+"inputCode": "e_dg_pr_3_si"
+"description": "Punto 3"
+"inputType": "UI_TYPE_BOOLEAN"
}
27 => {#1785
+"inputCode": "e_dg_pr_3_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
28 => {#1784
+"inputCode": "e_dg_pr_3_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1689
+"entry": array:3 [
0 => {#1783
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1691
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1690
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
29 => {#1666
+"inputCode": "e_dg_pr_3_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
30 => {#1675
+"inputCode": "e_dg_pr_3_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
31 => {#1656
+"inputCode": "e_dg_pr_3_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
32 => {#1647
+"inputCode": "e_dg_pr_3_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
33 => {#1778
+"inputCode": "e_dg_pr_4_si"
+"description": "Punto 4"
+"inputType": "UI_TYPE_BOOLEAN"
}
34 => {#1781
+"inputCode": "e_dg_pr_4_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
35 => {#1780
+"inputCode": "e_dg_pr_4_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1617
+"entry": array:3 [
0 => {#1779
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1646
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1644
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
36 => {#1616
+"inputCode": "e_dg_pr_4_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
37 => {#1615
+"inputCode": "e_dg_pr_4_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
38 => {#1614
+"inputCode": "e_dg_pr_4_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
39 => {#1612
+"inputCode": "e_dg_pr_4_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
40 => {#1751
+"inputCode": "e_dg_pr_5_si"
+"description": "Punto 5"
+"inputType": "UI_TYPE_BOOLEAN"
}
41 => {#1777
+"inputCode": "e_dg_pr_5_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
42 => {#1776
+"inputCode": "e_dg_pr_5_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1772
+"entry": array:3 [
0 => {#1775
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1774
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1773
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
43 => {#1771
+"inputCode": "e_dg_pr_5_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
44 => {#1770
+"inputCode": "e_dg_pr_5_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
45 => {#1769
+"inputCode": "e_dg_pr_5_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
46 => {#1768
+"inputCode": "e_dg_pr_5_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
47 => {#1767
+"inputCode": "e_dg_pr_6_si"
+"description": "Punto 6"
+"inputType": "UI_TYPE_BOOLEAN"
}
48 => {#1766
+"inputCode": "e_dg_pr_6_desc"
+"description": "Zona de impresión de 2"
+"inputType": "UI_TYPE_STRING"
+"maxLength": "20"
+"upperCase": "false"
}
49 => {#1765
+"inputCode": "e_dg_pr_6_cal"
+"description": "Calidad de impresión"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1761
+"entry": array:3 [
0 => {#1764
+"code": "ALTA"
+"name": "Alta"
}
1 => {#1763
+"code": "BAJA"
+"name": "Baja"
}
2 => {#1762
+"code": "MEDIA"
+"name": "Media"
}
]
}
}
50 => {#1760
+"inputCode": "e_dg_pr_6_sp_ancho"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
51 => {#1759
+"inputCode": "e_dg_pr_6_sp_alto"
+"description": "Superficie"
+"inputType": "UI_TYPE_NUMBER"
+"minValue": "0"
+"maxValue": "9999"
}
52 => {#1758
+"inputCode": "e_dg_pr_6_gama"
+"description": "Gama"
+"inputType": "UI_TYPE_BOOLEAN"
}
53 => {#1757
+"inputCode": "e_dg_pr_6_blanco"
+"description": "Blanco"
+"inputType": "UI_TYPE_BOOLEAN"
}
54 => {#1756
+"inputCode": "e_sep_digital_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
55 => {#1755
+"inputCode": "e_sep_entrega"
+"description": "Entrega"
+"inputType": "UI_TYPE_GROUP_BOX_START"
}
56 => {#1754
+"inputCode": "e_ent_tipo"
+"description": "Entrega"
+"inputType": "UI_TYPE_CHOICE"
+"options": {#1747
+"option": array:3 [
0 => {#1753
+"label": "Agencia"
+"value": "AGENCIA"
}
1 => {#1752
+"label": "Recoge Cliente"
+"value": "CLIENTE"
}
2 => {#1462
+"label": "Nuestros Medios"
+"value": "N_MEDIOS"
}
]
}
}
57 => {#1750
+"inputCode": "e_ent_destino"
+"description": "Entrega en"
+"inputType": "UI_TYPE_PACKAGE_ENTRY_LOOKUP"
+"entries": {#1745
+"entry": array:8 [
0 => {#1749
+"code": "EL HIERRO"
+"name": "El Hierro"
}
1 => {#1748
+"code": "FUERTEVENTURA"
+"name": "Fuerteventura"
}
2 => {#1451
+"code": "LA GOMERA"
+"name": "La Gomera"
}
3 => {#1441
+"code": "LA PALMA"
+"name": "La Palma"
}
4 => {#1492
+"code": "LANZAROTE"
+"name": "Lanzarote"
}
5 => {#1514
+"code": "LAS PALMAS"
+"name": "Las Palmas"
}
6 => {#1742
+"code": "SANTA CRUZ"
+"name": "Santa Cruz"
}
7 => {#1746
+"code": "TENERIFE"
+"name": "Tenerife"
}
]
}
}
58 => {#1744
+"inputCode": "e_sep_entrega_fin"
+"description": "Serigrafía"
+"inputType": "UI_TYPE_GROUP_BOX_END"
}
59 => {#1743
+"inputCode": "e_texto_oferta"
+"description": "Texto de oferta"
+"inputType": "UI_TYPE_TEXT"
}
60 => {#1528
+"inputCode": "e_texto_oferta_mod"
+"description": "Mod."
+"inputType": "UI_TYPE_BOOLEAN"
}
]
}
}