From: Bernd Bleßmann Date: Mon, 21 Feb 2022 13:33:30 +0000 (+0100) Subject: Vorgangsbezeichnung in Debitorenbuchung: Speichern und Laden X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~132 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=76ed70e1568a63f94218173545024691470ba096;p=kivitendo-erp.git Vorgangsbezeichnung in Debitorenbuchung: Speichern und Laden --- diff --git a/SL/AR.pm b/SL/AR.pm index 63ea45c81..148edd2d3 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -138,14 +138,15 @@ sub _post_transaction { currency_id = (SELECT id FROM currencies WHERE name = ?), netamount = ?, notes = ?, department_id = ?, employee_id = ?, storno = ?, storno_id = ?, globalproject_id = ?, - direct_debit = ? + direct_debit = ?, transaction_description = ? WHERE id = ?|; my @values = ($form->{invnumber}, $form->{ordnumber}, conv_date($form->{transdate}), conv_i($form->{customer_id}), $form->{taxincluded} ? 't' : 'f', $form->{amount}, conv_date($form->{duedate}), conv_date($form->{deliverydate}), conv_date($form->{tax_point}), $form->{paid}, $form->{currency}, $form->{netamount}, $form->{notes}, conv_i($form->{department_id}), conv_i($form->{employee_id}), $form->{storno} ? 't' : 'f', $form->{storno_id}, - conv_i($form->{globalproject_id}), $form->{direct_debit} ? 't' : 'f', conv_i($form->{id})); + conv_i($form->{globalproject_id}), $form->{direct_debit} ? 't' : 'f', $form->{transaction_description}, + conv_i($form->{id})); do_query($form, $dbh, $query, @values); # add individual transactions for AR, amount and taxes diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index 1b691ab07..fbd76c4d2 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -109,6 +109,10 @@ [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %] [% END %] + + [% 'Transaction description' | $T8 %] + [% L.input_tag("transaction_description", transaction_description, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %] + [% L.checkbox_tag('taxincluded', checked=taxincluded) %]