Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c98c318c

Von Moritz Bunkus vor mehr als 9 Jahren hinzugefügt

  • ID c98c318c449f157e7085301f564b03c4f8cb2d56
  • Vorgänger d504954f
  • Nachfolger ce3697e0

Einkaufsrechnungssuche: Spalte Lastschrifteinzug optional anzeigen

Unterschiede anzeigen:

bin/mozilla/ap.pl
871 871
  my @columns =
872 872
    qw(transdate id type invnumber ordnumber name netamount tax amount paid datepaid
873 873
       due duedate transaction_description notes employee globalprojectnumber
874
       vendornumber country ustid taxzone payment_terms charts);
874
       vendornumber country ustid taxzone payment_terms charts direct_debit);
875 875

  
876 876
  my @hidden_variables = map { "l_${_}" } @columns;
877 877
  push @hidden_variables, "l_subtotal", qw(open closed vendor invnumber ordnumber transaction_description notes project_id transdatefrom transdateto department);
......
902 902
    'taxzone'                 => { 'text' => $locale->text('Steuersatz'), },
903 903
    'payment_terms'           => { 'text' => $locale->text('Payment Terms'), },
904 904
    'charts'                  => { 'text' => $locale->text('Buchungskonto'), },
905
    'direct_debit'            => { 'text' => $locale->text('direct debit'), },
905 906
  );
906 907

  
907
  foreach my $name (qw(id transdate duedate invnumber ordnumber name datepaid employee shippingpoint shipvia transaction_description)) {
908
  foreach my $name (qw(id transdate duedate invnumber ordnumber name datepaid employee shippingpoint shipvia transaction_description direct_debit)) {
908 909
    my $sortdir                 = $form->{sort} eq $name ? 1 - $form->{sortdir} : $form->{sortdir};
909 910
    $column_defs{$name}->{link} = $href . "&sort=$name&sortdir=$sortdir";
910 911
  }
......
980 981
        :                     $locale->text("AP Transaction (abbreviation)");
981 982
    }
982 983

  
984
    $ap->{direct_debit} = $ap->{direct_debit} ? $::locale->text('yes') : $::locale->text('no');
985

  
983 986
    my $row = { };
984 987

  
985 988
    foreach my $column (@columns) {

Auch abrufbar als: Unified diff