Sorunu PHP ile hallettim sorgudan gelen veriyi foreach ile sıralayarak bir dizin içerisine düzenlenmiş verileri gönderdim sorun kalmadı.
foreach ($incomes as $income){
$data[] = [
trans('backend.id') => 'INC'.$income->id,
trans('backend.income_explanation') => $income->explanation,
trans('backend.income_date') => $income->date,
trans('backend.income_process_date') => $income->process_date,
trans('backend.income_amount') => $income->amount,
trans('backend.income_balance') => $income->amount,
trans('backend.income_currency') => $income->currency ? $income->currency->name : '',
];
}