where('client_id','=',$clientId)->get()) ->addColumn('date', function($model) { return Utils::timestampToDateTimeString(strtotime($model->created_at)); }) ->addColumn('message', function($model) { return $model->message; }) ->addColumn('balance', function($model) { return Utils::formatMoney($model->balance, $model->account->currency_id); }) ->orderColumns('date') ->make(); } }