public function outActivePaymentsInWallet(){ global $app; $result = ''; if($app->settings->integration_payment_services_active){ $payments = $app->model->system_payment_services->sort("id desc")->getAll("status=? and id IN(".implode(",", $app->settings->integration_payment_services_active).")", [1]); if($payments){ foreach ($payments as $key => $value) { $result .= '
'.$value["name"].''.$value["title"].'
'; } } } return $result; }