Notice (8) : Undefined index: Producto [APP/controllers/cotizacion_controller.php , line 22 ]Code |
Context $repetido = false;
for ($i=0 ; $i<count($productos) ; $i++) {
if ($productos[$i]['Producto']['id'] == $id) { $id = "129"
$producto = array(
"Producto" => array(
"id" => "129",
"codigo" => "GAI-246-001_000",
"marca_id" => "7",
"modelo" => "246-001",
"serie_id" => "61",
"precio" => "347200",
"descripcion_corta" => "Teléfono industrial sellado para interior",
"descripcion" => "<ul>
<li>Teléfono industrial convencional para interior</li>
<li>Cubierta anticorrosiva, construida con plástico de alto impacto</li>
<li>No requiere energía externa</li>
<li>Control de volumen de auricular</li>
<li>Micrófono con cancelación de ruido</li>
<li>Teclado sellado para mantenerse libre de polvo y humedad</li>
<li>Gancho fijo con sensor de proximidad</li>
<li>Cable extensible de auricular de 1.8 mt, construido de Hytrel, que soporta hasta 100 kg de esfuerzo, manteniendose flexible en temperaturas extremas</li>
</ul>",
"subtitulo" => "Referencia en soluciones de telefonía industrial",
"fotos" => "1",
"tags" => "telefono convencional,industrial",
"iconos" => "",
"destacado" => "0",
"oferta" => "0",
"website" => "0",
"accesorio" => "0"
),
"Marca" => array(
"id" => "7",
"nombre_marca" => "Gai Tronics",
"prioridad" => "7",
"detalle" => null,
"principal" => "0"
),
"Serie" => array(
"id" => "61",
"nombre_serie" => "Otra"
),
"Recurso" => array(
array()
),
"Subcategoria" => array(
array(),
array()
),
"Gama" => array(
array(),
array()
)
)
$productos = array(
array(
"cantidad" => 1
),
array(
"Producto" => array(),
"Marca" => array(),
"Serie" => array(),
"Recurso" => array(),
"Subcategoria" => array(),
"Gama" => array(),
"cantidad" => 1
),
array(
"Producto" => array(),
"Marca" => array(),
"Serie" => array(),
"Recurso" => array(),
"Subcategoria" => array(),
"Gama" => array(),
"cantidad" => 1
),
array(
"Producto" => array(),
"Marca" => array(),
"Serie" => array(),
"Recurso" => array(),
"Subcategoria" => array(),
"Gama" => array(),
"cantidad" => 1
),
array(
"Producto" => array(),
"Marca" => array(),
"Serie" => array(),
"Recurso" => array(),
"Subcategoria" => array(),
"Gama" => array(),
"cantidad" => 1
),
array(
"Producto" => array(),
"Marca" => array(),
"Serie" => array(),
"Recurso" => array(),
"Subcategoria" => array(),
"Gama" => array(),
"cantidad" => 1
)
)
$repetido = false
$i = 0 CotizacionController::agregar() - APP/controllers/cotizacion_controller.php, line 22
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Errors Adaptor | El valor de estar comunicados
Missing View
Error:
The view for CotizacionController:: agregar() was not found.
Error:
Confirm you have created the file: /var/www/vhosts/adaptor.cl/httpdocs/app/views/cotizacion/agregar.ctp
Notice:
If you want to customize this error message, create app/views/errors/missing_view.ctp