Revision b0eb18bf
Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt
templates/webpages/ar/form_header.html | ||
---|---|---|
202 | 202 |
<th>[% 'Source' | $T8 %]</th> |
203 | 203 |
<th>[% 'Memo' | $T8 %]</th> |
204 | 204 |
<th>[% 'Amount' | $T8 %]</th> |
205 |
<th></th> |
|
205 | 206 |
[%- IF show_exch %] |
206 | 207 |
<th>[% 'Exch' | $T8 %]</th> |
207 | 208 |
[%- END %] |
... | ... | |
239 | 240 |
[% row.paid | html %]<input type=hidden name="paid_[% loop.count %]" value="[% row.paid ? LxERP.format_amount(row.paid, 2) : '' | html %]"> |
240 | 241 |
[%- END %] |
241 | 242 |
</td> |
243 |
<td> |
|
244 |
[% IF row.changeable && loop.last && paid_missing > 0 %] |
|
245 |
<input type="button" id="ar_set_to_paid_missing" value="[% "Set to paid missing" | $T8 %]"> |
|
246 |
[% END %] |
|
247 |
</td> |
|
242 | 248 |
[%- IF show_exch %] |
243 | 249 |
<td align=center> |
244 | 250 |
[%- IF row.forex || !row.changeable%] |
... | ... | |
289 | 295 |
</table> |
290 | 296 |
</div> |
291 | 297 |
</div> |
298 |
|
|
299 |
<script type='text/javascript'> |
|
300 |
$('#ar_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') }); |
|
301 |
</script> |
Auch abrufbar als: Unified diff
Debitoren-/Kreditorenbuchungen: bei Zahlungen per Knopfdruck auf Fehlbetrag setzen