mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Finalizadas las tareas de modificacion
This commit is contained in:
@ -16,12 +16,14 @@ class TarifaacabadoModel extends \App\Models\GoBaseModel
|
||||
0 => "t1.nombre",
|
||||
1 => "precio_min",
|
||||
2 => "importe_fijo",
|
||||
3 => "t1.mostrar_en_presupuesto",
|
||||
];
|
||||
|
||||
protected $allowedFields = [
|
||||
"nombre",
|
||||
"precio_min",
|
||||
"importe_fijo",
|
||||
"mostrar_en_presupuesto",
|
||||
"deleted_at",
|
||||
"is_deleted",
|
||||
"user_created_id",
|
||||
@ -79,7 +81,7 @@ class TarifaacabadoModel extends \App\Models\GoBaseModel
|
||||
public function getResource(string $search = "")
|
||||
{
|
||||
$builder = $this->db->table($this->table . " t1")->select(
|
||||
"t1.id AS id, t1.nombre AS nombre, t1.precio_min AS precio_min, t1.importe_fijo AS importe_fijo"
|
||||
"t1.id AS id, t1.nombre AS nombre, t1.precio_min AS precio_min, t1.importe_fijo AS importe_fijo, t1.mostrar_en_presupuesto AS mostrar_en_presupuesto"
|
||||
);
|
||||
|
||||
//JJO
|
||||
|
||||
Reference in New Issue
Block a user