Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agendamento
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marcos Albano
agendamento
Commits
136993d1
Commit
136993d1
authored
Sep 01, 2020
by
Marcos Albano
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajustes em TituloController
parent
15be784c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
43 deletions
+19
-43
TituloController.php
app/Http/Controllers/TituloController.php
+15
-21
index.blade.php
resources/views/admin/pages/titulos/index.blade.php
+4
-22
No files found.
app/Http/Controllers/TituloController.php
View file @
136993d1
...
@@ -44,27 +44,21 @@ class TituloController extends Controller
...
@@ -44,27 +44,21 @@ class TituloController extends Controller
foreach
(
$tramites
as
$tramite
)
{
foreach
(
$tramites
as
$tramite
)
{
if
(
$tramite
)
{
if
(
$tramite
)
{
if
(
$tramite
->
id
===
67
)
{
if
(
$tramite
->
id
===
67
)
{
// $titulos = Titulo::where('lote_id', $pessoaLote->lote_id)->where('flag_cancelamento', '<>', 'S')->get();
$agendamentos
=
Agendamento
::
get
()
->
last
();
// foreach ($titulos as $titulo) {
return
view
(
$agendamentos
=
Agendamento
::
get
()
->
last
();
'admin.pages.titulos.index'
,
if
(
$agendamentos
)
{
[
return
view
(
'pessoasLote'
=>
$pessoasLote
,
'admin.pages.titulos.index'
,
'lotes'
=>
$lotes
,
[
'documentoPessoa'
=>
$documentoPessoa
,
'pessoasLote'
=>
$pessoasLote
,
'lotesTramites'
=>
$lotesTramites
,
'lotes'
=>
$lotes
,
'tramite'
=>
$tramite
,
'documentoPessoa'
=>
$documentoPessoa
,
'agendamentos'
=>
$agendamentos
,
// 'titulos' => $titulo,
]
'lotesTramites'
=>
$lotesTramites
,
);
'tramite'
=>
$tramite
,
}
else
{
'agendamentos'
=>
$agendamentos
,
return
view
(
'cpfValidoSemTitulo'
)
->
with
([
'cpf'
=>
$this
->
request
->
cpf
,
'nome'
=>
$tramite
->
nome
]);
]
}
);
}
}
else
{
return
view
(
'cpfValidoSemTitulo'
)
->
with
([
'cpf'
=>
$this
->
request
->
cpf
,
'nome'
=>
$tramite
->
nome
]);
}
// }
}
}
}
}
}
}
...
...
resources/views/admin/pages/titulos/index.blade.php
View file @
136993d1
...
@@ -11,23 +11,11 @@
...
@@ -11,23 +11,11 @@
<
script
src
=
"https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"
></
script
>
<
script
src
=
"https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"
></
script
>
<
script
src
=
"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/js/bootstrap-datepicker.js"
></
script
>
<
script
src
=
"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/js/bootstrap-datepicker.js"
></
script
>
<
div
class
=
"header_listagem small-box bg-gradient-success"
>
<
div
class
=
"header_listagem small-box bg-gradient-success"
>
{{
--
@
foreach
(
$documentosPessoa
as
$documentoPessoa
)
@
foreach
(
$lotes
as
$lote
)
<
h1
>
DADOS
DO
ATENDIMENTO
</
h1
>
<
h2
>
{{
$lote
->
proprietario
}}
</
h1
>
<
h3
>
CPF
:
{{
$documentoPessoa
->
cpf
}}
</
h1
>
<
h3
>
NÚMERO
DO
ATENDIMENTO
:
{{
$agendamentos
->
id
}}
</
h1
>
<
h3
>
DATA
DO
AGENDAMENTO
:
{{
date
(
'd/m/Y'
,
strtotime
(
$agendamentos
->
data
))
}}
</
h1
>
@
endforeach
@
endforeach
--
}}
</
div
>
</
div
>
<!--
<
h1
></
h1
>
-->
<
div
class
=
"card card-outline card-success"
>
<
div
class
=
"card card-outline card-success"
>
<
div
class
=
"card-header"
>
<
div
class
=
"card-header"
>
<
h3
class
=
"card-title"
><
b
>
Listagem
dos
Títulos
</
b
></
h3
>
<
h3
class
=
"card-title"
><
b
>
Listagem
dos
Títulos
</
b
></
h3
>
</
div
>
</
div
>
<!--
/.
card
-
header
-->
<
div
class
=
"card-body"
>
<
div
class
=
"card-body"
>
<
table
class
=
"table table-striped"
>
<
table
class
=
"table table-striped"
>
<
thead
>
<
thead
>
...
@@ -37,8 +25,8 @@
...
@@ -37,8 +25,8 @@
<
th
>
LOTE
</
th
>
<
th
>
LOTE
</
th
>
<
th
>
CPF
</
th
>
<
th
>
CPF
</
th
>
<
th
>
STATUS
</
th
>
<
th
>
STATUS
</
th
>
{{
--
<
th
>
DATA
</
th
>
--
}}
<
th
>
DATA
</
th
>
{{
--
<
th
>
NÚMERO
DO
ATENDIMENTO
</
th
>
--
}}
<
th
>
NÚMERO
DO
ATENDIMENTO
</
th
>
<
th
width
=
"100"
>
AÇÕES
</
th
>
<
th
width
=
"100"
>
AÇÕES
</
th
>
</
tr
>
</
tr
>
</
thead
>
</
thead
>
...
@@ -50,19 +38,14 @@
...
@@ -50,19 +38,14 @@
<
td
>
{{
$pessoaLote
->
lote
->
numero
}}
</
td
>
<
td
>
{{
$pessoaLote
->
lote
->
numero
}}
</
td
>
<
td
>
{{
$documentoPessoa
->
cpf
}}
</
td
>
<
td
>
{{
$documentoPessoa
->
cpf
}}
</
td
>
<
td
>
{{
$tramite
->
nome
}}
</
td
>
<
td
>
{{
$tramite
->
nome
}}
</
td
>
<
td
>
{{
date
(
'd/m/Y'
,
strtotime
(
$agendamentos
->
data
))
}}
</
td
>
<
td
>
{{
$agendamentos
->
id
}}
</
td
>
<
td
><
a
<
td
><
a
href
=
"{{ route('titulos.show',
$pessoaLote->lote
->id) }}"
href
=
"{{ route('titulos.show',
$pessoaLote->lote
->id) }}"
class
=
"badge bg-green"
>
DETALHES
</
a
></
td
>
class
=
"badge bg-green"
>
DETALHES
</
a
></
td
>
</
tr
>
</
tr
>
@
endforeach
@
endforeach
</
tbody
>
</
tbody
>
</
table
>
</
table
>
<
div
class
=
"container"
>
<
div
class
=
"container"
>
<
form
method
=
"post"
action
=
"{{ route('datepicker') }}"
enctype
=
"multipart/form-data"
>
<
form
method
=
"post"
action
=
"{{ route('datepicker') }}"
enctype
=
"multipart/form-data"
>
...
@@ -82,7 +65,6 @@
...
@@ -82,7 +65,6 @@
autoclose
:
true
,
autoclose
:
true
,
format
:
'dd/mm/yyyy'
format
:
'dd/mm/yyyy'
});
});
</
script
>
</
script
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment