i need to add up all the money in the column "ingresos".
Error: Property [presupuesto] does not exist on this collection instance.
used the variable :
database:
Controller:
public function contador(){
        if (Auth::guest()) return redirect('/login');
      
        $contador = \App\Models\Registro::All();
       
        return view('contador',compact('contador'));
   
    }
I need to add the income
via Chebli Mohamed

Aucun commentaire:
Enregistrer un commentaire