diff --git a/modules/addons/gofasnfeio/config.php b/modules/addons/gofasnfeio/config.php index 47dc556..6050cc6 100644 --- a/modules/addons/gofasnfeio/config.php +++ b/modules/addons/gofasnfeio/config.php @@ -248,21 +248,6 @@ function gofasnfeio_config() { 'Type' => 'text', 'Description' => 'O que é Código de Serviço?', ]]; - $nfeSerialNumber = gnfe_get_company_info()['rpsSerialNumber']; - - if ( - Capsule::table('tbladdonmodules') - ->where('module', '=', 'gofasnfeio') - ->where('setting', '=', 'rps_serial_number') - ->get(['value'])[0]->value != $nfeSerialNumber - ) { - try { - Capsule::table('tbladdonmodules') - ->where('module', '=', 'gofasnfeio') - ->where('setting', '=', 'rps_serial_number') - ->update(['value' => gnfe_get_company_info()['rpsSerialNumber']]); - } catch (\Throwable $th) {} - } $issue_note_default_cond = ['issue_note_default_cond' => [ 'FriendlyName' => 'Quando emitir NFE',