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
66311d86
Commit
66311d86
authored
Aug 29, 2023
by
sandroresende
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correcao reenvio oficio
parent
26d12ee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
EntePublicoController.php
app/Http/Controllers/Sistema/EntePublicoController.php
+3
-3
No files found.
app/Http/Controllers/Sistema/EntePublicoController.php
View file @
66311d86
...
...
@@ -528,7 +528,7 @@ class EntePublicoController extends Controller
$whereOficio
[]
=
[
'bln_documento_analisado'
,
false
];
$dadosArquivoOficio
=
RlcArquivoUser
::
where
(
$whereOficio
)
->
get
();
return
$dadosArquivoOficio
=
RlcArquivoUser
::
where
(
$whereOficio
)
->
get
();
if
(
count
(
$dadosArquivoOficio
)
==
0
){
$arquivoOficio
=
new
RlcArquivoUser
;
...
...
@@ -552,14 +552,14 @@ class EntePublicoController extends Controller
if
(
!
$dadosArquivoSalvo
){
return
'não'
;
DB
::
rollBack
();
flash
()
->
erro
(
"Erro"
,
"Não enviar o ofício."
);
return
back
();
}
else
{
return
'ok'
;
DB
::
commit
();
$entePublicoId
=
Crypt
::
encrypt
(
$entePublicoId
);
...
...
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