Factur-X/ZUGFeRD: neues Feld »Unsere Leitweg-ID beim Kunden« in Kundenstammdaten
[kivitendo-erp.git] / templates / webpages / customer_vendor / tabs / bank.html
index 878a928..99608bb 100644 (file)
         [% L.input_tag('cv.depositor', SELF.cv.depositor, size = 20) %]
       </td>
 
+    [%- IF ( SELF.is_customer ) %]
       <th align="right">[% 'Mandator ID' | $T8 %]</th>
       <td>
         [% L.input_tag('cv.mandator_id', SELF.cv.mandator_id, size = 20) %]
       </td>
+
+      <th align="right">[% 'Mandate Date of Signature' | $T8 %]</th>
+      <td>
+        [% L.date_tag('cv.mandate_date_of_signature', SELF.cv.mandate_date_of_signature) %]
+      </td>
+    [%- END %]
     </tr>
 
     <tr>
       <th align="right">[% 'IBAN' | $T8 %]</th>
 
       <td>
-        [% L.input_tag('cv.iban', SELF.cv.iban, size = 34, maxlength = 100) %]
+        [% L.input_tag('cv.iban', SELF.cv.iban, size = 34) %]
       </td>
 
 
       <th align="right">[% 'BIC' | $T8 %]</th>
       <td>
-        [% L.input_tag('cv.bic', SELF.cv.bic, size = 20, maxlength = 100) %]
+        [% L.input_tag('cv.bic', SELF.cv.bic, size = 20) %]
       </td>
 
       <th align="right">[% 'Bank' | $T8 %]</th>
       <th align="right">[% 'Account Number' | $T8 %]</th>
 
       <td>
-        [% L.input_tag('cv.account_number', SELF.cv.account_number, size = 20, maxlength = 100) %]
+        [% L.input_tag('cv.account_number', SELF.cv.account_number, size = 20) %]
       </td>
 
 
       <th align="right">[% 'Bank Code Number' | $T8 %]</th>
 
       <td>
-        [% L.input_tag('cv.bank_code', SELF.cv.bank_code, size = 20, maxlength = 100) %]
+        [% L.input_tag('cv.bank_code', SELF.cv.bank_code, size = 20) %]
       </td>
     </tr>
   </table>