funcionando lineas presupuesto plana

This commit is contained in:
Jaime Jiménez Ortega
2023-10-29 21:27:52 +01:00
parent 721e234849
commit f905e017ac
19 changed files with 350 additions and 69 deletions

View File

@ -122,7 +122,9 @@ class PapelGenericoModel extends \App\Models\GoBaseModel
if($is_cubierta==true){
$builder->where("t2.cubierta", 1);
}
else if($is_sobrecubierta==true){
}
if(!is_null($is_sobrecubierta)){
if($is_sobrecubierta==true){
$builder->where("t2.sobrecubierta", 1);
}
}