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:

SL/AR.pm
461 461
    qq|  a.invoice, a.datepaid, a.notes, a.shipvia, | .
462 462
    qq|  a.shippingpoint, a.storno, a.storno_id, a.globalproject_id, | .
463 463
    qq|  a.marge_total, a.marge_percent, | .
464
    qq|  a.transaction_description, | .
464
    qq|  a.transaction_description, a.direct_debit, | .
465 465
    qq|  pr.projectnumber AS globalprojectnumber, | .
466 466
    qq|  c.name, c.customernumber, c.country, c.ustid, b.description as customertype, | .
467 467
    qq|  c.id as customer_id, | .
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) {
templates/webpages/ar/search.html
222 222
           <td nowrap>[% 'Payment Terms' | $T8 %]</td>
223 223
           <td align=right><input name="l_charts" id="l_charts" class=checkbox type=checkbox value=Y></td>
224 224
           <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
225
           <td align=right><input name="l_direct_debit" id="l_direct_debit" class=checkbox type=checkbox value=Y></td>
226
           <td nowrap>[% 'direct debit' | $T8 %]</td>
225 227
          </tr>
226 228
          <tr>
227 229
           <td colspan=4 align=left><b>[% 'Customer' | $T8 %] </td>

Auch abrufbar als: Unified diff