Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 061e94fe

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 061e94fefda06b6aa0275b43debab9db73fca226
  • Vorgänger b254ba33
  • Nachfolger 26f9b1a8

SEPA-Masken: Eingabefeldern passend zu XML-Spezifikation in Länge beschränken

Unterschiede anzeigen:

templates/webpages/sepa/bank_transfer_add.html
72 72
      <td align="right">[% LxERP.format_amount(invoice.invoice_amount, -2) %]</td>
73 73
      <td align="right">[% LxERP.format_amount(invoice.open_amount, -2) %]</td>
74 74
      <td align="right">[% invoice.duedate %]</td>
75
      <td><input name="bank_transfers[].reference" value="[% HTML.escape(invoice.reference_prefix _ invoice.invnumber) %]"></td>
75
      <td>
76
       [%- SET reference = invoice.reference_prefix _ invoice.invnumber %]
77
       <input name="bank_transfers[].reference" value="[% HTML.escape(reference.substr(0, 140)) %]" maxlength="140" size="60">
78
      </td>
76 79
      <td align="right">
77
       <input name="bank_transfers[].amount" value="[% LxERP.format_amount(invoice.invoice_amount, -2) %]" style="text-align: right">
80
       <input name="bank_transfers[].amount" value="[% LxERP.format_amount(invoice.invoice_amount, -2) %]" style="text-align: right" size="12">
78 81
      </td>
79 82
     </tr>
80 83
    [%- END %]
templates/webpages/sepa/bank_transfer_create.html
56 56
      <input type="hidden" name="vc_bank_info[].name" value="[% HTML.escape(vbi.name) %]">
57 57
      [% HTML.escape(vbi.name) %]
58 58
     </td>
59
     <td><input name="vc_bank_info[].iban" size="20" value="[% HTML.escape(vbi.iban) %]"></td>
60
     <td><input name="vc_bank_info[].bic" size="20" value="[% HTML.escape(vbi.bic) %]"></td>
59
     <td><input name="vc_bank_info[].iban" size="34" value="[% HTML.escape(vbi.iban.substr(0, 34)) %]" maxlength="34"></td>
60
     <td><input name="vc_bank_info[].bic" size="20" value="[% HTML.escape(vbi.bic.substr(0, 20)) %]" maxlength="20"></td>
61 61
     <td><input name="vc_bank_info[].bank" size="30" value="[% HTML.escape(vbi.bank) %]"></td>
62 62
    </tr>
63 63
    [%- END %]
......
101 101

  
102 102
      <td align="right">[% LxERP.format_amount(bank_transfer.invoice_amount, -2) %]</td>
103 103
      <td align="right">[% LxERP.format_amount(bank_transfer.open_amount, -2) %]</td>
104
      <td><input name="bank_transfers[].reference" value="[% HTML.escape(bank_transfer.reference) %]"></td>
105
      <td align="right"><input name="bank_transfers[].amount" value="[% LxERP.format_amount(bank_transfer.amount, -2) %]" style="text-align: right"></td>
104
      <td>
105
       <input name="bank_transfers[].reference" value="[% HTML.escape(bank_transfer.reference.substr(0, 140)) %]" size="60" maxlength="140">
106
      </td>
107
      <td align="right"><input name="bank_transfers[].amount" value="[% LxERP.format_amount(bank_transfer.amount, -2) %]" style="text-align: right" size="12"></td>
106 108
      <td nowrap>
107 109
        [% L.date_tag('requested_execution_date_'_ loop.count, bank_transfer.requested_execution_date) %]
108 110
      </td>
......
123 125
  <input type="hidden" name="vc" value="[%- HTML.escape(vc) %]">
124 126
  <input type="hidden" name="confirmation" value="1">
125 127
 </form>
126

  

Auch abrufbar als: Unified diff