name)) { $this->name = 'payment_method'; } $this->payment_methods = Modules::getPaymentMethods(); if (empty($this->selected) && empty($this->getParentData('model'))) { $this->selected = setting('default.payment_method'); } return view('components.form.group.payment_method'); } }