]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/ap/form_header.html
Kreditorenbuchungen: In Kopf anzeigen, in welchen SEPA-Exporten der Beleg enthalten ist
[mfinanz.git] / templates / webpages / ap / form_header.html
index 8fbd9c799048328094971b35e955a7ca58b8085d..8720c73408a1d092e2a004c09ff6139351c3c0ee 100644 (file)
               </tr>
 
               <tr>
-                <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 %]
                 </td>
               </tr>
+[%- END %]
 
               <tr>
                 <th align="right" nowrap>[% 'Currency' | $T8 %]</th>