Revision 4800abb9
Von Moritz Bunkus vor etwa 8 Jahren hinzugefügt
SL/AR.pm | ||
---|---|---|
$where .= " AND NOT invoice = 'f' "; # remove ar transactions from Sales -> Reports -> Invoices
|
||
};
|
||
|
||
if ($form->{customernumber}) {
|
||
$where .= " AND c.customernumber = ?";
|
||
push(@values, trim($form->{customernumber}));
|
||
}
|
||
if ($form->{customer_id}) {
|
||
$where .= " AND a.customer_id = ?";
|
||
push(@values, $form->{customer_id});
|
||
} elsif ($form->{customer}) {
|
||
if ($form->{customer}) {
|
||
$where .= " AND c.name ILIKE ?";
|
||
push(@values, like($form->{customer}));
|
||
}
|
Auch abrufbar als: Unified diff
Verkaufsrechnungssuche: keine Multibox mehr nutzen