Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sisage
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
sisage
Commits
4c542ff3
Commit
4c542ff3
authored
Jan 26, 2021
by
Marcos Albano
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adicionada telas de confirmacao
parent
c85eb19e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
14 deletions
+64
-14
UserController.php
app/Http/Controllers/Admin/UserController.php
+1
-1
agendamentoConfere.blade.php
...ces/views/admin/agendamentos/agendamentoConfere.blade.php
+4
-8
agendamentoConfere2.blade.php
...es/views/admin/agendamentos/agendamentoConfere2.blade.php
+40
-0
agendamentoConfirmacao.blade.php
...views/admin/agendamentos/agendamentoConfirmacao.blade.php
+4
-3
agendamentoTituloEntrega.blade.php
...ews/admin/agendamentos/agendamentoTituloEntrega.blade.php
+2
-2
web.php
routes/web.php
+13
-0
No files found.
app/Http/Controllers/Admin/UserController.php
View file @
4c542ff3
...
@@ -107,7 +107,7 @@ class UserController extends Controller
...
@@ -107,7 +107,7 @@ class UserController extends Controller
$this
->
model
->
create
(
$data
);
$this
->
model
->
create
(
$data
);
session
()
->
flash
(
'msg'
,
trans
(
'agendamento.record_added_successfully'
));
session
()
->
flash
(
'msg'
,
trans
(
'agendamento.record_added_successfully'
));
session
()
->
flash
(
'status'
,
'success'
);
// success error notification
session
()
->
flash
(
'status'
,
'success'
);
// success error notification
return
redirect
()
->
back
(
);
return
redirect
()
->
view
(
'home'
);
}
elseif
(
$documentosPessoa
==
null
)
{
}
elseif
(
$documentosPessoa
==
null
)
{
session
()
->
flash
(
'msg'
,
trans
(
'agendamento.error_adding_registry'
));
session
()
->
flash
(
'msg'
,
trans
(
'agendamento.error_adding_registry'
));
session
()
->
flash
(
'status'
,
'error'
);
// success error notification
session
()
->
flash
(
'status'
,
'error'
);
// success error notification
...
...
resources/views/admin/agendamentos/agendamentoConfere.blade.php
View file @
4c542ff3
...
@@ -13,15 +13,11 @@
...
@@ -13,15 +13,11 @@
@
form
([
'action'
=>
route
(
'agendamentoConfirmacao'
),
'method'
=>
'POST'
])
@
form
([
'action'
=>
route
(
'agendamentoConfirmacao'
),
'method'
=>
'POST'
])
<
fieldset
class
=
"fielparagPagTitulo"
>
<
fieldset
class
=
"fielparagPagTitulo"
>
<
div
class
=
"paragPagTitulo"
>
<
div
class
=
"paragPagTitulo"
>
<
p
id
=
"parag1"
>
Deseja
receber
o
seu
titulo
na
cidade
de
</
p
>
<
p
id
=
"parag1"
>
Deseja
receber
o
seu
titulo
na
Sede
do
</
p
>
<
p
id
=
"parag2"
>
XXXXXXXXXX
,
Rua
XXXX
XXXXXXXXXXX
,
nº
0000.
</
p
>
<
p
id
=
"parag2"
>
IDACE
,
Av
.
Bezerra
de
Menezes
,
1820
</
p
>
<
P
id
=
"parag3"
>
Bairro
:
São
Gerardo
</
P
>
<
P
id
=
"parag3"
>
Bairro
:
XXXXXXXXXX
</
P
>
<
p
id
=
"parag4"
>
30
/
01
/
2021
-
10
:
00
</
p
>
<
p
id
=
"parag4"
>
Escola
:
Xxxxxxxxx
</
p
>
<
p
id
=
"parag5"
>
17
/
12
/
2021
-
10
:
30
</
p
>
</
div
>
</
div
>
</
fieldset
>
</
fieldset
>
...
...
resources/views/admin/agendamentos/agendamentoConfere2.blade.php
0 → 100644
View file @
4c542ff3
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
@
page
([
'col'
=>
12
,
'page'
=>
__
(
'agendamento.create_crud'
,
[
'page'
=>
$page_create
])])
@
alert
([
'msg'
=>
session
(
'msg'
),
'status'
=>
session
(
'status'
)])
@
endalert
@
breadcrumb
([
'page'
=>
$page
,
'items'
=>
$breadcrumb
??
[]])
@
endbreadcrumb
@
form
([
'action'
=>
route
(
'agendamentoConfirmacao'
),
'method'
=>
'POST'
])
<
fieldset
class
=
"fielparagPagTitulo"
>
<
div
class
=
"paragPagTitulo"
>
<
p
id
=
"parag1"
>
Deseja
receber
o
seu
titulo
no
município
de
</
p
>
<
p
id
=
"parag2"
>
BREJO
SANTO
</
p
>
<
p
id
=
"parag4"
>
30
/
01
/
2021
-
10
:
00
</
p
>
</
div
>
</
fieldset
>
<
fieldset
class
=
"butaoSimCancelar"
>
<
input
type
=
"submit"
id
=
"simButton"
name
=
"sim"
value
=
"Sim"
>
<
input
type
=
"submit"
id
=
"cancelarButton"
name
=
"cancelart"
value
=
"Cancelar"
>
</
fieldset
>
@
endform
@
endpage
@
endsection
resources/views/admin/agendamentos/agendamentoConfirmacao.blade.php
View file @
4c542ff3
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<!--
<
p
id
=
"pargTitulo"
>
Selecione
o
nome
da
sua
mãe
.</
p
>
-->
<!--
<
p
id
=
"pargTitulo"
>
Selecione
o
nome
da
sua
mãe
.</
p
>
-->
<
fieldset
class
=
"fielAgendamentoTitulo"
>
<
fieldset
class
=
"fielAgendamentoTitulo"
>
@
form
([
'action'
=>
route
(
'agendamentoTituloEntrega'
),
'method'
=>
'POST'
])
<
fieldset
class
=
"fieldCadastroRealizado"
>
<
fieldset
class
=
"fieldCadastroRealizado"
>
<
div
class
=
"imaEsclamacaoCadastro"
>
<
div
class
=
"imaEsclamacaoCadastro"
>
...
@@ -23,14 +23,15 @@
...
@@ -23,14 +23,15 @@
<
p
id
=
"CadastroRealizadoParag"
>
Agendamento
realizado
com
sucesso
.</
p
>
<
p
id
=
"CadastroRealizadoParag"
>
Agendamento
realizado
com
sucesso
.</
p
>
</
fieldset
>
</
fieldset
>
@
endform
<
div
class
=
"imaLogosAgendaRecebeTitulo"
>
<
div
class
=
"imaLogosAgendaRecebeTitulo"
>
<
input
type
=
"submit"
id
=
"inicioButtonCadastro"
name
=
"inicio"
value
=
"INÍCIO"
>
<
input
type
=
"submit"
id
=
"inicioButtonCadastro"
name
=
"inicio"
value
=
"INÍCIO"
onclick
=
"window.location = '
{
{route('home')}
}
'"
>
</
div
>
</
div
>
<
div
class
=
"imaLogosCadastroConfismacao"
>
<
div
class
=
"imaLogosCadastroConfismacao"
>
<
img
src
=
"{!! asset('img/logo-idace.png') !!}"
>
<
img
src
=
"{!! asset('img/logo-idace.png') !!}"
>
</
div
>
</
div
>
</
fieldset
>
</
fieldset
>
@
endpage
@
endpage
...
...
resources/views/admin/agendamentos/agendamentoTituloEntrega.blade.php
View file @
4c542ff3
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
@
breadcrumb
([
'page'
=>
$page
,
'items'
=>
$breadcrumb
??
[]])
@
breadcrumb
([
'page'
=>
$page
,
'items'
=>
$breadcrumb
??
[]])
@
endbreadcrumb
@
endbreadcrumb
@
form
([
'action'
=>
route
(
'agendamento
TituloEntrega
'
),
'method'
=>
'POST'
])
@
form
([
'action'
=>
route
(
'agendamento
Confere2
'
),
'method'
=>
'POST'
])
<
form
class
=
"formAgedamentoTitulo"
>
<
form
class
=
"formAgedamentoTitulo"
>
<
fieldset
class
=
"fielTituloEntrega"
>
<
fieldset
class
=
"fielTituloEntrega"
>
<
div
id
=
"fielTituloEntrega-1"
>
<
div
id
=
"fielTituloEntrega-1"
>
<
button
class
=
"button_tituloEvento"
>
Abaiara
</
button
>
<
button
class
=
"button_tituloEvento"
>
Brejo
Santo
</
button
>
<
button
class
=
"button_tituloEvento"
>
Acaraú
</
button
>
<
button
class
=
"button_tituloEvento"
>
Acaraú
</
button
>
<
button
class
=
"button_tituloEvento"
>
Bela
Cruz
</
button
>
<
button
class
=
"button_tituloEvento"
>
Bela
Cruz
</
button
>
<
button
class
=
"button_tituloEvento"
>
Amontada
</
button
>
<
button
class
=
"button_tituloEvento"
>
Amontada
</
button
>
...
...
routes/web.php
View file @
4c542ff3
...
@@ -86,6 +86,19 @@ Route::any('/agendamentoConfere', function () {
...
@@ -86,6 +86,19 @@ Route::any('/agendamentoConfere', function () {
return
view
(
'admin.'
.
$routeName
.
'.agendamentoConfere'
,
[
'page'
=>
$page
,
'page_create'
=>
$page_create
,
'routeName'
=>
$routeName
,
'breadcrumb'
=>
$breadcrumb
]);
return
view
(
'admin.'
.
$routeName
.
'.agendamentoConfere'
,
[
'page'
=>
$page
,
'page_create'
=>
$page_create
,
'routeName'
=>
$routeName
,
'breadcrumb'
=>
$breadcrumb
]);
})
->
name
(
'agendamentoConfere'
);
})
->
name
(
'agendamentoConfere'
);
Route
::
any
(
'/agendamentoConfere2'
,
function
()
{
$routeName
=
'agendamentos'
;
$page
=
trans
(
'agendamento.agendamento_list'
);
$page_create
=
trans
(
'agendamento.agendamento'
);
$breadcrumb
=
[
(
object
)
[
'url'
=>
route
(
'home'
),
'title'
=>
trans
(
'agendamento.home'
)],
(
object
)
[
'url'
=>
route
(
$routeName
.
'.index'
),
'title'
=>
trans
(
'agendamento.list'
,
[
'page'
=>
$page
])],
(
object
)
[
'url'
=>
''
,
'title'
=>
trans
(
'agendamento.create_crud'
,
[
'page'
=>
$page_create
])],
];
return
view
(
'admin.'
.
$routeName
.
'.agendamentoConfere2'
,
[
'page'
=>
$page
,
'page_create'
=>
$page_create
,
'routeName'
=>
$routeName
,
'breadcrumb'
=>
$breadcrumb
]);
})
->
name
(
'agendamentoConfere2'
);
Route
::
any
(
'/agendamentoConfirmacao'
,
function
()
{
Route
::
any
(
'/agendamentoConfirmacao'
,
function
()
{
$routeName
=
'agendamentos'
;
$routeName
=
'agendamentos'
;
$page
=
trans
(
'agendamento.agendamento_list'
);
$page
=
trans
(
'agendamento.agendamento_list'
);
...
...
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