- <td></td>
- <td colspan="3">
- <table width="100%">
- <tr>
- <th align="left" nowrap>[% 'Credit Limit' | $T8 %]</th>
- <td>[% creditlimit | html %]</td>
- <th align="left" nowrap>[% 'Remaining' | $T8 %]</th>
- <td class="plus[% creditremaining_plus %]">[% creditremaining | html %]</td>
- </tr>
- </table>
+ <th align="right" valign="top">[% LxERP.t8("Credit Limit") %]</th>
+ <td>
+ [% creditlimit | html %];
+ [% LxERP.t8("Remaining") %]
+ <span class="plus[% creditremaining_plus %]">[% creditremaining | html %]</span>
+ </td>
+ </tr>
+
+[%- IF invoice_obj.sepa_exports.as_list.size %]
+ <tr>
+ <th align="right">[% LxERP.t8("SEPA exports") %]</th>
+ <td>
+ [% FOREACH export = invoice_obj.sepa_exports.as_list %]
+ <a href="sepa.pl?action=bank_transfer_edit&vc=vendor&id=[% HTML.url(export.id) %]">[% HTML.escape(export.id) %]</a>
+ [% UNLESS loop.last %], [% END %]
+ [% END %]