Revision b0eb18bf
Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt
templates/webpages/ap/form_header.html | ||
---|---|---|
268 | 268 |
<th>[% 'Source' | $T8 %]</th> |
269 | 269 |
<th>[% 'Memo' | $T8 %]</th> |
270 | 270 |
<th>[% 'Amount' | $T8 %]</th> |
271 |
<th></th> |
|
271 | 272 |
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] |
272 | 273 |
<th>[% 'Exch' | $T8 %]</th> |
273 | 274 |
[% END %] |
... | ... | |
320 | 321 |
[% END %] |
321 | 322 |
</td> |
322 | 323 |
|
324 |
<td> |
|
325 |
[% IF changeable && loop.last && paid_missing > 0 %] |
|
326 |
<input type="button" id="ap_set_to_paid_missing" value="[% "Set to paid missing" | $T8 %]"> |
|
327 |
[% END %] |
|
328 |
</td> |
|
329 |
|
|
323 | 330 |
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] |
324 | 331 |
<td align="center"> |
325 | 332 |
[% temp = "exchangerate_"_ i %] |
... | ... | |
377 | 384 |
</table> |
378 | 385 |
</div> |
379 | 386 |
</div> |
387 |
|
|
388 |
<script type='text/javascript'> |
|
389 |
$('#ap_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') }); |
|
390 |
</script> |
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