projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GLN: neue Spalte bei customer, vendor und shipto; DB-Upgrade-Skript u. Rose
[kivitendo-erp.git]
/
templates
/
webpages
/
is
/
_payments.html
diff --git
a/templates/webpages/is/_payments.html
b/templates/webpages/is/_payments.html
index
e0da4e1
..
ffab321
100644
(file)
--- a/
templates/webpages/is/_payments.html
+++ b/
templates/webpages/is/_payments.html
@@
-18,6
+18,7
@@
<th>[%- 'Source' | $T8 %]</th>
<th>[%- 'Memo' | $T8 %]</th>
<th>[%- 'Amount' | $T8 %]</th>
<th>[%- 'Source' | $T8 %]</th>
<th>[%- 'Memo' | $T8 %]</th>
<th>[%- 'Amount' | $T8 %]</th>
+ <th></th>
[% IF show_exchangerate %]
<th>[%- 'Exch' | $T8 %]</th>
[% END %]
[% IF show_exchangerate %]
<th>[%- 'Exch' | $T8 %]</th>
[% END %]
@@
-77,6
+78,11
@@
[% LxERP.format_amount($paid, 2, 1) %]
[% END %]
</td>
[% LxERP.format_amount($paid, 2, 1) %]
[% END %]
</td>
+ <td>
+ [% IF $changeable && loop.last && paid_missing > 0 %]
+ <input type='button' id='is_set_to_paid_missing' value='[% 'Set to paid missing' | $T8 %]'>
+ [% END %]
+ </td>
[% IF show_exchangerate %]
<td align="center">
[% IF show_exchangerate %]
<td align="center">
@@
-144,3
+150,6
@@
</td>
</tr>
</td>
</tr>
+ <script type='text/javascript'>
+ $('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') });
+ </script>