Agregando documentos
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user