projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kunden-/Lieferantenstammdaten: Kontoinhaber und Mandanten-ID bearbeiten können
[kivitendo-erp.git]
/
templates
/
webpages
/
sepa
/
bank_transfer_edit.html
diff --git
a/templates/webpages/sepa/bank_transfer_edit.html
b/templates/webpages/sepa/bank_transfer_edit.html
index
f8eab58
..
589b358
100644
(file)
--- a/
templates/webpages/sepa/bank_transfer_edit.html
+++ b/
templates/webpages/sepa/bank_transfer_edit.html
@@
-11,7
+11,6
@@
[% SET arap = 'ar' %]
[% SET iris = 'is' %]
[%- END %]
[% SET arap = 'ar' %]
[% SET iris = 'is' %]
[%- END %]
-<body>
<p><div class="listtop">[% title %]: [% HTML.escape(export.ids.join(', ')) %]</div></p>
<p><div class="listtop">[% title %]: [% HTML.escape(export.ids.join(', ')) %]</div></p>
@@
-34,6
+33,9
@@
<th class="listheading" colspan="2">[% 'Source bank account' | $T8 %]</th>
[%- END %]
<th class="listheading" align="right">[% 'Amount' | $T8 %]</th>
<th class="listheading" colspan="2">[% 'Source bank account' | $T8 %]</th>
[%- END %]
<th class="listheading" align="right">[% 'Amount' | $T8 %]</th>
+ [% IF vc == 'customer' %]
+ <th class="listheading" align="right">[% 'Mandator ID' | $T8 %]</th>
+ [%- END %]
<th class="listheading">[% 'Reference' | $T8 %]</th>
<th class="listheading" align="right">[% 'Requested execution date' | $T8 %]</th>
<th class="listheading" align="right">[% 'Execution date' | $T8 %]</th>
<th class="listheading">[% 'Reference' | $T8 %]</th>
<th class="listheading" align="right">[% 'Requested execution date' | $T8 %]</th>
<th class="listheading" align="right">[% 'Execution date' | $T8 %]</th>
@@
-45,9
+47,9
@@
<th class="listheading">[% 'IBAN' | $T8 %]</th>
<th class="listheading">[% 'BIC' | $T8 %]</th>
[%- IF show_post_payments_button %]
<th class="listheading">[% 'IBAN' | $T8 %]</th>
<th class="listheading">[% 'BIC' | $T8 %]</th>
[%- IF show_post_payments_button %]
- <th class="listheading" colspan="
3
"> </th>
+ <th class="listheading" colspan="
[% IF vc == 'customer' %]4[% ELSE %]3[% END %]
"> </th>
<th class="listheading">
<th class="listheading">
- [% L.date_tag('set_all_execution_date') %]
+ [% L.date_tag('set_all_execution_date'
, '', onchange='set_all_execution_date_fields(this);'
) %]
</th>
[%- ELSE %]
<th class="listheading" colspan="4"> </th>
</th>
[%- ELSE %]
<th class="listheading" colspan="4"> </th>
@@
-74,6
+76,9
@@
<td>[% HTML.escape(item.vc_iban) %]</td>
<td>[% HTML.escape(item.vc_bic) %]</td>
<td align="right">[% HTML.escape(LxERP.format_amount(item.amount, 2)) %]</td>
<td>[% HTML.escape(item.vc_iban) %]</td>
<td>[% HTML.escape(item.vc_bic) %]</td>
<td align="right">[% HTML.escape(LxERP.format_amount(item.amount, 2)) %]</td>
+ [% IF vc == 'customer' %]
+ <td>[% HTML.escape(item.mandator_id) %]</td>
+ [%- END %]
<td>[% HTML.escape(item.reference) %]</td>
<td align="right">[% HTML.escape(item.requested_execution_date) %]</td>
<td align="right" nowrap>
<td>[% HTML.escape(item.reference) %]</td>
<td align="right">[% HTML.escape(item.requested_execution_date) %]</td>
<td align="right" nowrap>
@@
-97,23
+102,17
@@
<input type="submit" class="submit" name="action_bank_transfer_post_payments" value="[% 'Post payments' | $T8 %]">
</p>
<input type="submit" class="submit" name="action_bank_transfer_post_payments" value="[% 'Post payments' | $T8 %]">
</p>
- <script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
<!--
<script type="text/javascript">
<!--
- function set_all_execution_date_fields() {
- var new_date = $(
'#set_all_execution_date').attr('value'
);
+ function set_all_execution_date_fields(
input
) {
+ var new_date = $(
input).val(
);
$('INPUT[name="items[].execution_date"]').each(function() {
$('INPUT[name="items[].execution_date"]').each(function() {
- $(this).
attr('value',
new_date);
+ $(this).
val(
new_date);
});
}
});
}
- $(document).ready(function() {
- $("#select_all").click(function() {
- var checked = $(this).attr('checked');
- $('INPUT[name="items[].selected"]').each(function() {
- $(this).attr('checked', checked);
- });
- });
+ $(function() {
+ $("#select_all").checkall('INPUT[name="items[].selected"]');
});
-->
</script>
});
-->
</script>
@@
-133,4
+132,3
@@
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
</form>
<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
</form>
-