0
My Edit controller
$tipos = TituloTipo::all();
$devedores = Devedor::all();
$clientes = Cliente::all();
$divida = Divida::find($id);
return view('admin.dividas.edit',compact('divida','devedores','clientes', 'tipos' ));
In the Debt table I need that whenever the user edit, preview the total_corrected field be updated to a simple interest formula. total_corrected = value x interest x months
total_corrigido
is a field of your table? if yes with events you can solve this...– novic