Revision 203f9e93
Von Jan Büren vor 11 Monaten hinzugefügt
SL/DB/Helper/Payment.pm | ||
---|---|---|
my (@skonto_charts, $inv_calc, $total_skonto_rounded);
|
||
|
||
$inv_calc = $self->get_tax_and_amount_by_tax_chart_id();
|
||
die t8('Cannot calculate Amount and Tax for this booking correctly, please check chart settings') unless $inv_calc;
|
||
|
||
# foreach tax.chart_id || $entry->{ta..id}
|
||
while (my ($tax_chart_id, $entry) = each %{ $inv_calc } ) {
|
SL/DB/Helper/SalesPurchaseInvoice.pm | ||
---|---|---|
next if $transaction->chart_link =~ m/(^${ARAP}$|paid)/;
|
||
next unless $transaction->chart_link;
|
||
my $tax_or_netamount = $transaction->chart_link =~ m/tax/ ? 'tax'
|
||
: $transaction->chart_link =~ m/(${ARAP}_amount|IC_cogs)/ ? 'netamount'
|
||
: $transaction->chart_link =~ m/(${ARAP}_amount|IC_cogs|IC)/ ? 'netamount'
|
||
: undef;
|
||
if ($tax_or_netamount eq 'netamount') {
|
||
$tax_and_amount_by_tax_id->{ $transaction->tax->chart_id }->{$tax_or_netamount} ||= 0;
|
locale/de/all | ||
---|---|---|
'Cannot Post AP transaction with tax included!' => 'Kann diesen kreditorischen Beleg nicht mit "Steuer im Preis inbegriffen" verbuchen!',
|
||
'Cannot add Booking, reason: #1 DB: #2 ' => 'Kann die Buchung nicht hinzufügen, Grund: #1 DB: #2',
|
||
'Cannot allocate parts.' => 'Es sind nicht genügend Artikel vorhanden',
|
||
'Cannot calculate Amount and Tax for this booking correctly, please check chart settings' => 'Kann nicht den Skonto-Betrag Brutto und netto kalkulieren. Bitte prüfen Sie die entsprechenden Kontenkonfigurationen für diesen Beleg',
|
||
'Cannot change transaction in a closed period!' => 'In einem bereits abgeschlossenen Zeitraum kann keine Buchung verändert werden!',
|
||
'Cannot check correct WebDAV folder' => 'Kann nicht den richtigen WebDAV Pfad überprüfen',
|
||
'Cannot convert date.' => 'Kann das Datum nicht verarbeiten',
|
Auch abrufbar als: Unified diff
Skonto-Automatik bei Banktransaktionen: IC ist netto Konto | Fehler werfen