Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d9a03ae1

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID d9a03ae1410f52bc9189978807e4f940205bda56
  • Vorgänger c224f946
  • Nachfolger 79629ddd

S:D:PurchaseInvoice: create_ap_row: keine Buchung ohne Aufwandszeile

Unterschiede anzeigen:

SL/DB/PurchaseInvoice.pm
144 144
  # only allow this method for ap invoices (Kreditorenbuchung)
145 145
  die if $self->invoice and not $self->vendor_id;
146 146

  
147
  return 0 unless scalar @{$self->transactions} > 0;
148

  
147 149
  my $acc_trans = [];
148 150
  my $chart = $params{chart} || SL::DB::Manager::Chart->find_by(id => $::instance_conf->get_ap_chart_id);
149 151
  die "illegal chart in create_ap_row" unless $chart;

Auch abrufbar als: Unified diff