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
d7147d01
Commit
d7147d01
authored
Jan 05, 2024
by
sandroresende
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inclusao email resposta encaminhamento
parent
ae3359e7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
9 deletions
+11
-9
EncaminhamentoController.php
app/Http/Controllers/Mod_codem/EncaminhamentoController.php
+1
-1
RespostaEncaminhamento.php
app/Mail/Mod_codem/RespostaEncaminhamento.php
+3
-1
app.js
public/js/app.js
+3
-3
CadastroEncaminhamento.vue
...assets/js/components/mod_codem/CadastroEncaminhamento.vue
+3
-3
resposta_encaminhamento.blade.php
...ews/emails/modulo_codem/resposta_encaminhamento.blade.php
+1
-1
No files found.
app/Http/Controllers/Mod_codem/EncaminhamentoController.php
View file @
d7147d01
...
...
@@ -177,7 +177,7 @@ class EncaminhamentoController extends Controller
if
(
$encaminhamento
->
bln_concluido
){
$usuario
=
User
::
find
(
$encaminhamento
->
user_id
);
Mail
::
to
(
$usuario
->
email
)
->
send
(
new
RespostaEncaminhamento
(
$encaminhamento
));
Mail
::
to
(
$usuario
->
email
)
->
send
(
new
RespostaEncaminhamento
(
$encaminhamento
,
$usuario
));
}
$ativarAba
=
'encaminhamento'
;
...
...
app/Mail/Mod_codem/RespostaEncaminhamento.php
View file @
d7147d01
...
...
@@ -13,6 +13,7 @@ class RespostaEncaminhamento extends Mailable
public
$url
;
public
$encaminhamento
;
public
$usuario
;
/**
...
...
@@ -20,10 +21,11 @@ class RespostaEncaminhamento extends Mailable
*
* @return void
*/
public
function
__construct
(
$encaminhamento
)
public
function
__construct
(
$encaminhamento
,
$usuario
)
{
$this
->
url
=
url
(
'/codem/demanda/encaminhamento/dados/'
);
$this
->
encaminhamento
=
$encaminhamento
;
$this
->
usuario
=
$usuario
;
}
...
...
public/js/app.js
View file @
d7147d01
...
...
@@ -85151,7 +85151,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
var _this = this;
this.textoEscolhaDepartamento = "Buscando...";
this.departamento = '';
this.buscando = true;
if (this.secretaria != '') {
//Implementação correta após arrumar tabela dos municipios
...
...
@@ -85172,7 +85172,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
var _this2 = this;
this.textoEscolhaSetor = "Buscando...";
this.setor = '';
this.buscando = true;
if (this.departamento != '') {
//Implementação correta após arrumar tabela dos municipios
...
...
@@ -85193,7 +85193,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
var _this3 = this;
this.textoEscolhaUsuario = "Buscando...";
this.usuario = '';
this.buscando = true;
if (this.setor != '') {
//Implementação correta após arrumar tabela dos municipios
resources/assets/js/components/mod_codem/CadastroEncaminhamento.vue
View file @
d7147d01
...
...
@@ -152,7 +152,7 @@
methods
:{
onChangeSecretaria
()
{
this
.
textoEscolhaDepartamento
=
"Buscando..."
;
this
.
departamento
=
''
;
this
.
buscando
=
true
;
if
(
this
.
secretaria
!=
''
)
{
//Implementação correta após arrumar tabela dos municipios
...
...
@@ -172,7 +172,7 @@
},
onChangeDepartamento
()
{
this
.
textoEscolhaSetor
=
"Buscando..."
;
this
.
setor
=
''
;
this
.
buscando
=
true
;
if
(
this
.
departamento
!=
''
)
{
//Implementação correta após arrumar tabela dos municipios
...
...
@@ -193,7 +193,7 @@
},
onChangeSetor
()
{
this
.
textoEscolhaUsuario
=
"Buscando..."
;
this
.
usuario
=
''
;
this
.
buscando
=
true
;
if
(
this
.
setor
!=
''
)
{
//Implementação correta após arrumar tabela dos municipios
...
...
resources/views/emails/modulo_codem/resposta_encaminhamento.blade.php
View file @
d7147d01
@
component
(
'mail::message'
)
# Confirmação de Recebimento - Resposta à Sua Demanda Nº {{$encaminhamento->demanda_id}}
<
p
>
Prezado
(
a
)
{{
$
encaminhament
o
->
name
}},
</
p
>
<
p
>
Prezado
(
a
)
{{
$
usuari
o
->
name
}},
</
p
>
<
br
>
<
br
>
<
p
>
...
...
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