Finalizadas las tareas de modificacion

This commit is contained in:
Jaime Jimenez
2023-08-18 13:51:09 +02:00
parent ce070dfcf7
commit 77cb70ede4
34 changed files with 318 additions and 129 deletions

View File

@ -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