Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const INVEST_FIELDS_DETAIL = [
- {
- order: 1,
- value: 'SALDO_MINIMO_PERMANENCIA',
- description: 'Saldo mínimo',
- pipe: 'currency',
- transformData: (data) => Helper.strToDoubleCurrency(data, true)
- },
- {
- order: 2,
- value: 'MOVIMENT_MINIMA',
- description: 'Movimentação mínima',
- pipe: 'currency',
- transformData: (data) => Helper.strToDoubleCurrency(data, true)
- },
- {
- order: 3,
- value: 'LIQUIDEZ_APLICACAO',
- description: 'Liquidez de aplicação',
- pipe: 'string',
- },
- {
- order: 4,
- value: 'LIQUIDEZ_RESGATE',
- description: 'Liquidez de resgate',
- pipe: 'string',
- },
- {
- order: 5,
- /* value: 'VALOR_MIN_APLICACAO', */
- value: 'VALOR_INICIAL_APLICACAO',
- description: 'Aplicação mínima',
- pipe: 'currency',
- transformData: (data) => Helper.strToDoubleCurrency(data, true)
- },
- {
- order: 6,
- value: 'PUBLICO_ALVO',
- description: 'Público alvo',
- pipe: 'string',
- transformData: (data) => {
- if (data && data.length <= 2)
- switch (data) {
- case '0': return 'Qualificado';
- default: return 'Profissional';
- }
- return data;
- }
- /*,
- sufix: (value) => {
- if (value === 'Qualificado')
- return '<svg class="icon-qualificado" style="padding-left: 5px; margin-bottom: -2px;" width="20" height="19" viewBox="0 1 15 15"><use xlink:href="/assets/images/svg/icons.svg#award" /></svg>';
- if (value === 'Profissional')
- return '<svg class="icon-profissional" style="padding-left: 5px; margin-bottom: -1px;" width="20" height="15" viewBox="11 11 15 15"><use xlink:href="/assets/images/svg/icons.svg#doctor" /></svg>';
- return '';
- }
- */
- },
- {
- order: 7,
- value: 'TAXA_SAIDA',
- description: 'Taxa de saída',
- pipe: 'percent'
- },
- {
- order: 8,
- value: 'RISCO_ATIVO',
- description: 'Grau de risco',
- pipe: 'string',
- transformData: (data) => {
- switch (data) {
- case '0': return 'Muito baixo';
- case '1': return 'Baixo';
- case '2': return 'Médio';
- case '3': return 'Alto';
- case '4': return 'Muito alto';
- default: return data;
- }
- }
- }
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement