X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d333cdb7d855b572e138acfecfad31bcdb2e8440..eccf9705304dd80c9ed3e65704555603c49e4a26:/SL/AP.pm diff --git a/SL/AP.pm b/SL/AP.pm index 01f7e9b4c..a77906c96 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -450,7 +450,7 @@ sub ap_transactions { qq|SELECT a.id, a.invnumber, a.transdate, a.duedate, a.amount, a.paid, | . qq| a.ordnumber, v.name, a.invoice, a.netamount, a.datepaid, a.notes, | . qq| a.globalproject_id, a.storno, a.storno_id, a.direct_debit, | . - qq| a.transaction_description, | . + qq| a.transaction_description, a.itime::DATE AS insertdate, | . qq| pr.projectnumber AS globalprojectnumber, | . qq| e.name AS employee, | . qq| v.vendornumber, v.country, v.ustid, | . @@ -546,7 +546,7 @@ sub ap_transactions { push(@values, like($form->{transaction_description})); } if ($form->{notes}) { - $where .= " AND lower(a.notes) LIKE ?"; + $where .= " AND a.notes ILIKE ?"; push(@values, like($form->{notes})); } if ($form->{project_id}) {