Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Pollastri committed Jan 24, 2024
1 parent e2a26be commit 20d450e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/DettaglioLinee.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(...$args)
$this->PrezzoUnitario = $args[1];
$this->Quantita = (isset($args[2]) && $args[2]) ? $args[2] : Settings::QuantitaDefault();
$this->UnitaMisura = (isset($args[3]) && $args[3]) ? $args[3] : Settings::UnitaMisuraDefault();
$this->AliquotaIVA = (isset($args[4]) && $args[4]) ? $args[4] : Settings::AliquotaIVADefault();
$this->AliquotaIVA = (isset($args[4])) ? $args[4] : Settings::AliquotaIVADefault();
$this->PrezzoTotale = $this->PrezzoUnitario * $this->Quantita;

if (isset($args[5]) && $args[5]) {
Expand Down

0 comments on commit 20d450e

Please sign in to comment.