mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
rotativa planning
This commit is contained in:
@ -369,5 +369,16 @@ class PapelImpresionModel extends \App\Models\BaseModel
|
||||
return "";
|
||||
}
|
||||
|
||||
public function querySelect(?string $query)
|
||||
{
|
||||
$q = $this->builder()->select([
|
||||
"id",
|
||||
"nombre as name",
|
||||
]);
|
||||
if ($query) {
|
||||
$q->like("name", $query);
|
||||
}
|
||||
return $q;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user