Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imobiliaria2.0 #54

Open
wants to merge 7 commits into
base: imobiliaria2.0
Choose a base branch
from
Open

Conversation

gleydsonop
Copy link

Itens implementados:
1-Criar ação do botao editar imóvel
2-Criar ação do botao deletar imóvel
3- Formatar o type de cadastro de imóveis
5- Criar seerviços e ações nos repositories para o Controller Imovel (salvar,editar, deletar)
8-Mapear Entidade ContratoLocação

$em = $this->getDoctrine()->getManager();
$em->persist($imovel);
$em->flush();
$this->imovelService->salvar($imovel);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ótimo, mas sempre é uma boa pratica não deixar código comentado, já que temos o git para vermos os historicos...


if ($form->isSubmitted()) {
$imovelParaEditar = $form->getData();
$this->imovelService->editar($imovelParaEditar);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bacana.

}


}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lembrar sempre das psrs e deixar uma linha embranco no fim do arquivo.

}


}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

faltou uma linha em branco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants