Skip to content

Commit

Permalink
Fatturazione elettronica
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Mar 31, 2015
1 parent 86306e8 commit acefc21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Expand Up @@ -324,7 +324,7 @@ public StatoDocumentoEleEnum getStatoDocumentoEle() {
try {
if (getStatoDocumento() != null)
return StatoDocumentoEleEnum.valueOf(getStatoDocumento());
return null;
return StatoDocumentoEleEnum.INIZIALE;
} catch (IllegalArgumentException _ex) {
return null;
}
Expand Down
Expand Up @@ -299,8 +299,10 @@ private void elaboraFattura(FatturaElettronicaType fatturaElettronicaType, BigIn
if (cedentePrestatore.getIscrizioneREA() != null) {
docTrasmissione.setReaCapitalesociale(cedentePrestatore.getIscrizioneREA().getCapitaleSociale());
docTrasmissione.setReaNumerorea(cedentePrestatore.getIscrizioneREA().getNumeroREA());
docTrasmissione.setReaSociounico(cedentePrestatore.getIscrizioneREA().getSocioUnico().name());
docTrasmissione.setReaStatoliquidazione(cedentePrestatore.getIscrizioneREA().getStatoLiquidazione().name());
if (cedentePrestatore.getIscrizioneREA().getSocioUnico() != null)
docTrasmissione.setReaSociounico(cedentePrestatore.getIscrizioneREA().getSocioUnico().name());
if (cedentePrestatore.getIscrizioneREA().getStatoLiquidazione() != null)
docTrasmissione.setReaStatoliquidazione(cedentePrestatore.getIscrizioneREA().getStatoLiquidazione().name());
docTrasmissione.setReaUfficio(cedentePrestatore.getIscrizioneREA().getUfficio());
}
}
Expand Down

0 comments on commit acefc21

Please sign in to comment.