X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8b5bed7fe52952d9c09b3cc18ef483f6670a78d0..e21e2190c9f3b2ff969b7e4159db284c35dd20b1:/bin/mozilla/ap.pl diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 8e9e4cae1..8f06776a1 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -130,6 +130,7 @@ sub load_record_template { $::form->{currency} = $template->currency->name; $::form->{direct_debit} = $template->direct_debit; $::form->{globalproject_id} = $template->project_id; + $::form->{payment_id} = $template->payment_id; $::form->{AP_chart_id} = $template->ar_ap_chart_id; $::form->{transdate} = $today->to_kivitendo; $::form->{duedate} = $today->to_kivitendo; @@ -213,6 +214,7 @@ sub save_record_template { vendor_id => $::form->{vendor_id} || undef, department_id => $::form->{department_id} || undef, project_id => $::form->{globalproject_id} || undef, + payment_id => $::form->{payment_id} || undef, taxincluded => $::form->{taxincluded} ? 1 : 0, direct_debit => $::form->{direct_debit} ? 1 : 0, ordnumber => $::form->{ordnumber},