Skip to content

Commit

Permalink
Merge pull request #91 from danielebuso/fix_causale
Browse files Browse the repository at this point in the history
Fix ordine Causale in blocco DatiGenerali
  • Loading branch information
salgua authored Sep 2, 2021
2 parents 93fc621 + 4cb9fb4 commit 8ff6569
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.19] - 2021-09-02
### Fixed
- Sistemato ordine Causale fattura #91 by danielebuso

## [1.1.18] - 2021-08-26
### Added
- Aggiunto Arrotondamento e TipoCessionePrestazione #90 by danielebuso
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ public function toXmlBlock(\XMLWriter $writer)
if ($this->scontoMaggiorazione) {
$this->scontoMaggiorazione->toXmlBlock($writer);
}
$writer->writeElement('ImportoTotaleDocumento', fe_number_format($this->importoTotaleDocumento, 2));
if ($this->causale) {
$writer->writeElement('Causale', $this->causale);
}
$writer->writeElement('ImportoTotaleDocumento', fe_number_format($this->importoTotaleDocumento, 2));
$this->writeXmlFields($writer);
$writer->endElement();

Expand Down

0 comments on commit 8ff6569

Please sign in to comment.