Skip to content

Commit

Permalink
Merge pull request #93 from danielebuso/fix_sconto_maggiorazzione_imp…
Browse files Browse the repository at this point in the history
…orto

Fix sconto e maggiorazione su importo
  • Loading branch information
salgua authored Oct 7, 2021
2 parents f76e317 + dddc00b commit 54e4ca1
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 @@ -5,6 +5,10 @@ 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.21] - 2021-10-06
### Fixed
- Fix sconto e maggiorazione su importo #93 by danielebuso

## [1.1.20] - 2021-10-05
### Fixed
- Fix sconto e maggiorazione su importo #92 by danielebuso
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function prezzoTotale($format = true)
foreach ($this->scontoMaggiorazione as $item) {
$totale = $item->applicaScontoMaggiorazione($totale, $quantita, $format ? $this->decimaliLinea : null);
}
return $totale;
return fe_number_format($totale, $this->decimaliLinea);
}

/**
Expand Down

0 comments on commit 54e4ca1

Please sign in to comment.