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
e5177eb6
Commit
e5177eb6
authored
Nov 23, 2023
by
sandroresende
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
consulta de proposta pelo num transferegov
parent
9560a811
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
SelecaoController.php
app/Http/Controllers/Propostas/SelecaoController.php
+2
-2
DadosProposta.blade.php
...s/views/modulo_propostas/proposta/DadosProposta.blade.php
+3
-3
No files found.
app/Http/Controllers/Propostas/SelecaoController.php
View file @
e5177eb6
...
...
@@ -213,7 +213,7 @@ class SelecaoController extends Controller
$where
[]
=
[
'ente_publico_id'
,
str_pad
(
$request
->
entepublico
,
14
,
"0"
,
STR_PAD_LEFT
)];
}
$propostas
=
ViewPropostasCadastradas
::
where
(
$where
)
->
get
();
return
$propostas
=
ViewPropostasCadastradas
::
where
(
$where
)
->
get
();
if
(
count
(
$propostas
)
==
0
){
flash
()
->
erro
(
"Erro"
,
"Não existem propostas para os parâmetros selecionados."
);
...
...
@@ -246,7 +246,7 @@ class SelecaoController extends Controller
}
$propostaSelecionada
=
ViewPropostasSelecionadas
::
where
(
'proposta_id'
,
$proposta
->
id
)
->
firstOrFail
();
$propostaSelecionada
=
ViewPropostasSelecionadas
::
where
(
'proposta_id'
,
$proposta
->
id
)
->
first
();
$dadosTransfereGov
=
DadosTransferegov
::
where
(
'proposta_id'
,
$proposta
->
id
)
->
get
();
...
...
resources/views/modulo_propostas/proposta/DadosProposta.blade.php
View file @
e5177eb6
...
...
@@ -128,17 +128,17 @@
@if(!empty(
$proposta->situacao_proposta_id
== 5))
<div class="
titulo
"><h3>Dados da Seleção</h3> </div>
<div class="
row
">
<div class="
col
col
-
xs
-
12
col
-
sm
-
4
br
-
input
input
-
highlight
">
<div class="
col
col
-
xs
-
12
col
-
sm
-
6
br
-
input
input
-
highlight
">
<p><strong>1. Ação</strong></p>
<input id="
input
-
highlight
-
labeless
" type="
text
" placeholder="
Placeholder
" value="
{{
$propostaSelecionada
->
acao_programa_id
}}
-
{{
$propostaSelecionada
->
txt_acao_programa
}}
"/>
</div>
<div class="
col
col
-
xs
-
12
col
-
sm
-
4
br
-
input
input
-
highlight
">
<div class="
col
col
-
xs
-
12
col
-
sm
-
3
br
-
input
input
-
highlight
">
<p><strong>2. Valor Repasse</strong></p>
<input id="
input
-
highlight
-
labeless
" type="
text
" placeholder="
Placeholder
" value="
{{
number_format
(
(
$propostaSelecionada
->
vlr_repasse
),
2
,
','
,
'.'
)}}
" />
</div>
<div class="
col
col
-
xs
-
12
col
-
sm
-
4
br
-
input
input
-
highlight
">
<div class="
col
col
-
xs
-
12
col
-
sm
-
3
br
-
input
input
-
highlight
">
<p><strong>2. Valor Transferegov</strong></p>
<input id="
input
-
highlight
-
labeless
" type="
text
" placeholder="
Placeholder
" value="
{{
number_format
(
(
$propostaSelecionada
->
vlr_final_transferegov
),
2
,
','
,
'.'
)}}
" />
</div>
...
...
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