mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
corregido para POD
This commit is contained in:
@ -405,10 +405,12 @@ class PapelGenericoModel extends \App\Models\BaseModel
|
|||||||
$builder->where("t2.rotativa", 0);
|
$builder->where("t2.rotativa", 0);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if($POD == false){
|
if($POD == false){
|
||||||
if(($tipo == 'color' || $tipo == 'negro')){
|
$builder->where("t2.rotativa", 1);
|
||||||
$builder->where("t2.rotativa", 1);
|
|
||||||
}
|
}
|
||||||
|
else if ($POD == true){
|
||||||
|
$builder->where("t2.rotativa", 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user