mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Realizadas todas la modificaciones solicitadas por @jm
This commit is contained in:
@ -252,16 +252,14 @@ class MaquinaModel extends \App\Models\GoBaseModel
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getIdMaquinasForPapelImpresion($papel_impresion_id, $rotativa, $ancho, $alto){
|
||||
public function getIdMaquinasForPapelImpresion($papel_impresion_id, $rotativa){
|
||||
$builder = $this->db
|
||||
->table($this->table . " t1")
|
||||
->select(
|
||||
"'".$papel_impresion_id."'". " as papel_impresion_id, t1.id AS maquina_id, '0' as active"
|
||||
);
|
||||
$builder->where("t1.is_rotativa", $rotativa);
|
||||
$builder->where("t1.ancho >", $ancho);
|
||||
$builder->where("t1.alto >", $alto);
|
||||
|
||||
|
||||
return $builder;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user