fixed exports
This commit is contained in:
@ -9,7 +9,7 @@ class Transactions extends Export
|
||||
{
|
||||
public function collection()
|
||||
{
|
||||
$model = Model::with(['account', 'bill', 'category', 'contact', 'invoice'])->usingSearchString(request('search'))->get();
|
||||
$model = Model::with(['account', 'bill', 'category', 'contact', 'invoice'])->usingSearchString(request('search'));
|
||||
|
||||
if (!empty($this->ids)) {
|
||||
$model->whereIn('id', (array) $this->ids);
|
||||
|
Reference in New Issue
Block a user