Commit b3dd6675 authored by Rafael's avatar Rafael

Altera configs de test e homolog.

parent eae9c315
Pipeline #7978 passed with stage
in 3 minutes and 48 seconds
{ {
"API_URL": "http://172.16.17.3:8080", "API_URL": "https://microcredito.dev.evologica.com.br",
"APP_NAME_BROKER": "@agiliza-dev/agente", "APP_NAME_BROKER": "@microcredito/agente",
"APP_NAME_CUSTOMER": "@agiliza-dev/cliente", "APP_NAME_CUSTOMER": "@microcredito/cliente",
"SESSION_KEY_BROKER": "@agiliza-dev/agente", "SESSION_KEY_BROKER": "@microcredito/agente",
"SESSION_KEY_CUSTOMER": "@agiliza-dev/cliente" "SESSION_KEY_CUSTOMER": "@microcredito/cliente"
} }
{ {
"API_URL": "http://192.168.0.65:8080", "API_URL": "https://microcredito.test.evologica.com.br",
"APP_NAME_BROKER": "@agiliza-dev/agente", "APP_NAME_BROKER": "@microcredito-staging/agente",
"APP_NAME_CUSTOMER": "@agiliza-dev/cliente", "APP_NAME_CUSTOMER": "@microcredito-staging/cliente",
"SESSION_KEY_BROKER": "@agiliza-dev/agente", "SESSION_KEY_BROKER": "@microcredito-staging/agente",
"SESSION_KEY_CUSTOMER": "@agiliza-dev/cliente" "SESSION_KEY_CUSTOMER": "@microcredito-staging/cliente"
} }
{ {
"API_URL": "http://192.168.0.65:8080", "API_URL": "https://microcredito.dev.evologica.com.br",
"APP_NAME_BROKER": "@agiliza-dev/agente", "APP_NAME_BROKER": "@microcredito/agente",
"APP_NAME_CUSTOMER": "@agiliza-dev/cliente", "APP_NAME_CUSTOMER": "@microcredito/cliente",
"SESSION_KEY_BROKER": "@agiliza-dev/agente", "SESSION_KEY_BROKER": "@microcredito/agente",
"SESSION_KEY_CUSTOMER": "@agiliza-dev/cliente" "SESSION_KEY_CUSTOMER": "@microcredito/cliente"
} }
{ {
"API_URL": "http://192.168.0.65:8080", "API_URL": "https://microcredito.test.evologica.com.br",
"APP_NAME_BROKER": "@agiliza-dev/agente", "APP_NAME_BROKER": "@microcredito-staging/agente",
"APP_NAME_CUSTOMER": "@agiliza-dev/cliente", "APP_NAME_CUSTOMER": "@microcredito-staging/cliente",
"SESSION_KEY_BROKER": "@agiliza-dev/agente", "SESSION_KEY_BROKER": "@microcredito-staging/agente",
"SESSION_KEY_CUSTOMER": "@agiliza-dev/cliente" "SESSION_KEY_CUSTOMER": "@microcredito-staging/cliente"
} }
{ {
"API_URL": "http://192.168.0.65:8080", "API_URL": "https://microcredito.dev.evologica.com.br",
"APP_NAME_BROKER": "@agiliza-dev/agente", "APP_NAME_BROKER": "@microcredito/agente",
"APP_NAME_CUSTOMER": "@agiliza-dev/cliente", "APP_NAME_CUSTOMER": "@microcredito/cliente",
"SESSION_KEY_BROKER": "@agiliza-dev/agente", "SESSION_KEY_BROKER": "@microcredito/agente",
"SESSION_KEY_CUSTOMER": "@agiliza-dev/cliente" "SESSION_KEY_CUSTOMER": "@microcredito/cliente"
} }
...@@ -47,8 +47,9 @@ const CreditLinesInfo = (props: Props) => { ...@@ -47,8 +47,9 @@ const CreditLinesInfo = (props: Props) => {
<GridLine label="Número de parcelas" value={subproduct?.maxAmountInstallment || ''} /> <GridLine label="Número de parcelas" value={subproduct?.maxAmountInstallment || ''} />
{/* <GridLine label="Valor das parcelas" value={formatCurrency(subproduct?.amount.toFixed(2))} /> */} {/* <GridLine label="Valor das parcelas" value={formatCurrency(subproduct?.amount.toFixed(2))} /> */}
<GridLine label="Taxa de juros" value={subproduct?.fee ? `${subproduct?.fee} %` : ''} /> <GridLine label="Taxa de juros" value={subproduct?.fee ? `${subproduct?.fee} %` : ''} />
<GridLine label="Custo efetivo total (CET)" value={subproduct?.IOF !== undefined ? `${subproduct?.IOF} %` : ''} /> <GridLine label="Valor total IOF" value={formatCurrency(subproduct?.IOF?.toString() || '')} />
<GridLine label="Taxa abertura crédito (TAC)" value={formatCurrency(subproduct?.TAC?.toFixed(2))} /> <GridLine label="Custo efetivo total (CET)" value={subproduct?.TAC !== undefined ? `${subproduct?.TAC.toFixed(2)} %` : ''} />
{/* <GridLine label="Taxa abertura crédito (TAC)" value={formatCurrency(subproduct?.TAC?.toFixed(2))} /> */}
</Grid> </Grid>
<Button variant="text" onClick={() => setOpen(true)} disabled={!subproduct}> <Button variant="text" onClick={() => setOpen(true)} disabled={!subproduct}>
Exibir opções de parcelamento Exibir opções de parcelamento
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment