Revision caaa17be
Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt
SL/AP.pm | ||
---|---|---|
142 | 142 |
transdate = ?, ordnumber = ?, vendor_id = ?, taxincluded = ?, |
143 | 143 |
amount = ?, duedate = ?, deliverydate = ?, tax_point = ?, paid = ?, netamount = ?, |
144 | 144 |
currency_id = (SELECT id FROM currencies WHERE name = ?), notes = ?, department_id = ?, storno = ?, storno_id = ?, |
145 |
globalproject_id = ?, direct_debit = ?, payment_id = ? |
|
145 |
globalproject_id = ?, direct_debit = ?, payment_id = ?, transaction_description = ?
|
|
146 | 146 |
WHERE id = ?|; |
147 | 147 |
@values = ($form->{invnumber}, conv_date($form->{transdate}), |
148 | 148 |
$form->{ordnumber}, conv_i($form->{vendor_id}), |
... | ... | |
153 | 153 |
conv_i($form->{department_id}), $form->{storno}, |
154 | 154 |
$form->{storno_id}, conv_i($form->{globalproject_id}), |
155 | 155 |
$form->{direct_debit} ? 't' : 'f', |
156 |
conv_i($form->{payment_id}), |
|
156 |
conv_i($form->{payment_id}), $form->{transaction_description},
|
|
157 | 157 |
$form->{id}); |
158 | 158 |
do_query($form, $dbh, $query, @values); |
159 | 159 |
|
SL/Form.pm | ||
---|---|---|
2525 | 2525 |
a.mtime, a.itime, |
2526 | 2526 |
a.intnotes, a.department_id, a.amount AS oldinvtotal, |
2527 | 2527 |
a.paid AS oldtotalpaid, a.employee_id, a.gldate, a.type, |
2528 |
a.globalproject_id, ${extra_columns} |
|
2528 |
a.globalproject_id, a.transaction_description, ${extra_columns}
|
|
2529 | 2529 |
c.name AS $table, |
2530 | 2530 |
d.description AS department, |
2531 | 2531 |
e.name AS employee |
bin/mozilla/ap.pl | ||
---|---|---|
1248 | 1248 |
$::form->{globalproject_id} = $order->globalproject_id; |
1249 | 1249 |
$::form->{ordnumber} = $order->number; |
1250 | 1250 |
$::form->{department_id} = $order->department_id; |
1251 |
$::form->{transaction_description} = $order->transaction_description; |
|
1251 | 1252 |
$::form->{currency} = $order->currency->name; |
1252 | 1253 |
$::form->{taxincluded} = 1; # we use amount below, so tax is included |
1253 | 1254 |
$::form->{transdate} = $today->to_kivitendo; |
templates/webpages/ap/form_header.html | ||
---|---|---|
138 | 138 |
</tr> |
139 | 139 |
[% END %] |
140 | 140 |
|
141 |
<tr> |
|
142 |
<th align="right">[% 'Transaction description' | $T8 %]</th> |
|
143 |
<td colspan="3">[% L.input_tag("transaction_description", transaction_description, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]</td> |
|
144 |
</tr> |
|
141 | 145 |
<tr> |
142 | 146 |
<td align="right"><input name="taxincluded" class="checkbox" type="checkbox" value="1" [% IF ( taxincluded ) %]checked[% END %]></td> |
143 | 147 |
<th align=left nowrap>[% 'Tax Included' | $T8 %]</th> |
Auch abrufbar als: Unified diff
Vorgangsbezeichnung in Kreditorenbuchung: Speichern, Laden, Workflow