Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d93709bd

Von Bernd Bleßmann vor etwa 9 Jahren hinzugefügt

  • ID d93709bdf3f56b275ae120d8a0205e666bc62b9c
  • Vorgänger 0e4da157
  • Nachfolger 32e816b5

Filtern nach Kunden-/Lieferantentyp bei Lieferschein-Berichten.

Conflicts:

bin/mozilla/do.pl

Unterschiede anzeigen:

SL/DO.pm
67 67
  my $query =
68 68
    qq|SELECT dord.id, dord.donumber, dord.ordnumber, dord.cusordnumber,
69 69
         dord.transdate, dord.reqdate,
70
         ct.${vc}number, ct.name, dord.${vc}_id, dord.globalproject_id,
70
         ct.${vc}number, ct.name, ct.business_id,
71
         dord.${vc}_id, dord.globalproject_id,
71 72
         dord.closed, dord.delivered, dord.shippingpoint, dord.shipvia,
72 73
         dord.transaction_description, dord.itime::DATE AS insertdate,
73 74
         pr.projectnumber AS globalprojectnumber,
......
98 99
    push @values, conv_i($form->{project_id}), conv_i($form->{project_id});
99 100
  }
100 101

  
102
  if ($form->{"business_id"}) {
103
    push @where,  qq|ct.business_id = ?|;
104
    push @values, conv_i($form->{"business_id"});
105
  }
106

  
101 107
  if ($form->{"${vc}_id"}) {
102 108
    push @where,  qq|dord.${vc}_id = ?|;
103 109
    push @values, $form->{"${vc}_id"};

Auch abrufbar als: Unified diff