Revision 3d8c8e2f
Von Martin Helmling vor fast 8 Jahren hinzugefügt
bin/mozilla/common.pl | ||
---|---|---|
237 | 237 |
my $callback = build_std_url(qw(action longdescription trans_id_type input_name)); |
238 | 238 |
my $restriction; |
239 | 239 |
if ( $form->{trans_id_type} eq 'glid' ) { |
240 |
$restriction = "AND ( snumbers LIKE 'invnumber%' OR what_done LIKE '%Buchungsnummer%' OR snumbers LIKE 'gltransaction%' ) "; |
|
240 |
$restriction = "AND ( snumbers LIKE 'invnumber%' OR what_done LIKE '%Buchungsnummer%' OR snumbers LIKE 'gltransaction%' OR snumbers LIKE 'emailjournal%' ) ";
|
|
241 | 241 |
} elsif ( $form->{trans_id_type} eq 'id' ) { |
242 |
$restriction = " AND ( snumbers NOT LIKE 'invnumber_%' AND snumbers NOT LIKE 'gltransaction%' AND (what_done NOT LIKE '%Buchungsnummer%' OR what_done IS null))"; |
|
242 |
$restriction = " AND ( snumbers NOT LIKE 'invnumber_%' AND snumbers NOT LIKE 'gltransaction%' AND snumbers NOT LIKE 'emailjournal%' AND (what_done NOT LIKE '%Buchungsnummer%' OR what_done IS null))";
|
|
243 | 243 |
} else { |
244 | 244 |
$restriction = ''; |
245 | 245 |
}; |
Auch abrufbar als: Unified diff
Link History zu EmailJournal
Einträge in History mit addition MAILED haben nun nicht die Rechnungsnummer sondern die ID des Emailjournals
in snumber stehen, also emailjournal_${journal_id}