Rev 631 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 631 | Rev 636 | ||
|---|---|---|---|
| Line 151... | Line 151... | ||
| 151 | this.scriptAtivacaoAgradecimento = scriptAtivacaoAgradecimento; |
151 | this.scriptAtivacaoAgradecimento = scriptAtivacaoAgradecimento; |
| 152 | }
|
152 | }
|
| 153 | 153 | ||
| 154 | public String linkNpsAtendimento() { |
154 | public String linkNpsAtendimento() { |
| 155 | return "https://espacocase.net/novo/sistema/comercial/nps_atendimento.xhtml?sq=" + getSequencial(); |
155 | return "https://espacocase.net/novo/sistema/comercial/nps_atendimento.xhtml?sq=" + getSequencial(); |
| - | 156 | }
|
|
| - | 157 | ||
| - | 158 | public String descricaoDaSituacaoAgradecimento() { |
|
| - | 159 | return VerificadorUtil.estaNulo(getDataInicio())? "PENDENTE" : |
|
| - | 160 | VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento())? |
|
| - | 161 | VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento().getDataFinalizacao())? "REALIZADO" : "EM ANDAMENTO" : "EM ANDAMENTO"; |
|
| 156 | }
|
162 | }
|
| 157 | 163 | ||
| 158 | public String corDaSituacaoAgradecimento() { |
164 | public String corDaSituacaoAgradecimento() { |
| 159 | return VerificadorUtil.estaNulo(getDataInicio())? "danger" : VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento())? VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento().getDataFinalizacao())? "success" : "warning" : "warning"; |
- | |
| - | 165 | return VerificadorUtil.estaNulo(getDataInicio())? "danger" : |
|
| - | 166 | VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento())? |
|
| - | 167 | VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento().getDataFinalizacao())? "success" : "warning" : "warning"; |
|
| 160 | }
|
168 | }
|
| 161 | 169 | ||
| 162 | public String notaNpsPosVendaAtendimento() { |
170 | public String notaNpsPosVendaAtendimento() { |
| 163 | return VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento())? "" + getNpsPosVendaAgradecimento().getNota() : "SEM NOTA!"; |
171 | return VerificadorUtil.naoEstaNulo(getNpsPosVendaAgradecimento())? "" + getNpsPosVendaAgradecimento().getNota() : "SEM NOTA!"; |
| 164 | }
|
172 | }
|