From: G. Richardson Date: Tue, 14 Jun 2016 13:27:05 +0000 (+0200) Subject: Payment Helper kann project_id als Param verarbeiten X-Git-Tag: release-3.5.4~2228 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2d8e82acef3633fc1a02bf2a78632400fc9ea862;p=kivitendo-erp.git Payment Helper kann project_id als Param verarbeiten --- diff --git a/SL/DB/Helper/Payment.pm b/SL/DB/Helper/Payment.pm index ed959718d..42bf4c263 100644 --- a/SL/DB/Helper/Payment.pm +++ b/SL/DB/Helper/Payment.pm @@ -153,6 +153,7 @@ sub pay_invoice { transdate => $transdate_obj, source => $source, memo => $memo, + project_id => $params{project_id} ? $params{project_id} : undef, taxkey => 0, tax_id => SL::DB::Manager::Tax->find_by(taxkey => 0)->id); $new_acc_trans->save; @@ -792,6 +793,7 @@ Example: memo => 'foobar', source => 'barfoo', payment_type => 'without_skonto', # default if not specified + project_id => 25, ); or with skonto: