Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 66e2fdcc

Von Waldemar Toews vor fast 11 Jahren hinzugefügt

  • ID 66e2fdcc4f89a4f13c77f6e44f2969fd46aa7aba
  • Vorgänger 2565f6c2
  • Nachfolger 7a64a31e

Kunden Mandanten ID fuer SEPA Lastschrift implementiert.

Unterschiede anzeigen:

SL/SEPA.pm
177 177
  if ($export->{id}) {
178 178
    my ($columns, $joins);
179 179

  
180
    my $mandator_id = $params{vc} eq 'customer' ? ', mandator_id' : '';
181

  
180 182
    if ($params{details}) {
181
      $columns = qq|, arap.invnumber, arap.invoice, arap.transdate AS reference_date, vc.name AS vc_name, vc.${vc}number AS vc_number, c.accno AS chart_accno, c.description AS chart_description|;
183
      $columns = qq|, arap.invnumber, arap.invoice, arap.transdate AS reference_date, vc.name AS vc_name, vc.${vc}number AS vc_number, c.accno AS chart_accno, c.description AS chart_description, ${mandator_id}|;
182 184
      $joins   = qq|LEFT JOIN ${arap} arap ON (sei.${arap}_id = arap.id)
183 185
                    LEFT JOIN ${vc} vc     ON (arap.${vc}_id  = vc.id)
184 186
                    LEFT JOIN chart c      ON (sei.chart_id   = c.id)|;

Auch abrufbar als: Unified diff