+ if (_is_profile($self, PROFILE_XRECHNUNG())) {
+ my @terms;
+
+ if ($self->payment_terms->terms_skonto && ($self->payment_terms->percent_skonto * 1)) {
+ push @terms, sprintf("#SKONTO#TAGE=\%d#PROZENT=\%.2f#\n", $self->payment_terms->terms_skonto, $self->payment_terms->percent_skonto * 100);
+ }
+
+ $description =~ s{#}{_}g;
+ $description = join('', @terms) . $description;
+ }
+