Revision 54875458
Von Jan Büren vor etwa 5 Jahren hinzugefügt
SL/AP.pm | ||
---|---|---|
556 | 556 |
$where .= " AND a.transdate <= ?"; |
557 | 557 |
push(@values, trim($form->{transdateto})); |
558 | 558 |
} |
559 |
if ($form->{duedatefrom}) { |
|
560 |
$where .= " AND a.duedate >= ?"; |
|
561 |
push(@values, trim($form->{duedatefrom})); |
|
562 |
} |
|
563 |
if ($form->{duedateto}) { |
|
564 |
$where .= " AND a.duedate <= ?"; |
|
565 |
push(@values, trim($form->{duedateto})); |
|
566 |
} |
|
559 | 567 |
if ($form->{open} || $form->{closed}) { |
560 | 568 |
unless ($form->{open} && $form->{closed}) { |
561 | 569 |
$where .= " AND a.amount <> a.paid" if ($form->{open}); |
templates/webpages/ap/search.html | ||
---|---|---|
49 | 49 |
[% L.date_tag('transdateto') %] |
50 | 50 |
</td> |
51 | 51 |
</tr> |
52 |
<tr> |
|
53 |
<th align=right nowrap>[% 'Due Date' | $T8 %]</th> |
|
54 |
<td> |
|
55 |
[% L.date_tag('duedatefrom') %] |
|
56 |
[% 'Bis' | $T8 %] |
|
57 |
[% L.date_tag('duedateto') %] |
|
58 |
</td> |
|
59 |
</tr> |
|
52 | 60 |
<input type=hidden name=sort value=transdate> |
53 | 61 |
</table> |
54 | 62 |
</td> |
Auch abrufbar als: Unified diff
Einkaufsrechnung -> Suche. Fälligkeitsdatum als Suchfilter hinzugefügt