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
20329b4a
Commit
20329b4a
authored
Jan 25, 2021
by
Marcos Roberto Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pagina de Agendamento
parent
cf4cfda1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
77 additions
and
8 deletions
+77
-8
AgendamentoController.php
app/Http/Controllers/Admin/AgendamentoController.php
+4
-3
agendamentoTitulo.blade.php
...rces/views/admin/agendamentos/agendamentoTitulo.blade.php
+5
-4
agendamentoTituloEntrega.blade.php
...ews/admin/agendamentos/agendamentoTituloEntrega.blade.php
+54
-0
home.blade.php
resources/views/home.blade.php
+1
-1
web.php
routes/web.php
+13
-0
No files found.
app/Http/Controllers/Admin/AgendamentoController.php
View file @
20329b4a
...
...
@@ -5,7 +5,8 @@ namespace App\Http\Controllers\Admin;
use
App\Http\Controllers\Controller
;
use
App\Repositories\Contracts\AgendamentoRepositoryInterface
;
use
Illuminate\Http\Request
;
use
Validator
;
use
Illuminate\Support\Facades\Validator
as
FacadesValidator
;
class
AgendamentoController
extends
Controller
{
...
...
@@ -81,7 +82,7 @@ class AgendamentoController extends Controller
{
$data
=
$request
->
all
();
Validator
::
make
(
$data
,
[
Facades
Validator
::
make
(
$data
,
[
'municipio'
=>
'required|string|max:255'
,
'name'
=>
'required|string|max:255'
,
'cpf'
=>
'required|string|min:11'
,
...
...
@@ -180,7 +181,7 @@ class AgendamentoController extends Controller
unset
(
$data
[
'password'
]);
}
Validator
::
make
(
$data
,
[
Facades
Validator
::
make
(
$data
,
[
'municipio'
=>
'required|string|max:255'
,
'name'
=>
'required|string|max:255'
,
'cpf'
=>
'required|string|min:11'
,
...
...
resources/views/admin/agendamentos/agendamentoTitulo.blade.php
View file @
20329b4a
...
...
@@ -13,12 +13,13 @@
@
form
([
'action'
=>
route
(
'agendamentoTitulo'
),
'method'
=>
'POST'
])
<
fieldset
class
=
"fielAgendamentoTitulo"
>
<
button
class
=
"button_tituloEvento"
>@
lang
(
'agendamento.receber_titulo_evento'
)
</
button
>
<
button
class
=
"button_tituloSede"
>@
lang
(
'agendamento.receber_titulo_evento'
)
</
button
>
</
fieldset
>
<
button
class
=
"btn btn-primary btn-lg"
>@
lang
(
'agendamento.receber_titulo_evento'
)
</
button
>
<
button
class
=
"btn btn-primary btn-lg"
>@
lang
(
'agendamento.receber_titulo_sede'
)
</
button
>
</
fieldset
>
@
endform
@
endpage
...
...
resources/views/admin/agendamentos/agendamentoTituloEntrega.blade.php
0 → 100644
View file @
20329b4a
@
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
(
'agendamentoTituloEntrega'
),
'method'
=>
'POST'
])
<
form
class
=
"formAgedamentoTitulo"
>
<
fieldset
class
=
"fielTituloEntrega"
>
<
button
class
=
"button_tituloEvento"
>
Município
</
button
>
<
button
class
=
"button_tituloSede"
>
Município
</
button
>
<
button
class
=
"button_tituloEvento"
>
Município
</
button
>
<
button
class
=
"button_tituloSede"
>
Município
)
</
button
>
</
fieldset
>
@
endform
<
div
class
=
"imaLogosEventoTitulo"
>
<
img
id
=
"idaceTituloEvento"
src
=
"imagem/logo-idace.png"
alt
=
""
>
</
div
>
<
fieldset
class
=
"fielTituloProximo"
>
<
button
type
=
"button"
id
=
"tituloProximo"
name
=
"proximo"
>
Próximo
</
button
>
</
fieldset
>
</
form
>
@
endpage
@
endsection
{{
--
<
body
>
<
form
action
=
"#"
method
=
"POST"
class
=
"formAgedamentoTitulo"
>
<!--
form
Agedamento
titulo
Entrega
-->
<
fieldset
class
=
"fielTituloEntrega"
>
<
button
type
=
"button"
id
=
"titulo1"
name
=
"municipio1"
>
Município
do
Ceará
</
button
>
<
button
type
=
"button"
id
=
"titulo2"
name
=
"municipio2"
>
Município
do
Ceará
</
button
>
<
button
type
=
"button"
id
=
"titulo3"
name
=
"municipio3"
>
Município
do
Ceará
</
button
>
<
button
type
=
"button"
id
=
"titulo4"
name
=
"municipio4"
>
Município
do
Ceará
</
button
>
</
fieldset
>
<
fieldset
class
=
"fielTituloProximo"
>
<
button
type
=
"button"
id
=
"tituloProximo"
name
=
"proximo"
>
Próximo
</
button
>
</
fieldset
>
</
form
>
<
div
class
=
"imaLogosEventoTitulo"
>
<
img
id
=
"idaceTituloEvento"
src
=
"imagem/logo-idace.png"
alt
=
""
>
</
div
>
</
body
>
</
html
>
--
}}
resources/views/home.blade.php
View file @
20329b4a
...
...
@@ -36,7 +36,7 @@
<
p
><
img
id
=
"idace2"
src
=
"img/Eventos.png"
></
p
>
</
div
>
</
div
>
<
div
style
=
"cursor: pointer"
onclick
=
"window.location = '
{
{route('
permissions.index
')}
}
'"
class
=
"button_entregaTitulos"
>
<
div
style
=
"cursor: pointer"
onclick
=
"window.location = '
{
{route('
agendamentoTituloEntrega
')}
}
'"
class
=
"button_entregaTitulos"
>
<
div
class
=
"card-body"
>
<
p
class
=
"card-text"
>@
lang
(
'agendamento.entrega_titulos'
)
</
p
>
<
p
><
img
id
=
"idace2"
src
=
"img/Eventos.png"
></
p
>
...
...
routes/web.php
View file @
20329b4a
...
...
@@ -56,4 +56,17 @@ Route::get('/agendamentoTitulo', function () {
];
return
view
(
'admin.'
.
$routeName
.
'.agendamentoTitulo'
,
[
'page'
=>
$page
,
'page_create'
=>
$page_create
,
'routeName'
=>
$routeName
,
'breadcrumb'
=>
$breadcrumb
]);
})
->
name
(
'agendamentoTitulo'
);
Route
::
get
(
'/agendamentoTituloEntrega'
,
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
.
'.agendamentoTituloEntrega'
,
[
'page'
=>
$page
,
'page_create'
=>
$page_create
,
'routeName'
=>
$routeName
,
'breadcrumb'
=>
$breadcrumb
]);
})
->
name
(
'agendamentoTituloEntrega'
);
//->middleware('auth')
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