X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAP.pm;h=e21eb13ea3c43def31532cfce0471757a44dd04c;hb=0bd2b1386aa46b03e553610808d244572d7ac03f;hp=9565283172f8a2b55eae4e55c59c0f15eb859b9f;hpb=baceb8e5ce8ee53a5bd81db430ba46e9606b5ca5;p=kivitendo-erp.git diff --git a/SL/AP.pm b/SL/AP.pm index 956528317..e21eb13ea 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -450,6 +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| pr.projectnumber AS globalprojectnumber, | . qq| e.name AS employee, | . qq| v.vendornumber, v.country, v.ustid, | . @@ -533,6 +534,10 @@ sub ap_transactions { $where .= " AND a.ordnumber ILIKE ?"; push(@values, like($form->{ordnumber})); } + if ($form->{transaction_description}) { + $where .= " AND a.transaction_description ILIKE ?"; + push(@values, like($form->{transaction_description})); + } if ($form->{notes}) { $where .= " AND lower(a.notes) LIKE ?"; push(@values, like($form->{notes}));