mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Testeando la funcionalidad. Datatables no funciona
This commit is contained in:
@ -83,15 +83,12 @@ class PapelImpresionMargenModel extends \App\Models\GoBaseModel
|
||||
->table($this->table . " t1")
|
||||
->select(
|
||||
"t1.id AS id, t1.papel_impresion_id AS papel_impresion_id, t1.paginas_min AS paginas_min,
|
||||
t1.paginas_max AS paginas_max, t1.margen AS margen, t2.id AS papel_impresion"
|
||||
t1.paginas_max AS paginas_max, t1.margen AS margen"
|
||||
);
|
||||
//JJO
|
||||
$builder->where('papel_impresion_id', $papel_impresion_id);
|
||||
$builder->where("t1.is_deleted", 0);
|
||||
|
||||
$builder->join("lg_papel_impresion t2", "t1.papel_impresion_id = t2.id", "left");
|
||||
|
||||
|
||||
return empty($search)
|
||||
? $builder
|
||||
: $builder
|
||||
|
||||
Reference in New Issue
Block a user