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
e7d9353a
Commit
e7d9353a
authored
Sep 02, 2020
by
Marcos Albano
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adicionado o campo hora e sua funcionalidade
parent
89059bb5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
100 additions
and
165 deletions
+100
-165
DatepickerController.php
app/Http/Controllers/DatepickerController.php
+2
-0
index.blade.php
resources/views/admin/pages/titulos/index.blade.php
+43
-31
show.blade.php
resources/views/admin/pages/titulos/show.blade.php
+0
-26
cpfInvalido.blade.php
resources/views/cpfInvalido.blade.php
+15
-34
cpfValidoSemTitulo.blade.php
resources/views/cpfValidoSemTitulo.blade.php
+16
-35
dadosAtendimento.blade.php
resources/views/dadosAtendimento.blade.php
+21
-37
pesquisaCpf.blade.php
resources/views/pesquisaCpf.blade.php
+3
-2
No files found.
app/Http/Controllers/DatepickerController.php
View file @
e7d9353a
...
...
@@ -18,6 +18,7 @@ class DatepickerController extends Controller
$datepicker
=
new
Datepicker
();
$datepicker
->
cpf
=
$request
->
get
(
'cpf'
);
$datepicker
->
data
=
$request
->
get
(
'data'
);
$datepicker
->
hora
=
$request
->
get
(
'hora'
);
$datepicker
->
detentor
=
$request
->
get
(
'detentor'
);
$datepicker
->
save
();
...
...
@@ -26,6 +27,7 @@ class DatepickerController extends Controller
'detentor'
=>
$request
->
get
(
'detentor'
),
'data'
=>
$request
->
get
(
'data'
),
'id'
=>
$request
->
get
(
'id'
),
'hora'
=>
$request
->
get
(
'hora'
),
]);
}
}
resources/views/admin/pages/titulos/index.blade.php
View file @
e7d9353a
...
...
@@ -14,7 +14,8 @@
<
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
>
<
link
rel
=
"stylesheet"
href
=
"//cdnjs.cloudflare.com/ajax/libs/timepicker/1.3.5/jquery.timepicker.min.css"
>
<
script
src
=
"//cdnjs.cloudflare.com/ajax/libs/timepicker/1.3.5/jquery.timepicker.min.js"
></
script
>
<
div
class
=
"card card-outline card-success"
>
<
div
class
=
"card-header"
>
<
h3
class
=
"card-title"
><
b
>
Listagem
dos
Títulos
</
b
></
h3
>
...
...
@@ -28,63 +29,74 @@
<
th
>
LOTE
</
th
>
<
th
>
CPF
</
th
>
<
th
>
STATUS
</
th
>
{{
--
<
th
>
DATA
</
th
>
--
}}
{{
--
<
th
>
NÚMERO
DO
ATENDIMENTO
</
th
>
--
}}
<
th
width
=
"100"
>
AÇÕES
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$pessoasLote
as
$pessoaLote
)
<
tr
>
<
td
>
{{
$pessoaLote
->
lote
->
municipio
->
nome
}}
</
td
>
<
td
>
{{
$pessoaLote
->
pessoa
->
nome
}}
</
td
>
<
td
>
{{
$pessoaLote
->
lote
->
numero
}}
</
td
>
<
td
>
{{
$documentoPessoa
->
cpf
}}
</
td
>
<
td
>
{{
$tramite
->
nome
}}
</
td
>
{{
--
<
td
>
{{
date
(
'd/m/Y'
,
strtotime
(
$agendamentos
->
data
))
}}
</
td
>
--
}}
<
td
><
a
href
=
"{{ route('titulos.show',
$pessoaLote->lote
->id) }}"
class
=
"badge bg-green"
>
DETALHES
</
a
></
td
>
</
tr
>
<
tr
>
<
td
>
{{
$pessoaLote
->
lote
->
municipio
->
nome
}}
</
td
>
<
td
>
{{
$pessoaLote
->
pessoa
->
nome
}}
</
td
>
<
td
>
{{
$pessoaLote
->
lote
->
numero
}}
</
td
>
<
td
>
{{
$documentoPessoa
->
cpf
}}
</
td
>
<
td
>
{{
$tramite
->
nome
}}
</
td
>
<
td
><
a
href
=
"{{ route('titulos.show',
$pessoaLote->lote
->id) }}"
class
=
"badge bg-green"
>
DETALHES
</
a
></
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
{{
--
@
if
(
$agendamento
)
<
td
>
{{
$agendamento
->
id
}}
</
td
>
@
endif
--
}}
<
div
class
=
"container"
>
<
form
method
=
"post"
action
=
"{{ route('datepicker', [
$pessoaLote->pessoa
->nome,
$documentoPessoa->cpf
,
$agendamento->id
]) }}"
enctype
=
"multipart/form-data"
>
<
form
method
=
"post"
action
=
"{{ route('datepicker', [
$pessoaLote->pessoa
->nome,
$documentoPessoa->cpf
,
$agendamento->id
]) }}"
enctype
=
"multipart/form-data"
>
@
csrf
<
div
class
=
"row"
>
<
div
class
=
"col-md-4"
></
div
>
<
div
class
=
"form-group col-md-4"
>
<
hr
>
<
strong
><
h4
>
AGENDAMENTO
</
h4
></
strong
>
{{
--
<
strong
>
Número
do
Agendamento
:
</
strong
><
br
>
--
}}
<
input
class
=
"text form-control"
type
=
"hidden"
id
=
"datepicker1"
name
=
"id"
value
=
"{{
$agendamento->id
}}"
>
<
strong
>
<
h4
>
AGENDAMENTO
</
h4
>
</
strong
>
<
input
class
=
"text form-control"
type
=
"hidden"
id
=
"datepicker1"
name
=
"id"
value
=
"{{
$agendamento->id
}}"
>
<
strong
>
Data
:
</
strong
><
br
>
<
input
class
=
"data form-control"
type
=
"text"
id
=
"datepicker"
name
=
"data"
>
{{
--
<
strong
>
Detentor
:
</
strong
><
br
>
--
}}
<
input
class
=
"text form-control"
type
=
"hidden"
id
=
"datepicker1"
name
=
"detentor"
value
=
"{{
$pessoaLote->pessoa
->nome }}"
>
{{
--
<
strong
>
CPF
:
</
strong
><
br
>
--
}}
<
input
class
=
"text form-control"
type
=
"hidden"
id
=
"datepicker1"
name
=
"cpf"
value
=
"{{
$documentoPessoa->cpf
}}"
><
br
>
{{
--
<
input
class
=
"boolean form-control"
id
=
"datepicker1"
name
=
"agendado"
value
=
"true"
>
--
}}
<
input
class
=
"text form-control"
type
=
"hidden"
id
=
"datepicker1"
name
=
"detentor"
value
=
"{{
$pessoaLote->pessoa
->nome }}"
>
<
input
class
=
"text form-control"
type
=
"hidden"
id
=
"datepicker1"
name
=
"cpf"
value
=
"{{
$documentoPessoa->cpf
}}"
><
br
>
<
strong
>
HORA
:
</
strong
><
br
>
<
input
class
=
"ui-timepicker-input"
type
=
"text"
id
=
"timepicker"
name
=
"hora"
><
br
>
<
hr
>
<
button
type
=
"submit"
class
=
"btn btn-success"
class
=
"badge bg-green"
>
AGENDAR
</
a
></
button
>
</
div
>
</
div
>
</
form
>
</
div
>
{{
--
<
form
action
=
"{{ route('dadosAtendimento') }}"
enctype
=
"multipart/form-data"
>
<
button
type
=
"submit"
class
=
"btn btn-success"
class
=
"badge bg-green"
>
DADOS
ATENDIMENTO
</
a
></
button
>
</
form
>
--
}}
<
script
type
=
"text/javascript"
>
$
(
'#datepicker'
)
.
datepicker
({
autoclose
:
true
,
format
:
'dd/mm/yyyy'
});
$
(
'#datepicker1'
)
.
datepicker
();
$
(
document
)
.
ready
(
function
()
{
$
(
'input.timepicker'
)
.
timepicker
({});
});
$
(
'#timepicker'
)
.
timepicker
({
timeFormat
:
'h:mm p'
,
interval
:
30
,
minTime
:
'08'
,
maxTime
:
'5:00pm'
,
defaultTime
:
'11'
,
startTime
:
'08:00'
,
dynamic
:
false
,
dropdown
:
true
,
scrollbar
:
true
});
</
script
>
</
div
>
</
div
>
...
...
resources/views/admin/pages/titulos/show.blade.php
View file @
e7d9353a
...
...
@@ -6,11 +6,9 @@
@
section
(
'content'
)
<
div
class
=
"row"
>
<!--
left
column
-->
<
div
class
=
"col-md-3"
>
</
div
>
<
div
class
=
"col-md-6 tela_cpf_invalido"
>
<
img
class
=
"logoidace"
src
=
"{{ asset('img/logo-idace.png') }}"
>
<
h1
class
=
"titulo"
>
Dados
do
atendimento
</
h1
>
...
...
@@ -20,23 +18,10 @@
<
h4
class
=
"titulo2"
>
LOTE
:
<
strong
>
{{
$lotes
->
numero
}}
</
strong
></
h4
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-6"
style
=
"text-align:center;font-size:23px;"
>
{{
--
<
h4
class
=
"titulo2"
>
Data
:
<
strong
>
02
/
02
/
2020
</
strong
></
h4
>
--
}}
</
div
>
<
div
class
=
"col-sm-6"
style
=
"text-align:center;font-size:23px;"
>
{{
--
<
h4
class
=
"titulo2"
>
Horário
:<
strong
>
09
:
30
AM
-
10
:
00
AM
</
strong
></
h4
>
--
}}
</
div
>
</
div
>
{{
--
<
h4
class
=
"titulo2"
>
Número
do
Atendimento
:
<
strong
>
423566
</
strong
></
h4
>
--
}}
<!--
general
form
elements
-->
<!--
/.
card
-
header
-->
<
p
style
=
"color:red;text-align:center;margin-top:25px"
>
DOCUMENTOS
NECESSÁRIOS
:<
BR
>
CPF
,
RG
,
PROCUPAÇÃO
DO
DETENDOR
.
...
...
@@ -45,17 +30,6 @@
<
a
class
=
"btn btn-block btn-primary btn_pesquisa"
type
=
"button "
href
=
"(LINK)"
><
i
class
=
"fas fa-print"
style
=
"margin-right:5px"
></
i
>
imprimir
</
a
>
</
div
>
<!--
/.
card
-->
<!--/.
col
(
left
)
-->
<!--
right
column
-->
<!--/.
col
(
right
)
-->
</
div
>
@
endsection
resources/views/cpfInvalido.blade.php
View file @
e7d9353a
@
extends
(
'adminlte::page'
)
@
section
(
'title'
,
'CPF Inválido'
)
@
section
(
'content'
)
<
form
action
=
""
method
=
"post"
enctype
=
"multipart/form-data"
class
=
"form"
>
<
div
class
=
"row"
>
<!--
left
column
-->
<
div
class
=
"col-md-3"
>
</
div
>
<
div
class
=
"col-md-6 tela_cpf_invalido"
>
@
section
(
'content'
)
<
img
class
=
"logoidace"
src
=
"{{ asset('img/logo-idace.png') }}"
>
<
form
action
=
""
method
=
"post"
enctype
=
"multipart/form-data"
class
=
"form"
>
<
h3
class
=
"titulo"
>
Nenhum
dado
encontrado
o
CPF
:
{{
$cpf
}}
</
h3
>
<
h4
class
=
"titulo2"
>
Caso
tenha
alguma
dúvida
,
entre
em
contato
através
do
telefone
:
85
0000
-
0000
</
h4
>
<!--
general
form
elements
-->
<!--
/.
card
-
header
-->
<!--
form
start
-->
<
button
href
=
"/"
type
=
"button "
style
=
"margin-top:100px"
class
=
"btn btn-block btn-primary btn_pesquisa"
>
Voltar
</
button
>
<
div
class
=
"row"
>
<
div
class
=
"col-md-3"
>
</
div
>
<
div
class
=
"col-md-6 tela_cpf_invalido"
>
<
img
class
=
"logoidace"
src
=
"{{ asset('img/logo-idace.png') }}"
>
<
h3
class
=
"titulo"
>
Nenhum
dado
encontrado
o
CPF
:
{{
$cpf
}}
</
h3
>
<
h4
class
=
"titulo2"
>
Caso
tenha
alguma
dúvida
,
entre
em
contato
através
do
telefone
:
85
0000
-
0000
</
h4
>
<
button
href
=
"/"
type
=
"button "
style
=
"margin-top:100px"
class
=
"btn btn-block btn-primary btn_pesquisa"
>
Voltar
</
button
>
</
div
>
<
div
class
=
"col-md-3"
>
</
div
>
<!--
/.
card
-->
<!--/.
col
(
left
)
-->
<!--
right
column
-->
<!--/.
col
(
right
)
-->
<
div
class
=
"col-md-3"
>
</
div
>
</
div
>
</
form
>
</
form
>
@
endsection
\ No newline at end of file
@
endsection
resources/views/cpfValidoSemTitulo.blade.php
View file @
e7d9353a
@
extends
(
'adminlte::page'
)
@
section
(
'title'
,
'CPF Inválido'
)
@
section
(
'content'
)
<
form
action
=
""
method
=
"post"
enctype
=
"multipart/form-data"
class
=
"form"
>
@
section
(
'content'
)
<
div
class
=
"row"
>
<!--
left
column
-->
<
div
class
=
"col-md-3"
>
</
div
>
<
div
class
=
"col-md-6 tela_cpf_invalido"
>
<
form
action
=
""
method
=
"post"
enctype
=
"multipart/form-data"
class
=
"form"
>
<
img
class
=
"logoidace"
src
=
"{{ asset('img/logo-idace.png') }}"
>
<
h3
class
=
"titulo"
>
Nenhum
Título
pronto
para
entrega
para
o
CPF
:
{{
$cpf
}}
</
h3
>
<
h3
class
=
"titulo"
>
Status
do
Título
encontrado
:
{{
$nome
}}
</
h3
>
<
h4
class
=
"titulo2"
>
Caso
tenha
alguma
dúvida
,
entre
em
contato
através
do
telefone
:
85
0000
-
0000
</
h4
>
<!--
general
form
elements
--
>
<!--
/.
card
-
header
--
>
<!--
form
start
--
>
<
button
href
=
"/"
type
=
"button "
style
=
"margin-top:100px"
class
=
"btn btn-block btn-primary btn_pesquisa"
>
Voltar
</
button
>
<
div
class
=
"row"
>
<
div
class
=
"col-md-3"
>
</
div
>
<
div
class
=
"col-md-6 tela_cpf_invalido"
>
<
img
class
=
"logoidace"
src
=
"{{ asset('img/logo-idace.png') }}"
>
<
h3
class
=
"titulo"
>
Nenhum
Título
pronto
para
entrega
para
o
CPF
:
{{
$cpf
}}
</
h3
>
<
h3
class
=
"titulo"
>
Status
do
Título
encontrado
:
{{
$nome
}}
</
h3
>
<
h4
class
=
"titulo2"
>
Caso
tenha
alguma
dúvida
,
entre
em
contato
através
do
telefone
:
85
0000
-
0000
</
h4
>
<
button
href
=
"/"
type
=
"button "
style
=
"margin-top:100px"
class
=
"btn btn-block btn-primary btn_pesquisa"
>
Voltar
</
button
>
</
div
>
<
div
class
=
"col-md-3"
>
</
div
>
<!--
/.
card
-->
<!--/.
col
(
left
)
-->
<!--
right
column
-->
<!--/.
col
(
right
)
-->
<
div
class
=
"col-md-3"
>
</
div
>
</
div
>
</
form
>
</
form
>
@
endsection
\ No newline at end of file
@
endsection
resources/views/dadosAtendimento.blade.php
View file @
e7d9353a
@
extends
(
'adminlte::page'
)
@
section
(
'title'
,
'Dados Atendimento'
)
@
section
(
'content'
)
<
form
enctype
=
"multipart/form-data"
class
=
"form"
>
<
div
class
=
"row"
>
<!--
left
column
-->
<
div
class
=
"col-md-3"
>
</
div
>
<
div
class
=
"col-md-6 tela_cpf_invalido"
>
@
section
(
'content'
)
<
img
class
=
"logoidace"
src
=
"{{ asset('img/logo-idace.png') }}"
>
<
form
enctype
=
"multipart/form-data"
class
=
"form"
>
<
h3
class
=
"titulo"
>
Agendamento
realizado
com
sucesso
</
h3
>
<
h5
class
=
"titulo"
>
NÚMERO
DO
ATENDIMENTO
:
{{
$id
+
1
}}
</
h5
>
<
h5
class
=
"titulo"
>
DATA
DO
AGENDAMENTO
:
{{
$data
}}
</
h5
>
<
h5
class
=
"titulo"
>
DETENTOR
:
{{
$detentor
}}
</
h5
>
<
h5
class
=
"titulo"
>
CPF
:
{{
$cpf
}}
</
h5
>
<
h5
class
=
"titulo2"
>
Caso
tenha
alguma
dúvida
,
entre
em
contato
através
do
telefone
:
85
0000
-
0000
</
h5
>
<!--
general
form
elements
-->
<!--
/.
card
-
header
-->
<!--
form
start
-->
<
button
href
=
"/"
type
=
"button "
style
=
"margin-top:100px"
class
=
"btn btn-block btn-primary btn_pesquisa"
>
Voltar
</
button
>
<
div
class
=
"row"
>
<
div
class
=
"col-md-3"
>
</
div
>
<
div
class
=
"col-md-6 tela_cpf_invalido"
>
<
img
class
=
"logoidace"
src
=
"{{ asset('img/logo-idace.png') }}"
>
<
h3
class
=
"titulo"
>
Agendamento
realizado
com
sucesso
</
h3
>
<
h5
class
=
"titulo"
>
NÚMERO
DO
ATENDIMENTO
:
{{
$id
+
1
}}
</
h5
>
<
h5
class
=
"titulo"
>
DATA
DO
AGENDAMENTO
:
{{
$data
}}
</
h5
>
<
h5
class
=
"titulo"
>
HORA
DO
AGENDAMENTO
:
{{
$hora
}}
</
h5
>
<
h5
class
=
"titulo"
>
DETENTOR
:
{{
$detentor
}}
</
h5
>
<
h5
class
=
"titulo"
>
CPF
:
{{
$cpf
}}
</
h5
>
<
h5
class
=
"titulo2"
>
Caso
tenha
alguma
dúvida
,
entre
em
contato
através
do
telefone
:
85
0000
-
0000
</
h5
>
<
button
href
=
"/"
type
=
"button "
style
=
"margin-top:100px"
class
=
"btn btn-block btn-primary btn_pesquisa"
>
Voltar
</
button
>
</
div
>
<
div
class
=
"col-md-3"
>
</
div
>
<!--
/.
card
-->
<!--/.
col
(
left
)
-->
<!--
right
column
-->
<!--/.
col
(
right
)
-->
<
div
class
=
"col-md-3"
>
</
div
>
</
div
>
</
form
>
</
form
>
@
endsection
\ No newline at end of file
@
endsection
resources/views/pesquisaCpf.blade.php
View file @
e7d9353a
...
...
@@ -15,13 +15,14 @@
<
h4
class
=
"titulo2"
>
Preencha
com
CPF
válido
</
h4
>
<
form
action
=
"{{ route('titulos.store') }}"
class
=
"form form-inline sem_flex"
method
=
"GET"
>
<
input
type
=
"text"
class
=
"form-control label_cpf"
data
-
mask
=
"000.000.000-00"
name
=
"cpf"
placeholder
=
"000.000.000-00"
>
<
input
type
=
"text"
class
=
"form-control label_cpf"
data
-
mask
=
"000.000.000-00"
name
=
"cpf"
placeholder
=
"000.000.000-00"
>
<
button
type
=
"submit"
class
=
"btn btn-block btn-primary btn_pesquisa"
>
Pesquisar
</
button
>
</
form
>
</
div
>
<
div
class
=
"col-md-3"
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endsection
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