sim-node-lib 0.0.107 → 0.0.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,24 +56,24 @@ class HtmlBadgerHelper {
|
|
|
56
56
|
return this.getHTMLPill('badge-info', `Forma Pagamento ${operacao} ${descriptionList.join(', ')}`);
|
|
57
57
|
}
|
|
58
58
|
static getTextoOperacao(operacao) {
|
|
59
|
-
let resultado
|
|
59
|
+
let resultado;
|
|
60
60
|
switch (operacao) {
|
|
61
61
|
case '=':
|
|
62
|
-
|
|
62
|
+
resultado = 'igual a';
|
|
63
63
|
break;
|
|
64
64
|
case '<>':
|
|
65
|
-
|
|
65
|
+
resultado = 'diferente de';
|
|
66
66
|
break;
|
|
67
67
|
case 'contem':
|
|
68
|
-
|
|
68
|
+
resultado = 'for uma das opções:';
|
|
69
69
|
break;
|
|
70
70
|
default:
|
|
71
|
-
|
|
71
|
+
resultado = 'ERROR';
|
|
72
72
|
}
|
|
73
73
|
return resultado;
|
|
74
74
|
}
|
|
75
75
|
static getTextoCondicaoPreFormated(condicoes) {
|
|
76
|
-
var textoValor = '';
|
|
76
|
+
var textoValor = 'se ';
|
|
77
77
|
for (let [index, condicao] of condicoes.entries()) {
|
|
78
78
|
textoValor += condicao.condicaoTexto;
|
|
79
79
|
if (index < condicoes.length - 1) {
|