Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 203f9e93

Von Jan Büren vor etwa 1 Jahr hinzugefügt

  • ID 203f9e9326fc39b690affa335d46883676040c0c
  • Vorgänger 88e0dd95
  • Nachfolger 7fa2595e

Skonto-Automatik bei Banktransaktionen: IC ist netto Konto | Fehler werfen

Unterschiede anzeigen:

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;

Auch abrufbar als: Unified diff