Skip to content

Commit

Permalink
Merge pull request #544 from f3lpz/patch-1
Browse files Browse the repository at this point in the history
Update C195.php
  • Loading branch information
robmachado authored Mar 22, 2024
2 parents 6848f24 + 61e0081 commit e19ce6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elements/Contribuicoes/C195.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function postValidation()
{

$multiplicacao = $this->values->vl_bc_cofins * $this->values->aliq_cofins;
if ($this->values->quant_bc_cofins > 0) {
if (isset($this->values->quant_bc_cofins) && $this->values->quant_bc_cofins > 0) {
$multiplicacao = $this->values->quant_bc_cofins * $this->values->aliq_cofins_quant;
}

Expand Down

0 comments on commit e19ce6c

Please sign in to comment.