Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
f6261e2e
Unverified
Commit
f6261e2e
authored
2 years ago
by
Edgar Vinicius Carvalho Vital
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge branch 'master' into master
parents
8d366187
852fe4ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
database/seeders/UsuarioSeeder.php
+0
-1
database/seeders/UsuarioSeeder.php
resources/views/evento/formulario/integrantes.blade.php
+27
-53
resources/views/evento/formulario/integrantes.blade.php
with
27 additions
and
54 deletions
+27
-54
database/seeders/UsuarioSeeder.php
View file @
f6261e2e
...
@@ -76,7 +76,6 @@ class UsuarioSeeder extends Seeder
...
@@ -76,7 +76,6 @@ class UsuarioSeeder extends Seeder
]);
]);
DB
::
table
(
'users'
)
->
insert
([
DB
::
table
(
'users'
)
->
insert
([
'name'
=>
'Participante1'
,
'name'
=>
'Participante1'
,
'email'
=>
'part1@ufrpe.br'
,
'email'
=>
'part1@ufrpe.br'
,
'password'
=>
Hash
::
make
(
'12345678'
),
'password'
=>
Hash
::
make
(
'12345678'
),
...
...
This diff is collapsed.
Click to expand it.
resources/views/evento/formulario/integrantes.blade.php
View file @
f6261e2e
...
@@ -226,70 +226,44 @@
...
@@ -226,70 +226,44 @@
document
.
getElementById
(
`data_de_nascimento
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`data_de_nascimento
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
}
if
(
data
?.[
3
]?.
cpf
)
{
document
.
getElementById
(
`cpf
${
modal_id
}
`
).
value
=
data
[
0
][
'
cpf
'
];
document
.
getElementById
(
`cpf
${
modal_id
}
`
).
value
=
data
[
0
][
'
cpf
'
];
document
.
getElementById
(
`cpf
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`cpf
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
rg
)
{
document
.
getElementById
(
`rg
${
modal_id
}
`
).
value
=
data
[
2
][
'
rg
'
];
document
.
getElementById
(
`rg
${
modal_id
}
`
).
value
=
data
[
2
][
'
rg
'
];
document
.
getElementById
(
`rg
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`rg
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
celular
)
{
document
.
getElementById
(
`celular
${
modal_id
}
`
).
value
=
data
[
0
][
'
celular
'
];
document
.
getElementById
(
`celular
${
modal_id
}
`
).
value
=
data
[
0
][
'
celular
'
];
document
.
getElementById
(
`celular
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`celular
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
cep
)
{
document
.
getElementById
(
`cep
${
modal_id
}
`
).
value
=
data
[
3
].
cep
;
document
.
getElementById
(
`cep
${
modal_id
}
`
).
value
=
data
[
3
].
cep
;
document
.
getElementById
(
`cep
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`cep
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
cep
)
{
document
.
getElementById
(
`cep
${
modal_id
}
`
).
value
=
data
[
3
].
cep
;
document
.
getElementById
(
`cep
${
modal_id
}
`
).
value
=
data
[
3
].
cep
;
document
.
getElementById
(
`cep
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`cep
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
uf
)
{
document
.
getElementById
(
`uf
${
modal_id
}
`
).
value
=
data
[
3
].
uf
;
document
.
getElementById
(
`uf
${
modal_id
}
`
).
value
=
data
[
3
].
uf
;
document
.
getElementById
(
`uf
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`uf
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
cidade
)
{
document
.
getElementById
(
`cidade
${
modal_id
}
`
).
value
=
data
[
3
].
cidade
;
document
.
getElementById
(
`cidade
${
modal_id
}
`
).
value
=
data
[
3
].
cidade
;
document
.
getElementById
(
`cidade
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`cidade
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
bairro
)
{
document
.
getElementById
(
`bairro
${
modal_id
}
`
).
value
=
data
[
3
].
bairro
;
document
.
getElementById
(
`bairro
${
modal_id
}
`
).
value
=
data
[
3
].
bairro
;
document
.
getElementById
(
`bairro
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`bairro
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
rua
)
{
document
.
getElementById
(
`rua
${
modal_id
}
`
).
value
=
data
[
3
].
rua
;
document
.
getElementById
(
`rua
${
modal_id
}
`
).
value
=
data
[
3
].
rua
;
document
.
getElementById
(
`rua
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`rua
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
numero
)
{
document
.
getElementById
(
`numero
${
modal_id
}
`
).
value
=
data
[
3
].
numero
;
document
.
getElementById
(
`numero
${
modal_id
}
`
).
value
=
data
[
3
].
numero
;
document
.
getElementById
(
`numero
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`numero
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
3
]?.
complemento
)
{
document
.
getElementById
(
`complemento
${
modal_id
}
`
).
value
=
data
[
3
].
complemento
;
document
.
getElementById
(
`complemento
${
modal_id
}
`
).
value
=
data
[
3
].
complemento
;
document
.
getElementById
(
`complemento
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`complemento
${
modal_id
}
`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
0
]?.
instituicao
)
{
document
.
getElementById
(
`instituicao[
${
modal_id
}
]`
).
value
=
data
[
0
].
instituicao
;
document
.
getElementById
(
`instituicao[
${
modal_id
}
]`
).
value
=
data
[
0
].
instituicao
;
document
.
getElementById
(
`instituicao[
${
modal_id
}
]`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`instituicao[
${
modal_id
}
]`
).
setAttribute
(
"
readonly
"
,
""
);
}
if
(
data
?.[
2
]?.
curso
)
{
document
.
getElementById
(
`curso[
${
modal_id
}
]`
).
value
=
data
[
2
].
curso
;
document
.
getElementById
(
`curso[
${
modal_id
}
]`
).
value
=
data
[
2
].
curso
;
document
.
getElementById
(
`curso[
${
modal_id
}
]`
).
setAttribute
(
"
readonly
"
,
""
);
document
.
getElementById
(
`curso[
${
modal_id
}
]`
).
setAttribute
(
"
readonly
"
,
""
);
}
console
.
log
(
document
.
getElementById
(
`funcaoParticipante
${
modal_id
}
`
));
console
.
log
(
document
.
getElementById
(
`funcaoParticipante
${
modal_id
}
`
));
document
.
getElementById
(
`funcaoParticipante
${
modal_id
}
`
).
value
=
data
[
1
][
'
nome
'
];
document
.
getElementById
(
`funcaoParticipante
${
modal_id
}
`
).
value
=
data
[
1
][
'
nome
'
];
...
...
This diff is collapsed.
Click to expand it.
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