Exception: "TypeError"
Exception: "TypeError"

The input parameter of the applyScopes() function can be of type Relation and the returned value can also be of type Relation.
yajra/laravel-datatables-buttons,yajra/laravel-datatables-buttons