Rev 133 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 133 | Rev 136 | ||
|---|---|---|---|
| Line 242... | Line 242... | ||
| 242 | 242 | ||
| 243 | public String getCnpjDaLoja() { |
243 | public String getCnpjDaLoja() { |
| 244 | return VerificadorUtil.naoEstaNulo(getPessoaJuridica())? StringUtil.formatarCnpj(getPessoaJuridica().getCpfCnpj()) : ""; |
244 | return VerificadorUtil.naoEstaNulo(getPessoaJuridica())? StringUtil.formatarCnpj(getPessoaJuridica().getCpfCnpj()) : ""; |
| 245 | }
|
245 | }
|
| 246 | 246 | ||
| 247 | public String getCnpjDaLojaSemAcentos() { |
- | |
| 248 | return VerificadorUtil.naoEstaNulo(getPessoaJuridica())? getPessoaJuridica().getCpfCnpj() : ""; |
- | |
| - | 247 | public String getCnpjMatrizDaLojaSemAcentos() { |
|
| - | 248 | String cnpjMatriz = VerificadorUtil.naoEstaNulo(getPessoaJuridica())? getPessoaJuridica().getCpfCnpj() : ""; |
|
| - | 249 | return VerificadorUtil.naoEstaNuloOuVazio(cnpjMatriz)? cnpjMatriz.substring(0, 8) : ""; |
|
| 249 | }
|
250 | }
|
| 250 | 251 | ||
| 251 | //TODO: ALTERAÇÃO PROVISÓRIA
|
252 | //TODO: ALTERAÇÃO PROVISÓRIA
|
| 252 | public String getEnderecoDoEmitente() { |
253 | public String getEnderecoDoEmitente() { |
| 253 | String numero = getEnderecoEmitente().getNumero(); |
254 | String numero = getEnderecoEmitente().getNumero(); |