projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
weitere umstrukturierung
[kivitendo-erp.git]
/
templates
/
webpages
/
sepa
/
bank_transfer_add.html
diff --git
a/templates/webpages/sepa/bank_transfer_add.html
b/templates/webpages/sepa/bank_transfer_add.html
index
0954d1d
..
fe2d441
100644
(file)
--- a/
templates/webpages/sepa/bank_transfer_add.html
+++ b/
templates/webpages/sepa/bank_transfer_add.html
@@
-9,7
+9,6
@@
[% SET arap = 'ar' %]
[% SET iris = 'is' %]
[%- END %]
[% SET arap = 'ar' %]
[% SET iris = 'is' %]
[%- END %]
-<body>
<p><div class="listtop">[% title %]</div></p>
<p><div class="listtop">[% title %]</div></p>
@@
-48,12
+47,12
@@
<tr class="listrow[% loop.count % 2 %]">
<td align="center">
[%- IF invoice.vc_bank_info_ok %]
<tr class="listrow[% loop.count % 2 %]">
<td align="center">
[%- IF invoice.vc_bank_info_ok %]
- <input type="checkbox" name="bank_transfers[].selected" value="1">
+ <input type="checkbox" name="bank_transfers[].selected" value="1"
[% IF invoice.checked %] checked[% END %]
>
[%- END %]
</td>
<td>
[%- IF loop.first || (previous_vcname != invoice.vcname) %]
[%- END %]
</td>
<td>
[%- IF loop.first || (previous_vcname != invoice.vcname) %]
- <a href="c
t.pl?action=
edit&db=[% vc %]&id=[% HTML.url(invoice.vc_id) %]&callback=[% HTML.url('sepa.pl?action=bank_transfer_add&vc=' _ vc) %]">
+ <a href="c
ontroller.pl?action=CustomerVendor/
edit&db=[% vc %]&id=[% HTML.url(invoice.vc_id) %]&callback=[% HTML.url('sepa.pl?action=bank_transfer_add&vc=' _ vc) %]">
[%- GET HTML.escape(invoice.vcname);
SET previous_vcname = invoice.vcname;
IF !invoice.vc_bank_info_ok;
[%- GET HTML.escape(invoice.vcname);
SET previous_vcname = invoice.vcname;
IF !invoice.vc_bank_info_ok;
@@
-73,9
+72,12
@@
<td align="right">[% LxERP.format_amount(invoice.invoice_amount, -2) %]</td>
<td align="right">[% LxERP.format_amount(invoice.open_amount, -2) %]</td>
<td align="right">[% invoice.duedate %]</td>
<td align="right">[% LxERP.format_amount(invoice.invoice_amount, -2) %]</td>
<td align="right">[% LxERP.format_amount(invoice.open_amount, -2) %]</td>
<td align="right">[% invoice.duedate %]</td>
- <td><input name="bank_transfers[].reference" value="[% HTML.escape(invoice.invnumber) %]"></td>
+ <td>
+ [%- SET reference = invoice.reference_prefix _ invoice.invnumber %]
+ <input name="bank_transfers[].reference" value="[% HTML.escape(reference.substr(0, 140)) %]" maxlength="140" size="60">
+ </td>
<td align="right">
<td align="right">
- <input name="bank_transfers[].amount" value="[% LxERP.format_amount(invoice.invoice_amount, -2) %]" style="text-align: right">
+ <input name="bank_transfers[].amount" value="[% LxERP.format_amount(invoice.invoice_amount, -2) %]" style="text-align: right"
size="12"
>
</td>
</tr>
[%- END %]
</td>
</tr>
[%- END %]
@@
-101,19
+103,10
@@
<input type="hidden" name="vc" value="[%- HTML.escape(vc) %]">
</form>
<input type="hidden" name="vc" value="[%- HTML.escape(vc) %]">
</form>
- <script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
<!--
<script type="text/javascript">
<!--
- $(document).ready(function() {
- $("#select_all").click(function() {
- var checked = $(this).attr('checked');
- $('INPUT[name="bank_transfers[].selected"]').each(function() {
- $(this).attr('checked', checked);
- });
- });
+ $(function() {
+ $("#select_all").checkall('INPUT[name="bank_transfers[].selected"]');
});
-->
</script>
});
-->
</script>
-
-</body>
-</html>