Al crear un presupuesto hay que fijar el user_update_id. FIXED

This commit is contained in:
Ignacio Martinez Navajas
2025-05-06 10:55:21 +02:00
parent c2011e1c25
commit 20594bd44c

View File

@ -519,6 +519,7 @@ class PresupuestoModel extends \App\Models\BaseModel
/* Inserccion */ /* Inserccion */
else { else {
$fields['user_created_id'] = auth()->id(); $fields['user_created_id'] = auth()->id();
$fields['user_update_id'] = auth()->id();
$this->db->table($this->table)->insert($fields); $this->db->table($this->table)->insert($fields);
return $this->db->insertID(); return $this->db->insertID();
} }