ids)) { $model->whereIn('invoice_id', (array) $this->ids); } return $model->get(); } public function fields(): array { return [ 'invoice_id', 'code', 'name', 'amount', 'sort_order', ]; } }