Correção no formato dos parametros de formatarValor
This commit is contained in:
parent
77109bf307
commit
cd7b56d94f
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ function formatarContaBancaria(txt) {
|
||||||
return conta;
|
return conta;
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatarValor({ valor, formato }) {
|
function formatarValor(valor, formato) {
|
||||||
switch (formato) {
|
switch (formato) {
|
||||||
case 'cep': return formatarCep(valor);
|
case 'cep': return formatarCep(valor);
|
||||||
case 'cpf': return formatarCpf(valor);
|
case 'cpf': return formatarCpf(valor);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue