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
37ac65cf
Commit
37ac65cf
authored
Jan 26, 2021
by
Marcos Vinicius Felix De Sousa da Silva
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
20091fc8
06076e8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
25 deletions
+31
-25
AgendamentoController.php
app/Http/Controllers/Admin/AgendamentoController.php
+3
-2
pesquisaTitulo.blade.php
resources/views/admin/agendamentos/pesquisaTitulo.blade.php
+27
-2
web.php
routes/web.php
+1
-21
No files found.
app/Http/Controllers/Admin/AgendamentoController.php
View file @
37ac65cf
...
@@ -223,7 +223,7 @@ class AgendamentoController extends Controller
...
@@ -223,7 +223,7 @@ class AgendamentoController extends Controller
return
redirect
()
->
route
(
$routeName
.
'.index'
);
return
redirect
()
->
route
(
$routeName
.
'.index'
);
}
}
public
function
pesquisa
Agendament
o
(
Request
$request
)
public
function
pesquisa
Titul
o
(
Request
$request
)
{
{
$columnList
=
[
'id'
=>
'#'
,
'municipio'
=>
trans
(
'agendamento.municipio'
),
'detentor'
=>
trans
(
'agendamento.name'
),
$columnList
=
[
'id'
=>
'#'
,
'municipio'
=>
trans
(
'agendamento.municipio'
),
'detentor'
=>
trans
(
'agendamento.name'
),
'cpf'
=>
trans
(
'agendamento.cpf'
),
'titulo'
=>
trans
(
'agendamento.titulo'
),
'nome_mae'
=>
trans
(
'agendamento.nome_mae'
),
'cpf'
=>
trans
(
'agendamento.cpf'
),
'titulo'
=>
trans
(
'agendamento.titulo'
),
'nome_mae'
=>
trans
(
'agendamento.nome_mae'
),
...
@@ -242,7 +242,8 @@ class AgendamentoController extends Controller
...
@@ -242,7 +242,8 @@ class AgendamentoController extends Controller
return
view
(
'admin.'
.
$routeName
.
'.resultadoPesquisa'
,
[
'page'
=>
$page
,
'columnList'
=>
$columnList
,
'routeName'
=>
$routeName
,
return
view
(
'admin.'
.
$routeName
.
'.pesquisaTitulo'
,
[
'page'
=>
$page
,
'columnList'
=>
$columnList
,
'routeName'
=>
$routeName
,
'list'
=>
$list
,
'breadcrumb'
=>
$breadcrumb
]);
'list'
=>
$list
,
'breadcrumb'
=>
$breadcrumb
]);
}
}
...
...
resources/views/admin/agendamentos/pesquisaTitulo.blade.php
View file @
37ac65cf
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
@
breadcrumb
([
'page'
=>
$page
,
'items'
=>
$breadcrumb
??
[]])
@
breadcrumb
([
'page'
=>
$page
,
'items'
=>
$breadcrumb
??
[]])
@
endbreadcrumb
@
endbreadcrumb
<<<<<<<
HEAD
@
form
([
'action'
=>
route
(
'resultadoPesquisa'
),
'method'
=>
'POST'
])
@
form
([
'action'
=>
route
(
'resultadoPesquisa'
),
'method'
=>
'POST'
])
@
csrf
@
csrf
<
h4
>
<
h4
>
...
@@ -28,10 +29,34 @@
...
@@ -28,10 +29,34 @@
<!--
</
form
>
-->
<!--
</
form
>
-->
=======
>>>>>>>
06076e8
a6818cf3a22115494d245d08775cfcdf9
@
endform
<
p
>
Selecione
o
nome
da
sua
mãe
</
p
>
<
fieldset
class
=
"fielAgendamentoTitulo"
>
@
form
([
'action'
=>
route
(
'agendamentoTituloEntrega'
),
'method'
=>
'POST'
])
<
div
id
=
"btn_tituloEvento-1"
>
<
button
class
=
"button_tituloEvento-1"
onclick
=
"window.location = '
{
{route('agendamentoTituloEntrega')}
}
'"
>
Nome
mãe
</
button
>
</
div
>
@
endform
@
form
([
'action'
=>
route
(
'agendamentoTituloSede'
),
'method'
=>
'POST'
])
<
div
id
=
"btn_tituloSede-1"
>
<
button
class
=
"button_tituloSede-1"
onclick
=
"window.location = '
{
{route('agendamentoTituloSede')}
}
'"
>
Nome
mãe
</
button
>
</
div
>
@
endform
@
form
([
'action'
=>
route
(
'agendamentoTituloSede'
),
'method'
=>
'POST'
])
<
div
id
=
"btn_tituloSede-1"
>
<
button
class
=
"button_tituloSede-1"
onclick
=
"window.location = '
{
{route('agendamentoTituloSede')}
}
'"
>
Nome
mãe
</
button
>
</
div
>
@
endform
</
fieldset
>
<
div
class
=
"imaLogosCadastro"
>
<
img
src
=
"{!! asset('img/logo-idace.png') !!}"
>
</
div
>
@
endpage
@
endpage
@
endsection
@
endsection
routes/web.php
View file @
37ac65cf
...
@@ -44,6 +44,7 @@ Route::prefix('admin')->namespace('Admin')->group(function () {
...
@@ -44,6 +44,7 @@ Route::prefix('admin')->namespace('Admin')->group(function () {
Route
::
resource
(
'/agendamentos'
,
'AgendamentoController'
);
Route
::
resource
(
'/agendamentos'
,
'AgendamentoController'
);
});
});
//Rotas de Agendamento
Route
::
any
(
'/agendamentoTituloSede'
,
function
()
{
Route
::
any
(
'/agendamentoTituloSede'
,
function
()
{
$routeName
=
'agendamentos'
;
$routeName
=
'agendamentos'
;
$page
=
trans
(
'agendamento.agendamento_list'
);
$page
=
trans
(
'agendamento.agendamento_list'
);
...
@@ -134,25 +135,4 @@ Route::any('/pesquisaTitulo', function () {
...
@@ -134,25 +135,4 @@ Route::any('/pesquisaTitulo', function () {
})
->
name
(
'pesquisaTitulo'
);
})
->
name
(
'pesquisaTitulo'
);
Route
::
any
(
'/resultadoPesquisa'
,
function
()
{
$columnList
=
[
'id'
=>
'#'
,
'municipio'
=>
trans
(
'agendamento.municipio'
),
'detentor'
=>
trans
(
'agendamento.name'
),
'cpf'
=>
trans
(
'agendamento.cpf'
),
'titulo'
=>
trans
(
'agendamento.titulo'
),
'nome_mae'
=>
trans
(
'agendamento.nome_mae'
),
'data'
=>
trans
(
'agendamento.data'
),
'hora'
=>
trans
(
'agendamento.hora'
),
'escritorio'
=>
trans
(
'agendamento.escritorio'
)];
$routeName
=
'agendamentos'
;
$page
=
trans
(
'agendamento.agendamento_list'
);
$page_create
=
trans
(
'agendamento.agendamento'
);
$list
=
[];
$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
.
'.resultadoPesquisa'
,
[
'page'
=>
$page
,
'columnList'
=>
$columnList
,
'list'
=>
$list
,
'page_create'
=>
$page_create
,
'routeName'
=>
$routeName
,
'breadcrumb'
=>
$breadcrumb
]);
})
->
name
(
'resultadoPesquisa'
);
//->middleware('auth')
//->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