I get a empty result when really i should get 3500

```
 $transcationhist = Transcationhistorique::whereDate('created_at', Carbon::today())->pluck('amount');

 $amount = 0 ;

 foreach ($transcationhist as $p) {

    $amount = $amount + $p['amount'];

 }

```