Agregando documentos

This commit is contained in:
2025-01-12 02:03:23 -03:00
parent b87ae08b9a
commit e3fb7259b9
11 changed files with 314 additions and 22 deletions

View File

@@ -76,6 +76,8 @@ class EgresosComponent extends Component
$this->numero = null;
$this->descripcion = null;
$this->valor = null;
$this->dispatch('updated_totals');
}
public function edit($id): void
@@ -102,6 +104,7 @@ class EgresosComponent extends Component
Egreso::where('id', $id)->delete();
$this->toast()->success('Egreso eliminado correctamente')->send();
$this->dispatch('updated_totals');
}
#[Computed]