Commit f72899c2 authored by Marcos Albano's avatar Marcos Albano 💬

Centralizacao dos campos

parent 36c5d3c5
......@@ -67,41 +67,38 @@ class TituloController extends Controller
//------------------FUNCIONANDO----------------------------------
// $documentosPessoa = DocumentoPessoa::where('cpf', $this->request->cpf)->with('pessoa')->get();
// foreach ($documentosPessoa as $documentoPessoa) {
// //echo "Documento/Pessoa: " . "{$documentoPessoa}<hr>";
// $pessoasLote = PessoaLote::where('pessoa_id', $documentoPessoa->pessoa_id)->with('lote')->get();
// foreach ($pessoasLote as $pessoaLote) {
// //echo "Pessoa/Pessoa_Lote: " . "{$pessoaLote}<hr>";
// $pessoasLotes = PessoaLote::where('pessoa_id', $documentoPessoa->pessoa_id)->with('lote')->get();
// foreach ($pessoasLotes as $pessoaLote) {
// $lotes = Lote::where('id', $pessoaLote->lote_id)->with('lotesTramites', 'municipio')->get();
// foreach ($lotes as $lote) {
// $lotesTramites = LoteTramite::where('lote_id', $lote->id)->with('tramites')->get();
// // echo "LOte/Tramite: " . "{$lotesTramites}<hr>";
// $lotesTramites = LoteTramite::where('lote_id', $lote->id)->get();
// foreach ($lotesTramites as $loteTramite) {
// $tramites = Tramite::where('id', $loteTramite->tramite_id)->where('documento_tipo', 'TITULO DO IMOVEL')
// $tramites = Tramite::where('id', $loteTramite->tramite_id)->with('setor')->where('documento_tipo', 'TITULO DO IMOVEL')
// ->where('id', 67)
// ->get();
// foreach ($tramites as $tramite) {
// $titulos = Titulo::where('lote_id', $lote->id)->where('flag_cancelamento', '<>', 'S')->get();
// echo "Titulo: " . "{$titulos}<hr>";
// foreach ($titulos as $titulo) {
// echo "<b>Município: {$lote->municipio->nome}" . " | Título: {$titulo->numero_titulo}" . " | Proprietário: {$lote->proprietario}" .
// " | CPF: {$documentoPessoa->cpf}" . " | Tramite Nome: {$tramite->nome}" . " | Localizacao: {$loteTramite->localizacao_nova}" . " | Lote: {$lote->numero}" . " | Cancelado?: {$titulo->flag_cancelamento} </b><hr>";
// //echo "Tramite: " . "{$tramites}<hr>";
// return view('admin.pages.titulos.index',
// [
// 'titulos' => $titulos,
// 'lotes' => $lotes,
// 'documentosPessoa' => $documentosPessoa,
// 'lotesTramites' => $lotesTramites,
// 'tramites' => $tramites,
// ]);
// // echo "<b>Município: {$lote->municipio->nome}" . " | Título: {$titulo->numero_titulo}" . " | Proprietário: {$lote->proprietario}" .
// // " | CPF: {$documentoPessoa->cpf}" . " | Tramite Nome: {$tramite->nome}" . " | Localizacao: {$loteTramite->localizacao_nova}" . " | Lote: {$lote->numero}" . " | Cancelado?: {$titulo->flag_cancelamento} </b><hr>";
// //echo "Titulo: " . "{$titulo}<hr>";
// }
// }
// }
// }
// }
// return view(
// 'admin.pages.titulos.index',
// [
// 'titulos' => $titulos,
// 'lotes' => $lotes,
// 'documentosPessoa' => $documentosPessoa,
// 'loteTramite' => $loteTramite,
// 'tramite' => $tramite,
// 'pessoasLotes' => $pessoasLotes,
// ]
// );
// }
// }
/**
......
......@@ -24,7 +24,7 @@
<div class="card-body">
<table class="table table-striped" >
<thead>
<tr >
<tr align="center">
<th>MUNICÍPIO</th>
<th>PROPRIETÁRIO</th>
<th>NÚMERO TÍTULO</th>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment