Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e24e6570

Von Sven Schöling vor mehr als 9 Jahren hinzugefügt

  • ID e24e657067548d45e6a23ff56ee4c3ee69b5687b
  • Vorgänger b38ecee7
  • Nachfolger 9c8d0637

Rechnungen nach Fälligkeitsdatum sortieren

Unterschiede anzeigen:

SL/AR.pm
$where .= " AND a.transdate <= ?";
push(@values, $form->{transdateto});
}
if ($form->{duedatefrom}) {
$where .= " AND a.duedate >= ?";
push(@values, $form->{duedatefrom});
}
if ($form->{duedateto}) {
$where .= " AND a.duedate <= ?";
push(@values, $form->{duedateto});
}
if ($form->{open} || $form->{closed}) {
unless ($form->{open} && $form->{closed}) {
$where .= " AND a.amount <> a.paid" if ($form->{open});
bin/mozilla/ar.pl
push @columns, map { "cvar_$_->{name}" } @ct_includeable_custom_variables;
my @hidden_variables = map { "l_${_}" } @columns;
push @hidden_variables, "l_subtotal", qw(open closed customer invnumber ordnumber cusordnumber transaction_description notes project_id transdatefrom transdateto employee_id salesman_id business_id);
push @hidden_variables, "l_subtotal", qw(open closed customer invnumber ordnumber cusordnumber transaction_description notes project_id transdatefrom transdateto duedatefrom duedateto employee_id salesman_id business_id);
push @hidden_variables, map { "cvar_$_->{name}" } @ct_searchable_custom_variables;
$href = build_std_url('action=ar_transactions', grep { $form->{$_} } @hidden_variables);
templates/webpages/ar/search.html
</tr>
[% END %]
<tr>
<th align=right nowrap>[% 'From' | $T8 %]</th>
<th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
<td>
[% 'From' | $T8 %]
[% L.date_tag('transdatefrom') %]
</td>
<th align=right>[% 'Bis' | $T8 %]</th>
......
[% L.date_tag('transdateto') %]
</td>
</tr>
<tr>
<th align=right nowrap>[% 'Due Date' | $T8 %]</th>
<td>
[% 'From' | $T8 %]
[% L.date_tag('duedatefrom') %]
</td>
<th align=right>[% 'Bis' | $T8 %]</th>
<td>
[% L.date_tag('duedateto') %]
</td>
</tr>
[%- IF CT_CUSTOM_VARIABLES.size %]
<tr>

Auch abrufbar als: Unified diff