$amounts{invtotal} = $self->{invtotal};
$amounts{total} = $self->{total};
}
+ $amounts{skonto_in_percent} = 100.0 * $self->{percent_skonto};
map { $amounts{$_} = $self->parse_amount($myconfig, $amounts{$_}) } keys %amounts;
map { $self->{payment_terms} =~ s/<%${_}%>/$formatted_amounts{$_}/g; } keys %formatted_amounts;
+ $self->{skonto_in_percent} = $formatted_amounts{skonto_in_percent};
+
$main::lxdebug->leave_sub();
}
"with discount")
. qq|</li>
<li>| . $locale->text("<%skonto_amount%> -- The deductible amount")
+. qq|</li>
+ <li>| . $locale->text("<%skonto_in_percent%> -- The discount in percent")
. qq|</li>
<li>| . $locale->text("<%total%> -- Amount payable")
. qq|</li>
'<%netto_date%> -- Date the payment is due in full' => '<%netto_date%> -- Das Datum, bis die Rechnung in voller Höhe bezahlt werden muss',
'<%skonto_amount%> -- The deductible amount' => '<%skonto_amount%> -- Der abziehbare Skontobetrag',
'<%skonto_date%> -- Date the payment is due with discount' => '<%skonto_date%> -- Das Datum, bis die Rechnung unter Abzug von Skonto bezahlt werden kann',
+ '<%skonto_in_percent%> -- The discount in percent' => '<%skonto_in_percent%> -- Skonto in Prozent',
'<%terms_netto%> -- The number of days for full payment' => '<%terms_netto%> -- Die Anzahl Tage, bis die Rechnung in voller Höhe bezahlt werden muss',
'<%total%> -- Amount payable' => '<%total%> -- Noch zu bezahlender Betrag',
'<%total_wo_skonto%> -- Amount payable less discount' => '<%total_wo_skonto%> -- Noch zu bezahlender Betrag abzüglich Skonto',
'<%netto_date%> -- Date the payment is due in full' => '<%netto_date%> -- Date the payment is due in full',
'<%skonto_amount%> -- The deductible amount' => '<%skonto_amount%> -- The deductible amount',
'<%skonto_date%> -- Date the payment is due with discount' => '<%skonto_date%> -- Date the payment is due with discount',
+ '<%skonto_in_percent%> -- The discount in percent' => '<%skonto_in_percent%> -- The discount in percent',
'<%terms_netto%> -- The number of days for full payment' => '<%terms_netto%> -- The number of days for full payment',
'<%total%> -- Amount payable' => '<%total%> -- Amount payable',
'<%total_wo_skonto%> -- Amount payable less discount' => '<%total_wo_skonto%> -- Amount payable less discount',