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

@@ -78,6 +78,8 @@ class IngresosComponent extends Component
$this->ingreso_inicial = null;
$this->ingreso_final = null;
$this->total = null;
$this->dispatch('updated_totals');
}
public function edit($id): void
@@ -104,6 +106,7 @@ class IngresosComponent extends Component
Ingreso::where('id', $id)->delete();
$this->toast()->success('Ingreso eliminado correctamente')->send();
$this->dispatch('updated_totals');
}
#[Computed]