mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminado lineas de presupuesto
This commit is contained in:
@ -295,35 +295,7 @@ class PapelImpresionModel extends \App\Models\GoBaseModel
|
||||
$builder->where("t1.rotativa", 1);
|
||||
else
|
||||
$builder->where("t1.rotativa", 0);
|
||||
/*
|
||||
if($tipo=='negro' || $tipo=='negrohq'){
|
||||
$builder->where("t1.bn", 1);
|
||||
$builder->where("t1.rotativa", 0);
|
||||
}
|
||||
elseif($tipo=='color' || $tipo=='colorhq'){
|
||||
$builder->where("t1.color", 1);
|
||||
$builder->where("t1.rotativa", 0);
|
||||
}
|
||||
elseif($tipo=='cubierta'){
|
||||
$builder->where("t1.cubierta", 1);
|
||||
$builder->where("t1.color", 1);
|
||||
$builder->where("t1.rotativa", 0);
|
||||
}
|
||||
elseif($tipo=='sobrecubierta'){
|
||||
$builder->where("t1.sobrecubierta", 1);
|
||||
$builder->where("t1.color", 1);
|
||||
$builder->where("t1.rotativa", 0);
|
||||
}
|
||||
elseif($tipo=='rot_bn'){
|
||||
$builder->where("t1.bn", 1);
|
||||
$builder->where("t1.rotativa", 1);
|
||||
}
|
||||
elseif($tipo=='rot_color'){
|
||||
$builder->where("t1.color", 1);
|
||||
$builder->where("t1.rotativa", 1);
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
return $builder->orderBy("t1.id", "asc")->get()->getResultObject();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user