diff --git a/modules/addons/gofasnfeio/config.php b/modules/addons/gofasnfeio/config.php index 5e2f744..47dc556 100644 --- a/modules/addons/gofasnfeio/config.php +++ b/modules/addons/gofasnfeio/config.php @@ -218,13 +218,6 @@ function gofasnfeio_config() { set_custom_field_ini_date(); } - $rps_number = gnfe_config('rps_number'); - if (is_numeric($rps_number)) { - $rpsDescription = 'RPS atualizada de acordo com última nota fiscal emitida, clique no botão salvar alterações para atualizar automaticamente.'; - } else { - $rpsDescription = 'Consultar RPS'; - } - $intro = ['intro' => [ 'FriendlyName' => '', 'Description' => '

Módulo Nota Fiscal NFE.io para WHMCS v' . $module_version . '

' @@ -232,7 +225,11 @@ function gofasnfeio_config() { $intro['intro']['Description'] .= '

'. $available_update_message .'

'; $intro['intro']['Description'] .= '

'. $update_denied .'

'; - $intro['intro']['Description'] .= '

'. $rpsDescription .'

'; + + $intro['intro']['Description'] .= + ' + Consultar: RPS | Série + '; $api_key = ['api_key' => [ 'FriendlyName' => 'API Key', @@ -267,13 +264,6 @@ function gofasnfeio_config() { } catch (\Throwable $th) {} } - $rps_serial_number = ['rps_serial_number' => [ - 'FriendlyName' => 'Série do RPS', - 'Type' => 'text', - 'Disabled' => 'true', - 'Description' => 'Saiba mais', - ]]; - $issue_note_default_cond = ['issue_note_default_cond' => [ 'FriendlyName' => 'Quando emitir NFE', 'Type' => 'radio', @@ -369,7 +359,7 @@ function gofasnfeio_config() { 'Description' => '© ' . date('Y') . ' Suporte módulo', ]]; - $fields = array_merge($intro, $api_key, $company_id, $service_code, $rps_serial_number, $issue_note_default_cond, $issue_note_after, $gnfe_email_nfe_config,$development_, $cancel_invoice_cancel_nfe, $debug, $insc_municipal,$cpf,$cnpj, $tax, $invoiceDetails, $send_invoice_url,$desc_custom, $footer); + $fields = array_merge($intro, $api_key, $company_id, $service_code, $issue_note_default_cond, $issue_note_after, $gnfe_email_nfe_config,$development_, $cancel_invoice_cancel_nfe, $debug, $insc_municipal,$cpf,$cnpj, $tax, $invoiceDetails, $send_invoice_url,$desc_custom, $footer); $configarray = [ 'name' => 'NFE.io', 'description' => 'Módulo Nota Fiscal NFE.io para WHMCS',