Skip to content

Commit

Permalink
Fixing linter isue
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Feb 8, 2024
1 parent eef3fc6 commit 79a431b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions items.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"strconv"

"github.com/invopop/gobl/bill"
"github.com/invopop/gobl/cbc"
"github.com/invopop/gobl/i18n"
"github.com/invopop/gobl/regimes/it"
"github.com/invopop/gobl/tax"
Expand Down Expand Up @@ -121,7 +120,7 @@ func findRiferimentoNormativo(rateTotal *tax.RateTotal) string {

nature := rateTotal.Ext[it.ExtKeySDINature].Code()
for _, c := range def.Codes {
if c.Code == cbc.Code(nature) {
if c.Code == nature {
return c.Name[i18n.IT]
}
}
Expand Down

0 comments on commit 79a431b

Please sign in to comment.