Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sistema_mcid
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
marcio neto
sistema_mcid
Commits
6be986f7
Commit
6be986f7
authored
Dec 07, 2023
by
sandroresende
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inclusao mensagem de slecao ja foi concluida
parent
d11e3dc1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
11 deletions
+26
-11
ApiController.php
app/Http/Controllers/ApiController.php
+1
-1
SelecaoController.php
app/Http/Controllers/Propostas/SelecaoController.php
+14
-5
WelcomeController.php
app/Http/Controllers/WelcomeController.php
+1
-0
DadosPropostaTransferegovVerificar.blade.php
...oposta/admin/DadosPropostaTransferegovVerificar.blade.php
+5
-4
ListaPropostasTransferegov.blade.php
...ostas/proposta/admin/ListaPropostasTransferegov.blade.php
+5
-1
No files found.
app/Http/Controllers/ApiController.php
View file @
6be986f7
...
...
@@ -96,7 +96,7 @@ class ApiController extends Controller
public
function
buscarSituacoesPropostas
(){
return
SituacaoProposta
::
orderBy
(
'txt_situacao_proposta'
)
->
get
();
return
SituacaoProposta
::
where
(
'bln_ativo'
,
true
)
->
orderBy
(
'txt_situacao_proposta'
)
->
get
();
}
public
function
motivoCorrecao
(){
...
...
app/Http/Controllers/Propostas/SelecaoController.php
View file @
6be986f7
...
...
@@ -14,6 +14,8 @@ use App\User;
use
Config\App
;
use
App\Http\Flash
;
use
App\IndicadoresHabitacionais\Uf
;
use
App\Propostas\SelecaoPropostas
;
use
App\Propostas\CronogramaSelecao
;
use
App\Propostas\DadosTransferegov
;
...
...
@@ -907,9 +909,14 @@ class SelecaoController extends Controller
//return $request->all();
$where
=
[];
$whereOr
=
[];
if
(
$request
->
estado
){
$where
[]
=
[
'id_uf'
,
$request
->
estado
];
$where
[]
=
[
'id_uf'
,
$request
->
estado
];
$estado
=
Uf
::
where
(
'id'
,
$request
->
estado
)
->
firstOrFail
();
$whereOr
[]
=
[
'uf_transferegov'
,
$estado
->
txt_sigla_uf
];
}
if
(
$request
->
municipio
){
...
...
@@ -954,8 +961,11 @@ class SelecaoController extends Controller
$validaCnpj
=
'Sim'
;
}
$propostasTransferegov
=
ViewSysRelatorioGeralDiscricionarioSistema
::
where
(
$where
)
->
get
()
;
// return $where
;
$propostasTransferegov
=
ViewSysRelatorioGeralDiscricionarioSistema
::
where
(
$where
)
->
get
();
//return count($propostasTransferegov);
return
view
(
'modulo_propostas.proposta.admin.ListaPropostasTransferegov'
,
compact
(
'propostasTransferegov'
,
'validaCnpj'
));
}
...
...
@@ -970,11 +980,10 @@ public function pesquisarProposnenteTransferegov($cnpjProponente){
$entePublico
=
EntePublico
::
find
(
$cnpjProponente
);
$selecaoProposta
=
SelecaoPropostas
::
where
(
'bln_selecao_concluida'
,
false
)
->
firstOrFail
();
$selecaoProposta
=
SelecaoPropostas
::
where
(
'bln_selecao_concluida'
,
false
)
->
first
();
$selecaoProposta
->
load
(
'user'
);
return
view
(
'modulo_propostas.proposta.admin.DadosPropostaTransferegovVerificar'
,
compact
(
'propostas'
,
'propostaTransferegov'
,
'entePublico'
,
'selecaoProposta'
));
return
view
(
'modulo_propostas.proposta.admin.DadosPropostaTransferegovVerificar'
,
compact
(
'propostas'
,
'propostaTransferegov'
,
'entePublico'
,
'selecaoProposta'
));
}
public
function
adicionarPropostaTrasferegov
(
Request
$request
){
...
...
app/Http/Controllers/WelcomeController.php
View file @
6be986f7
...
...
@@ -51,6 +51,7 @@ class WelcomeController extends Controller
}
public
function
solicitarCadastro
()
{
...
...
resources/views/modulo_propostas/proposta/admin/DadosPropostaTransferegovVerificar.blade.php
View file @
6be986f7
...
...
@@ -160,10 +160,11 @@
<form class="
form
-
horizontal
" role="
form
" method="
POST
" action='{{ url("
admin
/
proposta
/
transferegov
/
adicionar
/
") }}'>
{{ csrf_field() }}
<input type="
hidden
" id="
selecao_proposta_id
" name="
selecao_proposta_id
" value="
{{
$selecaoProposta
->
id
}}
">
<button type="
button
" title="
Selecionar
Propostas
" class="
br
-
button
circle
success
small
mr
-
3
" aria-label="
Ícone
ilustrativo
" data-bs-toggle="
modal
" data-bs-target="
#novaProposta{{$dados->proposta_id}}">
<
i
class
="
fas
fa
-
plus
" aria-hidden="
true
"></i>
</button>
@if(
$selecaoProposta->id
)
<button type="
button
" title="
Selecionar
Propostas
" class="
br
-
button
circle
success
small
mr
-
3
" aria-label="
Ícone
ilustrativo
" data-bs-toggle="
modal
" data-bs-target="
#novaProposta{{$dados->proposta_id}}">
<
i
class
="
fas
fa
-
plus
" aria-hidden="
true
"></i>
</button>
@endif
@endif
@endcan
<button type="
button
" title="
Visualizar
Propostas
" class="
br
-
button
circle
secondary
small
mr
-
3
" aria-label="
Ícone
ilustrativo
"
...
...
resources/views/modulo_propostas/proposta/admin/ListaPropostasTransferegov.blade.php
View file @
6be986f7
...
...
@@ -85,7 +85,11 @@
<td>
{
{$dados->num_proposta_transferegov_sistema}
}
</td>
<td>{{number_format( (
$dados->vlr_final_transferegov_sistema
), 2, ',' , '.')}}</td>
@endif
<td>
{
{$dados->num_proposta_transferegov}
}
</td>
<td>
<a class="
menu
-
item
" href='{{ url("
https
://
discricionarias
.
transferegov
.
sistema
.
gov
.
br
/
voluntarias
/
ConsultarProposta
/
ResultadoDaConsultaDePropostaDetalharProposta
.
do
?
idProposta
=
$dados
->
çod_proposta
&
Usr
=
guest
&
Pwd
=
gues
/
")}}'>
{
{$dados->num_proposta_transferegov}
}
</a>
</td>
<td>
{
{$dados->uf_transferegov}
}
</td>
<td>
{
{$dados->municipio_transferegov}
}
</td>
<td>
{
{$dados->acao_orcamentaria}
}
</td>
...
...
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