mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
hay que corregir el checkeo de lineas con las paginas
This commit is contained in:
@ -1767,6 +1767,20 @@ class PresupuestoService extends BaseService
|
||||
if(empty($linea))
|
||||
continue;
|
||||
|
||||
if(!array_key_exists('tipo_linea', $linea['fields'])){
|
||||
if($isColor){
|
||||
if($isHq)
|
||||
$linea['fields']['tipo_linea'] = 'lp_colorhq';
|
||||
else
|
||||
$linea['fields']['tipo_linea'] = 'lp_color';
|
||||
}
|
||||
else{
|
||||
if($isHq)
|
||||
$linea['fields']['tipo_linea'] = 'lp_bnhq';
|
||||
else
|
||||
$linea['fields']['tipo_linea'] = 'lp_bn';
|
||||
}
|
||||
}
|
||||
array_push($lineas, $linea);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user