Skip to content

Commit

Permalink
🔨 #52 melhoria tela
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Sep 2, 2024
1 parent 6d6ef01 commit ee64f53
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ public function onView($param = null)
$this->form->addFields([new TLabel("Data situação cadastral:")],[new TTextDisplay( Transforme::date($estabelecimento->data_situacao_cadastral) )]
,[new TLabel("Situação cadastral:")],[new TTextDisplay( $estabelecimento->situacao_cadastral )]
);
$this->form->addContent([new TFormSeparator("CNAE", '#333', '18', '#eee')]);
$controllerCnae = new CnaeController();
$cnae_principal = $controllerCnae->getNameTransformerById( $estabelecimento->cnae_fiscal_principal );
$this->form->addFields([new TLabel("Principal:")],[new TTextDisplay( $cnae_principal )]
,[new TLabel("Lista secundário:")],[new TTextDisplay( $estabelecimento->cnae_fiscal_secundaria )]
);
$this->showEmpresaSimples($cnpj_basico);
$this->form->addContent([new TFormSeparator("Endereço", '#333', '18', '#eee')]);

Expand All @@ -89,7 +95,7 @@ public function onView($param = null)
TTransaction::close(); // fecha a transação.
parent::add($this->form);
$this->showGridSocios($cnpj_basico);
//$this->showGridCnae($empresa->getCnaesSecundarios());
//$this->showGridCnae($estabelecimento->getCnaesSecundarios());
}
catch(Exception $e)
{
Expand Down

0 comments on commit ee64f53

Please sign in to comment.