Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d504954f

Von Moritz Bunkus vor mehr als 9 Jahren hinzugefügt

  • ID d504954f7e747960cc6deff312474ff8e7e04a71
  • Vorgänger 3649d1c4
  • Nachfolger c98c318c

Rechnungssuche: Spalte Lastschrifteinzug optional anzeigen

Unterschiede anzeigen:

bin/mozilla/ar.pl
912 912
  @columns =
913 913
    qw(transdate id type invnumber ordnumber cusordnumber name netamount tax amount paid
914 914
       datepaid due duedate transaction_description notes salesman employee shippingpoint shipvia
915
       marge_total marge_percent globalprojectnumber customernumber country ustid taxzone payment_terms charts customertype);
915
       marge_total marge_percent globalprojectnumber customernumber country ustid taxzone payment_terms charts customertype direct_debit);
916 916

  
917 917
  my $ct_cvar_configs                 = CVar->get_configs('module' => 'CT');
918 918
  my @ct_includeable_custom_variables = grep { $_->{includeable} } @{ $ct_cvar_configs };
......
958 958
    'payment_terms'           => { 'text' => $locale->text('Payment Terms'), },
959 959
    'charts'                  => { 'text' => $locale->text('Buchungskonto'), },
960 960
    'customertype'            => { 'text' => $locale->text('Customer type'), },
961
    'direct_debit'            => { 'text' => $locale->text('direct debit'), },
961 962
    %column_defs_cvars,
962 963
  );
963 964

  
964
  foreach my $name (qw(id transdate duedate invnumber ordnumber cusordnumber name datepaid employee shippingpoint shipvia transaction_description)) {
965
  foreach my $name (qw(id transdate duedate invnumber ordnumber cusordnumber name datepaid employee shippingpoint shipvia transaction_description direct_debit)) {
965 966
    my $sortdir                 = $form->{sort} eq $name ? 1 - $form->{sortdir} : $form->{sortdir};
966 967
    $column_defs{$name}->{link} = $href . "&sort=$name&sortdir=$sortdir";
967 968
  }
......
1078 1079
      $ar->{invoice}    ? $locale->text("Invoice (one letter abbreviation)") :
1079 1080
                          $locale->text("AR Transaction (abbreviation)");
1080 1081

  
1082
    $ar->{direct_debit} = $ar->{direct_debit} ? $::locale->text('yes') : $::locale->text('no');
1083

  
1081 1084
    my $row = { };
1082 1085

  
1083 1086
    foreach my $column (@columns) {

Auch abrufbar als: Unified diff